openbsd-ports/graphics/shotwell/Makefile
ajacoutot 598fbe4282 Update to shotwell-0.11.92.20120226, git snapshot to cope with recent
vala update. This now uses gtk+3.

ok landry@ (maintainer)
2012-02-27 19:41:55 +00:00

65 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2012/02/27 19:41:55 ajacoutot Exp $
# needs to allocate 512M
VMEM_WARNING = Yes
COMMENT = digital photo organizer
# git glone
DISTNAME = shotwell-0.11.92.20120226
CATEGORIES = graphics
#MASTER_SITES = http://yorba.org/download/shotwell/0.11/
MASTER_SITES = http://distfiles.bsdfrog.org/
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 pixman-1
WANTLIB += png pthread pthread-stubs raw rest-0.7 soup-2.4 sqlite3
WANTLIB += 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.15.2
LIB_DEPENDS = graphics/libgexiv2>=0.3.91 \
graphics/libraw>=0.14.5 \
www/webkit,gtk3>=1.6.1v0 \
devel/libunique3 \
devel/libgee \
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>