9338113c8f
if present. This allows us to set PERMIT_PACKAGE_FTP=Yes. ok espie
86 lines
2.3 KiB
Makefile
86 lines
2.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2007/08/09 22:08:19 deanna Exp $
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "flash player with firefox browser plugin"
|
|
DISTNAME= gnash-0.8.0
|
|
PKGNAME= ${DISTNAME}p1
|
|
SHARED_LIBS += gnashbase 2.0
|
|
SHARED_LIBS += gnashgeo 2.0
|
|
SHARED_LIBS += gnashamf 2.0
|
|
SHARED_LIBS += gnashserver 2.0
|
|
SHARED_LIBS += gnashbackend 2.0
|
|
SHARED_LIBS += gnashgui 2.0
|
|
SHARED_LIBS += gnashplayer 2.0
|
|
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=/gnash/0.8.0/}
|
|
|
|
HOMEPAGE= http://gnash.lulu.com
|
|
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
|
|
|
# patented codecs
|
|
PERMIT_PACKAGE_CDROM= No
|
|
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.gnashdev.org/testcases/"
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_X11= Yes
|
|
|
|
BUILD_DEPENDS+= ::devel/boost
|
|
|
|
|
|
LIB_DEPENDS+= curl.>=5::net/curl \
|
|
xml2.>=9.0::textproc/libxml \
|
|
theora.>=2::multimedia/libtheora \
|
|
agg.>=2::graphics/agg \
|
|
gdk_pixbuf-2.0,gtk-x11-2.0,gdk-x11-2.0::x11/gtk+2 \
|
|
boost_thread-mt,boost_date_time::devel/boost,-libs \
|
|
ltdl::devel/libtool,-ltdl \
|
|
SDL.>=7::devel/sdl \
|
|
vorbis,vorbisenc::audio/libvorbis \
|
|
avcodec.>=9,avutil.>=2,avformat.>=9::graphics/ffmpeg
|
|
|
|
WANTLIB= Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr expat \
|
|
freetype fontconfig Xrender usbhid Xext X11 ICE SM \
|
|
stdc++ m pthread c ssl crypto z ogg 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 idn
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
.for dir in libamf backend libbase libgeometry gui server
|
|
LINKDIRS+=-L${WRKSRC}/${dir}/.libs
|
|
.endfor
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="${LINKDIRS} \
|
|
-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+=--enable-media=ffmpeg \
|
|
--with-plugindir=${LOCALBASE}/lib/mozilla-plugins \
|
|
--disable-klash \
|
|
--disable-cygnal \
|
|
--disable-debugger \
|
|
--enable-renderer=agg \
|
|
--enable-gui=gtk \
|
|
--without-gcc-arch \
|
|
--with-expat-incl=${X11BASE}/include \
|
|
--with-expat-lib=${X11BASE}/lib \
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
MAKE_FLAGS+= libgnashbase_la_LDFLAGS= \
|
|
libgnashgeo_la_LDFLAGS= \
|
|
libgnashamf_la_LDFLAGS= \
|
|
libgnashserver_la_LDFLAGS= \
|
|
libgnashbackend_la_LDFLAGS= \
|
|
libgnashgui_la_LDFLAGS= \
|
|
libgnashplayer_la_LDFLAGS=
|
|
|
|
.include <bsd.port.mk>
|