2006-11-20 15:37:51 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2006/11/20 20:37:51 bernd 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
|
|
|
|
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/
|
|
|
|
|
|
|
|
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
|
|
|
|
|
|
|
|
# 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
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
LIB_DEPENDS+= atk-1.0.>=1011::devel/atk \
|
|
|
|
curl.>=4::net/curl \
|
|
|
|
xml2.>=9.0::textproc/libxml \
|
2006-11-19 23:06:41 -05:00
|
|
|
theora.>=2::multimedia/libtheora \
|
|
|
|
ogg.>=5::audio/libogg \
|
|
|
|
png.>=5::graphics/png \
|
|
|
|
jpeg.>=62::graphics/jpeg \
|
|
|
|
glitz.>=1::graphics/glitz \
|
|
|
|
SDL.>=6::devel/sdl \
|
|
|
|
agg.>=2::graphics/agg \
|
|
|
|
cairo.>=4::graphics/cairo \
|
|
|
|
avcodec.>=7,avutil.>=1,avformat.>=7::graphics/ffmpeg \
|
|
|
|
glib-2.0.>=1000.3,gmodule-2.0.>=1000.3::devel/glib2 \
|
|
|
|
gobject-2.0.>=1000.3::devel/glib2 \
|
|
|
|
pango-1.0.>=1200.3,pangocairo-1.0.>=1200.3::devel/pango \
|
|
|
|
pangoft2-1.0.>=1200.3,pangox-1.0.>=1200.3::devel/pango \
|
|
|
|
gdk_pixbuf-2.0.>=802.1,gtk-x11-2.0.>=802.1::x11/gtk+2 \
|
|
|
|
gdk-x11-2.0.>=802.1::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 \
|
|
|
|
Xext X11 z stdc++ m pthread c ssl crypto
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
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
|
|
|
|
2006-11-19 23:06:41 -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-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|