2011-11-02 17:05:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2011/11/02 21:07:16 naddy Exp $
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT-main= graph based image processing framework
|
|
|
|
COMMENT-plugins=gegl plugins
|
|
|
|
|
2011-03-02 01:43:25 -05:00
|
|
|
V= 0.1.6
|
2008-04-10 10:12:35 -04:00
|
|
|
DISTNAME= gegl-${V}
|
2011-11-01 16:30:49 -04:00
|
|
|
REVISION= 0
|
2008-04-10 10:12:35 -04:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
|
2009-10-14 10:19:37 -04:00
|
|
|
PKGNAME-main= gegl-${V}
|
2010-08-25 19:27:21 -04:00
|
|
|
PKGNAME-plugins=gegl-plugins-${V}
|
2011-11-02 17:05:38 -04:00
|
|
|
REVISION-plugins=4
|
2008-04-10 10:12:35 -04:00
|
|
|
|
2011-03-02 01:43:25 -05:00
|
|
|
SHARED_LIBS= gegl-0.1 1.0 # .105.1
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
HOMEPAGE= http://gegl.org/
|
|
|
|
|
|
|
|
# GPLv3/LGPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-03-02 01:43:25 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gegl/${V:R}/ \
|
|
|
|
ftp://ftp.sunet.se/pub/gnu/babl/${V:R}/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/pub/babl/${V:R}/
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -plugins
|
|
|
|
|
2011-03-02 01:43:25 -05:00
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2011-11-01 16:30:49 -04:00
|
|
|
WANTLIB += gthread-2.0 m pcre z execinfo ffi stdc++
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2009-10-14 10:19:37 -04:00
|
|
|
WANTLIB-main += ${WANTLIB}
|
|
|
|
WANTLIB-main += X11 Xau Xdmcp Xrender c cairo croco-0.6 expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB-main += freetype gdk_pixbuf-2.0 jpeg pango-1.0
|
2009-10-14 10:19:37 -04:00
|
|
|
WANTLIB-main += pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread
|
2011-03-02 01:43:25 -05:00
|
|
|
WANTLIB-main += pthread-stubs xcb xml2 xcb-render
|
2010-11-09 13:22:26 -05:00
|
|
|
WANTLIB-main += rsvg-2 babl-0.1
|
2011-03-02 01:43:25 -05:00
|
|
|
WANTLIB-main += GL Xdamage Xext Xfixes Xxf86vm drm jasper xcb-shm
|
2010-04-24 09:07:54 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= devel/libexecinfo
|
2010-04-24 09:07:54 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
2010-11-17 03:05:12 -05:00
|
|
|
x11/gnome/librsvg \
|
|
|
|
graphics/babl
|
2008-04-10 10:12:35 -04:00
|
|
|
|
2009-10-14 10:19:37 -04:00
|
|
|
WANTLIB-plugins += ${WANTLIB}
|
2011-06-24 07:17:05 -04:00
|
|
|
WANTLIB-plugins += Half Iex IlmThread Imath gsm mp3lame ogg orc-0.4
|
2011-11-01 16:30:49 -04:00
|
|
|
WANTLIB-plugins += schroedinger-1.0 speex theoradec theoraenc
|
2011-06-24 07:17:05 -04:00
|
|
|
WANTLIB-plugins += vorbis vorbisenc x264 IlmImf avcodec avformat
|
2011-11-01 16:30:49 -04:00
|
|
|
WANTLIB-plugins += avutil bz2 vpx
|
2010-04-24 09:07:54 -04:00
|
|
|
|
2011-03-02 01:43:25 -05:00
|
|
|
RUN_DEPENDS-plugins= ${BUILD_PKGPATH},-main
|
|
|
|
LIB_DEPENDS-plugins= ${LIB_DEPENDS} \
|
2010-11-17 03:05:12 -05:00
|
|
|
graphics/openexr \
|
|
|
|
graphics/ffmpeg>=20100512
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-04-24 09:07:54 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo" \
|
2008-04-10 10:12:35 -04:00
|
|
|
ac_cv_path_ASCIIDOC="no" \
|
|
|
|
ac_cv_path_W3M="no" \
|
|
|
|
ac_cv_path_ENSCRIPT="no" \
|
2009-01-03 09:58:42 -05:00
|
|
|
ac_cv_prog_RUBY=""
|
2009-10-14 10:19:37 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2011-03-02 01:43:25 -05:00
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-static \
|
2008-04-10 10:12:35 -04:00
|
|
|
--disable-docs \
|
2009-10-14 10:19:37 -04:00
|
|
|
--without-sdl \
|
|
|
|
--without-lua \
|
|
|
|
--without-libopenraw \
|
|
|
|
--without-graphviz \
|
|
|
|
--without-libv4l \
|
|
|
|
--without-libspiro
|
|
|
|
|
|
|
|
# be safe until proven stable
|
|
|
|
CONFIGURE_ARGS+= --enable-mmx \
|
|
|
|
--disable-sse
|
2008-04-10 10:12:35 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|