2d13c985f7
to WANTLIB. ok bernd@ deanna@
74 lines
2.0 KiB
Makefile
74 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2007/02/15 17:07:21 steven Exp $
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "flash player with firefox browser plugin"
|
|
DISTNAME= gnash-0.7.2
|
|
PKGNAME= ${DISTNAME}p2
|
|
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
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/gnash/0.7.2/
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/gnash/
|
|
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.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
|
|
NO_REGRESS= "testsuite available at http://www.gnu.org/software/gnash/testcases"
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_X11= Yes
|
|
|
|
BUILD_DEPENDS+= ::devel/boost
|
|
|
|
LIB_DEPENDS+= curl.>=4::net/curl \
|
|
xml2.>=9.0::textproc/libxml \
|
|
theora.>=2::multimedia/libtheora \
|
|
agg.>=2::graphics/agg \
|
|
avcodec.>=7,avutil.>=1,avformat.>=7::graphics/ffmpeg \
|
|
gdk_pixbuf-2.0,gtk-x11-2.0,gdk-x11-2.0::x11/gtk+2
|
|
|
|
WANTLIB= freetype fontconfig Xrender ossaudio usbhid \
|
|
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
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
ac_cv_lib_gsm_gsm_encode=no
|
|
|
|
CONFIGURE_ARGS+=--enable-plugin \
|
|
--enable-sound=SDL \
|
|
--with-plugindir=${LOCALBASE}/lib/mozilla-plugins \
|
|
--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'
|
|
|
|
.include <bsd.port.mk>
|