Use MODGNOME_ICON_CACHE and fix gtk-update-icon-cache calls.
I will commit gtk-update-icon-cache by batch now, but I needed this example to be in.
This commit is contained in:
parent
6dcb55953b
commit
19422dfcf1
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.47 2011/10/19 12:59:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.48 2011/12/03 18:45:02 ajacoutot Exp $
|
||||
|
||||
COMMENT= base icon theme for GNOME
|
||||
|
||||
GNOME_PROJECT= gnome-icon-theme
|
||||
GNOME_VERSION= 3.2.1.1
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= x11
|
||||
|
||||
@ -18,15 +18,12 @@ MODULES= x11/gnome
|
||||
|
||||
BUILD_DEPENDS= x11/icon-naming-utils>=0.8.90
|
||||
|
||||
# Rational: except for QT/KDE ports, gtk+2 should already be in the
|
||||
# dependency chain for ports installing share/icons/ files (i.e. no need
|
||||
# to explicitely add it) and if we have svg icons without their png
|
||||
# counterpart and librsvg is not part of the dependency chain then we
|
||||
# explicitely add it.
|
||||
# If we have svg icons without their png counterpart and librsvg is not
|
||||
# part of the dependency chain then we explicitely add it.
|
||||
# gnome-icon-theme is the inherited theme for most icon themes so we
|
||||
# make sure we have gtk-update-icon-cache and can display svg icons.
|
||||
RUN_DEPENDS += x11/gtk+2 \
|
||||
x11/gnome/librsvg
|
||||
MODGNOME_ICON_CACHE= Yes
|
||||
RUN_DEPENDS += x11/gnome/librsvg
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.35 2011/10/19 12:59:07 ajacoutot Exp $
|
||||
@unexec rm -f %D/share/icons/gnome/icon-theme.cache
|
||||
@comment $OpenBSD: PLIST,v 1.36 2011/12/03 18:45:02 ajacoutot Exp $
|
||||
@unexec-delete rm -f %D/share/icons/gnome/icon-theme.cache
|
||||
lib/pkgconfig/gnome-icon-theme.pc
|
||||
share/examples/gnome-icon-theme/
|
||||
share/examples/gnome-icon-theme/gtk-2.0/
|
||||
@ -5895,4 +5895,4 @@ share/icons/gnome/8x8/emblems/emblem-symbolic-link.png
|
||||
share/icons/gnome/8x8/emblems/emblem-synchronizing.png
|
||||
share/icons/gnome/8x8/emblems/emblem-unreadable.png
|
||||
share/icons/gnome/index.theme
|
||||
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/gnome 2> /dev/null || true
|
||||
@exec %D/bin/gtk-update-icon-cache -q %D/share/icons/gnome 2>/dev/null || true
|
||||
|
Loading…
Reference in New Issue
Block a user