a1b7c39eb5
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@
71 lines
1.9 KiB
Makefile
71 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.60 2012/06/15 08:32:16 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= image viewer and browser for GNOME
|
|
|
|
GNOME_PROJECT= gthumb
|
|
GNOME_VERSION= 3.0.1
|
|
REVISION= 1
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://live.gnome.org/gthumb
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
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 c cairo
|
|
WANTLIB += cairo-gobject drm exiv2 expat ffi fontconfig freetype
|
|
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-keyring
|
|
WANTLIB += gobject-2.0 gstinterfaces-0.10 gstreamer-0.10 gthread-2.0
|
|
WANTLIB += gtk-3 jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += pcre pixman-1 png pthread pthread-stubs rsvg-2 soup-2.4
|
|
WANTLIB += soup-gnome-2.4 stdc++ tiff xcb xcb-render xcb-shm z
|
|
|
|
MODULES= devel/dconf \
|
|
devel/gettext \
|
|
x11/gnome
|
|
|
|
# web albums
|
|
BUILD_DEPENDS += devel/bison
|
|
|
|
LIB_DEPENDS= devel/libsoup,-gnome \
|
|
graphics/exiv2>=0.22 \
|
|
multimedia/gstreamer-0.10/plugins-base \
|
|
x11/gnome/librsvg \
|
|
x11/gtk+3
|
|
RUN_DEPENDS= misc/shared-mime-info
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
MODGNOME_TOOLS= yelp
|
|
MODGNOME_DESKTOP_FILE= Yes
|
|
MODGNOME_ICON_CACHE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
MODGNOME_CPPFLAGS= -I${X11BASE}/include
|
|
MODGNOME_LDFLAGS= -L${X11BASE}/lib -Wl,-rpath,${TRUEPREFIX}/lib/gthumb/extensions
|
|
CONFIGURE_ARGS= --disable-static \
|
|
--disable-libopenraw \
|
|
--disable-libbrasero \
|
|
--enable-libsoup \
|
|
--enable-gnome-keyring \
|
|
--enable-exiv2
|
|
# requires libchamplain >= 0.12.0
|
|
CONFIGURE_ARGS+= --disable-libchamplain
|
|
# requires clutter-gtk >= 1.0.0
|
|
CONFIGURE_ARGS+= --disable-clutter
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/gthumb/extensions/*.la
|
|
|
|
.include <bsd.port.mk>
|