summaryrefslogtreecommitdiff
path: root/data/icons
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <[email protected]>2022-11-14 20:18:24 +0700
committerraveit65 <[email protected]>2023-04-20 18:07:49 +0200
commit06de02ac5acb699156401bcf48009a670f98033e (patch)
treecf48c8a75f451704d01262d27f9ca406782a82b2 /data/icons
parentbbcbca9eb1240c3493895dbdcf03a4b2c2803d29 (diff)
downloadeom-06de02ac5acb699156401bcf48009a670f98033e.tar.bz2
eom-06de02ac5acb699156401bcf48009a670f98033e.tar.xz
Reduce requirement to meson 0.59
Diffstat (limited to 'data/icons')
-rw-r--r--data/icons/meson.build43
1 files changed, 23 insertions, 20 deletions
diff --git a/data/icons/meson.build b/data/icons/meson.build
index c037657..283abbc 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,30 +1,33 @@
actioniconsdir = pkgdatadir / 'icons' / 'hicolor'
appiconsdir = datadir / 'icons' / 'hicolor'
+foreach size : ['16x16', '22x22', '24x24', '32x32']
+ install_data([
+ size / 'actions/eom-image-collection.png',
+ size / 'actions/slideshow-play.png',
+ ], install_dir: actioniconsdir / size / 'actions')
+endforeach
+
+foreach size : ['16x16', '22x22', '32x32']
+ install_data([
+ size / 'actions/eom-plugin.png',
+ ], install_dir: actioniconsdir / size / 'actions')
+endforeach
+
+install_data('48x48/actions/slideshow-play.png', install_dir: actioniconsdir / '48x48' / 'actions')
+
install_data([
- '16x16/actions/eom-image-collection.png',
- '16x16/actions/eom-plugin.png',
- '16x16/actions/slideshow-play.png',
- '22x22/actions/eom-image-collection.png',
- '22x22/actions/eom-plugin.png',
- '22x22/actions/slideshow-play.png',
- '24x24/actions/eom-image-collection.png',
- '24x24/actions/slideshow-play.png',
- '32x32/actions/eom-image-collection.png',
- '32x32/actions/eom-plugin.png',
- '32x32/actions/slideshow-play.png',
- '48x48/actions/slideshow-play.png',
'scalable/actions/eom-image-collection.svg',
'scalable/actions/eom-plugin.svg',
'scalable/actions/slideshow-play.svg',
-], install_dir: actioniconsdir, preserve_path: true)
+], install_dir: actioniconsdir / 'scalable' / 'actions')
-install_data([
- '16x16/apps/eom.png',
- '22x22/apps/eom.png',
- '24x24/apps/eom.png',
- '32x32/apps/eom.png',
- 'scalable/apps/eom.svg',
-], install_dir: appiconsdir, preserve_path: true)
+foreach size : ['16x16', '22x22', '24x24', '32x32']
+ install_data([
+ size / 'apps/eom.png',
+ ], install_dir: appiconsdir / size / 'apps')
+endforeach
+
+install_data(['scalable/apps/eom.svg'], install_dir: appiconsdir / 'scalable' / 'apps')
meson.add_install_script(find_program('gtk-update-icon-cache'), '-f', '-t', appiconsdir, skip_if_destdir: true)