4ebf9d76e0
build problem pointed out & fixes suggested by nigel@.
70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.25 2012/09/15 08:37:41 sthen Exp $
|
|
|
|
# requires SSE
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
COMMENT= virtual lighttable and darkroom for photographers
|
|
DISTNAME= darktable-1.0.5
|
|
REVISION= 1
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
CATEGORIES= graphics x11
|
|
|
|
HOMEPAGE= http://darktable.sourceforge.net/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += GL GLU ICE Iex IlmImf IlmThread Imath SDL SM X11 Xext
|
|
WANTLIB += atk-1.0 c cairo curl exiv2 flickcurl freetype gdk-x11-2.0
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-keyring
|
|
WANTLIB += gobject-2.0 gphoto2 gthread-2.0 gtk-x11-2.0 jpeg lcms2
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 png pthread rsvg-2 sqlite3
|
|
WANTLIB += stdc++ tiff xml2 z gphoto2_port
|
|
|
|
WANTLIB += lensfun # dlopen'd. this is "Extra" in check-lib-depends; that's ok,
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darktable/}
|
|
|
|
MODULES= devel/cmake \
|
|
devel/gconf2 \
|
|
devel/gettext \
|
|
textproc/intltool
|
|
|
|
BUILD_DEPENDS= sysutils/coreutils
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
x11/gtk+2,-guic
|
|
LIB_DEPENDS= devel/sdl \
|
|
graphics/exiv2>=0.22 \
|
|
graphics/lcms2 \
|
|
graphics/libgphoto2 \
|
|
graphics/lensfun \
|
|
graphics/openexr \
|
|
net/curl \
|
|
net/flickcurl \
|
|
x11/gnome/libgnome-keyring \
|
|
x11/gnome/librsvg \
|
|
x11/gtk+2
|
|
|
|
SEPARATE_BUILD= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF= Yes
|
|
|
|
CONFIGURE_STYLE= cmake
|
|
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release \
|
|
-DMAN_INSTALL_DIR="./man/man1"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/libpng
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
cd ${PREFIX}/lib && ln -s darktable/libdarktable.so
|
|
|
|
.include <bsd.port.mk>
|