67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.69 2013/04/16 06:42:21 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= image viewer and browser for GNOME
|
|
|
|
GNOME_PROJECT= gthumb
|
|
GNOME_VERSION= 3.2.1
|
|
|
|
API_V= ${GNOME_VERSION:R}
|
|
SUBST_VARS= API_V
|
|
|
|
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
|
|
|
|
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
|
|
WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi
|
|
WANTLIB += c cairo cairo-gobject clutter-1.0 clutter-gtk-1.0 cogl
|
|
WANTLIB += dbus-1 exiv2 expat ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
|
|
WANTLIB += gthread-2.0 gtk-3 harfbuzz icudata icule icuuc jpeg
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
|
WANTLIB += png pthread pthread-stubs rsvg-2 stdc++ tiff xcb xcb-render
|
|
WANTLIB += xcb-shm z gstreamer-1.0 webp
|
|
|
|
MODULES= devel/dconf \
|
|
devel/gettext \
|
|
x11/gnome
|
|
|
|
# web albums
|
|
BUILD_DEPENDS += devel/bison
|
|
|
|
BUILD_DEPENDS += multimedia/gstreamer1/plugins-base
|
|
|
|
LIB_DEPENDS= graphics/clutter/clutter-gtk \
|
|
graphics/exiv2 \
|
|
graphics/libwebp \
|
|
multimedia/gstreamer1/core \
|
|
x11/gnome/librsvg
|
|
|
|
RUN_DEPENDS= graphics/dcraw \
|
|
misc/shared-mime-info \
|
|
multimedia/gstreamer1/plugins-base
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
MODGNOME_TOOLS= yelp
|
|
MODGNOME_DESKTOP_FILE= Yes
|
|
MODGNOME_ICON_CACHE= Yes
|
|
MODGNOME_CPPFLAGS= -I${X11BASE}/include
|
|
MODGNOME_LDFLAGS= -L${X11BASE}/lib -Wl,-rpath,${TRUEPREFIX}/lib/gthumb/extensions
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --disable-static
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/gthumb/extensions/*.la
|
|
|
|
.include <bsd.port.mk>
|