2974b60d47
releases ago in favor or giosync (gvfs). Switch to new depends/revision and regen PLIST. ok jasper@
82 lines
2.0 KiB
Makefile
82 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2010/08/26 12:09:07 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= flash player with firefox browser plugin
|
|
|
|
VER= 0.8.3
|
|
DISTNAME= gnash-${VER}
|
|
|
|
REVISION= 5
|
|
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://getgnash.org/packages/releases/
|
|
|
|
HOMEPAGE= http://gnashdev.org
|
|
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c crypto expat freetype fontconfig \
|
|
glib-2.0 gobject-2.0 gthread-2.0 gmodule-2.0\
|
|
idn pcre jpeg m pthread ssl stdc++ z \
|
|
gstbase-0.10 gstreamer-0.10 curl xml2 agg \
|
|
gdk_pixbuf-2.0 gtk-x11-2.0 gdk-x11-2.0 ltdl \
|
|
boost_thread-mt boost_date_time-mt \
|
|
gstpbutils-0.10
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS+= ::net/curl \
|
|
::textproc/libxml \
|
|
::graphics/agg \
|
|
::x11/gtk+2 \
|
|
::devel/boost \
|
|
::devel/libtool,-ltdl \
|
|
::multimedia/gstreamer-0.10/plugins-base
|
|
|
|
RUN_DEPENDS+= :gstreamer-ffmpeg->=0.10.4p0:multimedia/gstreamer-0.10/plugins-ffmpeg \
|
|
::multimedia/gstreamer-0.10/plugins-ugly \
|
|
::multimedia/gstreamer-0.10/plugins-bad \
|
|
::multimedia/gstreamer-0.10/plugins-good \
|
|
:gstreamer-libsoup->=0.10.19p1:multimedia/gstreamer-0.10/plugins-good,-soup
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnash
|
|
${INSTALL_DATA} ${WRKSRC}/libbase/{gnashpluginrc,gnashrc} \
|
|
${PREFIX}/share/examples/gnash
|
|
|
|
CONFIGURE_ARGS+=--with-npapi-plugindir=${LOCALBASE}/lib/mozilla/plugins \
|
|
--disable-cygnal \
|
|
--disable-debugger \
|
|
--enable-renderer=agg \
|
|
--enable-gui=gtk \
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
GST_REGISTRY=${WRKDIR}/registry.${MACHINE_ARCH}.bin
|
|
|
|
INSTALL_TARGET= install install-plugins
|
|
|
|
NO_REGRESS= testsuite available at http://www.gnashdev.org/testcases/
|
|
|
|
SHARED_LIBS= gnashnet 0.0 \
|
|
mozsdk 0.0
|
|
|
|
SUBST_VARS= VER
|
|
|
|
.include <bsd.port.mk>
|