openbsd-ports/x11/gnome/themes-standard/Makefile
ajacoutot 8f4dc25866 Don't redirect errors to /dev/null and don't return true(1)
unconditionally. Instead, don't check for the existence of index.theme.
This will allow us to catch errors that may be happening because of a
missing dependency in the chain.

Some hidden issues may appear, in which case please contact me.

discussed with and ok blind jasper@
2012-06-15 08:30:18 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.29 2012/06/15 08:30:20 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= standard GNOME themes
GNOME_PROJECT= gnome-themes-standard
GNOME_VERSION= 3.4.2
REVISION= 0
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo cairo-gobject
WANTLIB += croco-0.6 drm expat ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread-stubs rsvg-2 xcb xcb-render xcb-shm
WANTLIB += xml2 z stdc++
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= x11/gtk+3>=3.3.18 \
x11/gnome/librsvg
MODGNOME_ICON_CACHE= Yes
# As explained here:
# https://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00017.html
# we need to depend on gtk-engines2 in order for the gtk2 themes to work.
RUN_DEPENDS+= x11/gtk-engines2
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS= --disable-static
# set the global cursor theme
# https://bugzilla.gnome.org/show_bug.cgi?id=660353
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/default
${INSTALL_DATA} ${FILESDIR}/index.theme \
${PREFIX}/share/icons/default
.include <bsd.port.mk>