openbsd-ports/graphics/shotwell/Makefile
ajacoutot a1b7c39eb5 gtk-update-icon-cache:
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:32:14 +00:00

64 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2012/06/15 08:32:16 ajacoutot Exp $
# needs to allocate 512M
VMEM_WARNING = Yes
COMMENT = digital photo organizer
DISTNAME = shotwell-0.12.2
REVISION = 0
CATEGORIES = graphics
MASTER_SITES = http://yorba.org/download/shotwell/stable/
HOMEPAGE = http://yorba.org/shotwell/
EXTRACT_SUFX = .tar.bz2
# LGPLv2
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 exif exiv2 expat fontconfig freetype
WANTLIB += gdk-3 gdk_pixbuf-2.0 gee gexiv2 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gphoto2 gphoto2_port gstbase-0.10 gstpbutils-0.10
WANTLIB += gstreamer-0.10 gthread-2.0 gtk-3 javascriptcoregtk-3.0
WANTLIB += lcms2 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread pthread-stubs raw rest-0.7 soup-2.4
WANTLIB += sqlite3 stdc++ unique-3.0 usb webkitgtk-3.0 xcb xcb-render
WANTLIB += xcb-shm xml2 z
MODULES = devel/dconf devel/gettext x11/gnome
MODGNOME_TOOLS= yelp
MODGNOME_DESKTOP_FILE = yes
RUN_DEPENDS += x11/gnome/librsvg \
x11/gtk+2,-guic
BUILD_DEPENDS = lang/vala>=0.16.0
LIB_DEPENDS = graphics/libgexiv2>=0.4.1 \
graphics/libraw>=0.14.5 \
www/webkit,gtk3>=1.6.1v0 \
devel/libunique3 \
devel/libgee06 \
graphics/libgphoto2 \
net/librest
NO_REGRESS = Yes
# beware : configure is an horrible homemade shell script
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --disable-schemas-compile \
--disable-desktop-update \
--disable-icon-update
MODGCONF2_SCHEMAS_DIR = shotwell
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile \
${WRKSRC}/plugins/Makefile.plugin.mk
.include <bsd.port.mk>