Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / collision / make.patch
blob73872a789278ffa71c7bd684632f4be73dc16f2f
1 --- a/Makefile 2023-07-09 10:49:31.064190374 +0300
2 +++ b/Makefile 2023-07-19 11:19:37.415480179 +0300
3 @@ -6,7 +6,7 @@
4 all: desktop bindings build
6 bindings:
7 - ./bin/gi-crystal || $(CRYSTAL_LOCATION)shards install && ./bin/gi-crystal
8 + gi-crystal
10 build:
11 COLLISION_LOCALE_LOCATION="$(PREFIX)$(LOCALE_LOCATION)" $(CRYSTAL_LOCATION)shards build -Dpreview_mt --release --no-debug
12 @@ -43,7 +43,7 @@
13 install -D -m 0644 data/dev.geopjr.Collision.desktop $(PREFIX)/share/applications/dev.geopjr.Collision.desktop
14 install -D -m 0644 data/icons/dev.geopjr.Collision.svg $(PREFIX)/share/icons/hicolor/scalable/apps/dev.geopjr.Collision.svg
15 install -D -m 0644 data/icons/dev.geopjr.Collision-symbolic.svg $(PREFIX)/share/icons/hicolor/symbolic/apps/dev.geopjr.Collision-symbolic.svg
16 - gtk-update-icon-cache $(PREFIX)/share/icons/hicolor
17 + gtk4-update-icon-cache --ignore-theme-index $(PREFIX)/share/icons/hicolor
18 glib-compile-schemas $(PREFIX)/share/glib-2.0/schemas/
20 uninstall: