Skip to content

Commit

Permalink
Bundle gtksourceview-5 directory with macOS app bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed May 30, 2024
1 parent 6b6ea2e commit e631858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ macos: install
function copy_deps() { local file=$$1; local dir=$$2; local deps=$$(otool -L $$file | grep -o "$$($${HOMEBREW_BREW_FILE:-brew} --prefix).*\.dylib" | grep -v $$file); for dep in $$deps; do if [ ! -f "$$dir/$$(basename $$dep)" ]; then cp "$$dep" "$$dir"; copy_deps $$dep $$dir; fi; done }; copy_deps $(contents)/MacOS/dev.geopjr.Tuba $(PREFIX)/lib
cp -R $$($${HOMEBREW_BREW_FILE:-brew} --prefix gtk4)/share/glib-2.0/schemas/* $(PREFIX)/share/glib-2.0/schemas
cp -R $$($${HOMEBREW_BREW_FILE:-brew} --prefix adwaita-icon-theme)/share/icons/Adwaita $(PREFIX)/share/icons
cp -R $$($${HOMEBREW_BREW_FILE:-brew} --prefix gtksourceview5)/share/gtksourceview-5 $(PREFIX)/share
glib-compile-schemas $(PREFIX)/share/glib-2.0/schemas
gtk4-update-icon-cache -f -t $(PREFIX)/share/icons/hicolor
rsvg-convert data/icons/color-nightly.svg -o builddir/color-nightly.png -h 1024 -w 1024
Expand Down

0 comments on commit e631858

Please sign in to comment.