diff options
author | prlw1 <prlw1@pkgsrc.org> | 2017-06-14 16:23:09 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2017-06-14 16:23:09 +0000 |
commit | 8dd99e554e1fc3d7fdf0d84d40203778c90bcbe4 (patch) | |
tree | 82615598735fe5be3f7419c4692fccd58adb04ed /graphics/adwaita-icon-theme | |
parent | 7b3176e84991c07b2d32b6b091b7e2b72453cf87 (diff) | |
download | pkgsrc-8dd99e554e1fc3d7fdf0d84d40203778c90bcbe4.tar.gz |
Essentially from OBATA Akio in private mail, June 2015:
Introduce Icon Theme cache handling framework
Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool. Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs. With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.
Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
maintained by gtk3+.
Diffstat (limited to 'graphics/adwaita-icon-theme')
-rw-r--r-- | graphics/adwaita-icon-theme/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/adwaita-icon-theme/Makefile b/graphics/adwaita-icon-theme/Makefile index 8b699746ab1..09744394785 100644 --- a/graphics/adwaita-icon-theme/Makefile +++ b/graphics/adwaita-icon-theme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2016/09/30 13:09:10 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2017/06/14 16:23:09 prlw1 Exp $ DISTNAME= adwaita-icon-theme-3.22.0 CATEGORIES= graphics gnome @@ -26,11 +26,7 @@ PKGCONFIG_OVERRIDE+= adwaita-icon-theme.pc.in # but isn't INSTALLATION_DIRS+= share/icons/Adwaita/96x96/places -FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${LOCALBASE}/bin/gtk-update-icon-cache" -FILES_SUBST+= ICON_THEME_DIR="${LOCALBASE}/share/icons/Adwaita" -INSTALL_TEMPLATES+= ../../graphics/adwaita-icon-theme/files/icon-cache.tmpl -DEINSTALL_TEMPLATES+= ../../graphics/adwaita-icon-theme/files/icon-cache.tmpl -PRINT_PLIST_AWK+= /^share\/icons\/gnome\/icon-theme.cache$$/ { next; } +ICON_THEMES= yes post-install: .for s in 16 22 24 32 48 96 256 |