2007-05-11 16:20:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/05/11 20:20:23 deanna Exp $
|
2006-09-21 11:48:10 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= "flash player with firefox browser plugin"
|
2006-11-19 23:06:41 -05:00
|
|
|
DISTNAME= gnash-0.7.2
|
2007-05-11 16:20:23 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2007-02-15 12:07:21 -05:00
|
|
|
SHARED_LIBS += gnashbase 1.0
|
|
|
|
SHARED_LIBS += gnashgeo 1.0
|
|
|
|
SHARED_LIBS += gnashamf 1.0
|
|
|
|
SHARED_LIBS += gnashserver 1.0
|
|
|
|
SHARED_LIBS += gnashbackend 1.0
|
|
|
|
SHARED_LIBS += gnashgui 1.0
|
|
|
|
|
2006-11-19 23:06:41 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
CATEGORIES= www
|
2006-11-19 23:06:41 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/gnash/0.7.2/
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/gnash/
|
|
|
|
|
2006-12-08 10:40:26 -05:00
|
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
MODULES= gettext
|
2006-11-19 23:06:41 -05:00
|
|
|
NO_REGRESS= "testsuite available at http://www.gnu.org/software/gnash/testcases"
|
2006-09-21 11:48:10 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
|
2006-11-20 15:37:51 -05:00
|
|
|
BUILD_DEPENDS+= ::devel/boost
|
2006-09-21 19:14:48 -04:00
|
|
|
|
2007-02-15 12:07:21 -05:00
|
|
|
LIB_DEPENDS+= curl.>=4::net/curl \
|
2006-09-21 11:48:10 -04:00
|
|
|
xml2.>=9.0::textproc/libxml \
|
2006-11-19 23:06:41 -05:00
|
|
|
theora.>=2::multimedia/libtheora \
|
|
|
|
agg.>=2::graphics/agg \
|
|
|
|
avcodec.>=7,avutil.>=1,avformat.>=7::graphics/ffmpeg \
|
2007-02-15 12:07:21 -05:00
|
|
|
gdk_pixbuf-2.0,gtk-x11-2.0,gdk-x11-2.0::x11/gtk+2
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2006-11-19 23:06:41 -05:00
|
|
|
WANTLIB= freetype fontconfig Xrender ossaudio usbhid \
|
2007-02-15 12:07:21 -05:00
|
|
|
ICE SM Xext X11 z stdc++ m pthread c ssl crypto \
|
|
|
|
faac faad mp3lame ogg vorbis vorbisenc cairo \
|
|
|
|
glib-2.0 pango-1.0 pangoft2-1.0 pangocairo-1.0 pangox-1.0 \
|
|
|
|
gobject-2.0 gmodule-2.0 atk-1.0 png jpeg glitz SDL
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2006-12-08 10:40:26 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_lib_gsm_gsm_encode=no
|
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-plugin \
|
|
|
|
--enable-sound=SDL \
|
|
|
|
--with-plugindir=${LOCALBASE}/lib/mozilla-plugins \
|
2006-11-19 23:06:41 -05:00
|
|
|
--without-arts \
|
|
|
|
--disable-klash \
|
|
|
|
--enable-renderer=agg \
|
|
|
|
--enable-gui=gtk \
|
|
|
|
--with-mp3-decoder=ffmpeg \
|
|
|
|
--without-gcc-arch
|
|
|
|
|
|
|
|
MAKE_FLAGS+= libgnashbase_la_LDFLAGS='-version-info 1:0' \
|
|
|
|
libgnashgeo_la_LDFLAGS='-version-info 1:0' \
|
|
|
|
libgnashamf_la_LDFLAGS='-version-info 1:0' \
|
|
|
|
libgnashserver_la_LDFLAGS='-version-info 1:0' \
|
|
|
|
libgnashbackend_la_LDFLAGS='-version-info 1:0' \
|
|
|
|
libgnashgui_la_LDFLAGS='-version-info 1:0'
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|