aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/adwaita-icon-theme/files/patch-meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/adwaita-icon-theme/files/patch-meson.build')
-rw-r--r--x11-themes/adwaita-icon-theme/files/patch-meson.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-themes/adwaita-icon-theme/files/patch-meson.build b/x11-themes/adwaita-icon-theme/files/patch-meson.build
new file mode 100644
index 000000000000..232cf4880e22
--- /dev/null
+++ b/x11-themes/adwaita-icon-theme/files/patch-meson.build
@@ -0,0 +1,26 @@
+--- meson.build.orig 2024-09-16 09:15:17 UTC
++++ meson.build
+@@ -5,6 +5,7 @@ pkg.generate(
+ name : 'adwaita-icon-theme',
+ description : 'A collection of icons used as the basis for GNOME themes',
+ dataonly : true,
++ install_dir : get_option('prefix') / 'libdata' / 'pkgconfig',
+ )
+
+ licenses_dir = get_option('datadir') / 'licenses' / 'adwaita-icon-theme'
+@@ -91,15 +92,3 @@ endif
+ endforeach
+ endforeach
+ endif
+-
+-gtk_update_icon_cache = find_program(
+- 'gtk4-update-icon-cache',
+- 'gtk-update-icon-cache',
+- required : true,
+-)
+-meson.add_install_script(
+- gtk_update_icon_cache,
+- '-qtf',
+- get_option('prefix') / adwaita_dir,
+- skip_if_destdir: true,
+-)