diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-20 10:56:15 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-20 10:56:15 +0800 |
commit | adfd8c1bceda3b157e08b451a62eef4c8ad031c3 (patch) | |
tree | e5d8bbbef49723c723a7957f75626c282db3b64d /www/swfdec-plugin | |
parent | 2fb9f4a561bef45a715b36cd4d3e70d267f5c3c1 (diff) | |
download | marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.gz marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.zst marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.zip |
- Move gstreamer 0.8 stuff to gstreamer*80 in preps of gstreamer 0.10
- Add USE_GSTREAMER80 to support old gstreamer
- Add a bunch of ports that use USE_GSTREAMER80
Some stuff repo-copied by: marcus
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5446 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/swfdec-plugin')
-rw-r--r-- | www/swfdec-plugin/Makefile | 56 | ||||
-rw-r--r-- | www/swfdec-plugin/distinfo | 2 | ||||
-rw-r--r-- | www/swfdec-plugin/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | www/swfdec-plugin/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | www/swfdec-plugin/pkg-descr | 8 | ||||
-rw-r--r-- | www/swfdec-plugin/pkg-plist | 2 |
6 files changed, 94 insertions, 0 deletions
diff --git a/www/swfdec-plugin/Makefile b/www/swfdec-plugin/Makefile new file mode 100644 index 000000000..d3152b408 --- /dev/null +++ b/www/swfdec-plugin/Makefile @@ -0,0 +1,56 @@ +# Ports collection makefile for: swfdec-plugin +# Date created: Jun 14, 2005 +# Whom: anholt +# +# $FreeBSD$ +# + +PORTNAME= swfdec-plugin +PORTVERSION= 0.3.5 +PORTREVISION= 1 +CATEGORIES= www +MASTER_SITES= http://www.schleef.org/swfdec/download/ +DISTNAME= swfdec-${PORTVERSION} + +MAINTAINER= anholt@FreeBSD.org +COMMENT= Flash rendering plugin + +LIB_DEPENDS= swfdec-0.3.0:${PORTSDIR}/graphics/swfdec +.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox" +BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +.else +BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX} +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX} +.endif + +BROKEN= Does not compile + +USE_REINPLACE= yes +USE_X_PREFIX= yes +USE_SDL= sdl +USE_GNOME= gnomehack gtk20 libartlgpl2 +USE_GSTREAMER80= gconf +USE_GETOPT_LONG= yes +USE_REINPLACE= yes +USE_AUTOTOOLS= libtool:15 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox" +CONFIGURE_ENV+= MOZILLA_CONFIG="${X11BASE}/bin/firefox-config" +.else +CONFIGURE_ENV+= MOZILLA_CONFIG="${X11BASE}/lib/mozilla/mozilla-config" +.endif + +INSTALLS_SHLIB= yes +INSTALL_WRKSRC= ${WRKSRC}/plugin + +PLIST_SUB= VERSION=${PORTVERSION:R} + +post-patch: + @${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c + @${REINPLACE_CMD} -e "s,mozilla/plugins/,browser_plugins/," ${WRKSRC}/plugin/Makefile.in + +.include <bsd.port.mk> diff --git a/www/swfdec-plugin/distinfo b/www/swfdec-plugin/distinfo new file mode 100644 index 000000000..8665a72a9 --- /dev/null +++ b/www/swfdec-plugin/distinfo @@ -0,0 +1,2 @@ +MD5 (swfdec-0.3.5.tar.gz) = cc40397d7784efee549fb7853b01cac3 +SIZE (swfdec-0.3.5.tar.gz) = 512041 diff --git a/www/swfdec-plugin/files/patch-Makefile.in b/www/swfdec-plugin/files/patch-Makefile.in new file mode 100644 index 000000000..af3c1f30c --- /dev/null +++ b/www/swfdec-plugin/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Tue Jun 14 21:37:46 2005 ++++ Makefile.in Tue Jun 14 21:43:11 2005 +@@ -227,7 +227,7 @@ + @WITH_GLIB_COMPAT_TRUE@glib_compat_subdirs = glib-compat + @WITH_GLIB_COMPAT_FALSE@no_glib_compat_subdirs = gimp-loader pixbuf-loader + @WITH_GLIB_COMPAT_TRUE@no_glib_compat_subdirs = +-SUBDIRS = $(glib_compat_subdirs) libswfdec test player plugin $(no_glib_compat_subdirs) ++SUBDIRS = $(glib_compat_subdirs) libswfdec plugin + DIST_SUBDIRS = \ + gimp-loader \ + glib-compat \ diff --git a/www/swfdec-plugin/files/patch-ltmain.sh b/www/swfdec-plugin/files/patch-ltmain.sh new file mode 100644 index 000000000..b3c8af1df --- /dev/null +++ b/www/swfdec-plugin/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Wed Nov 24 17:28:43 2004 ++++ ltmain.sh Wed Nov 24 17:28:55 2004 +@@ -5551,10 +5551,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/www/swfdec-plugin/pkg-descr b/www/swfdec-plugin/pkg-descr new file mode 100644 index 000000000..c217ddea0 --- /dev/null +++ b/www/swfdec-plugin/pkg-descr @@ -0,0 +1,8 @@ +swfdec-plugin is a Mozilla plugin for rendering flash (.swf) animations using +the gstreamer framework and the swfdec library. It should currently play Flash +4 files, and Flash 5 support is under development. + +WWW: http://www.schleef.org/swfdec/ + +- Eric Anholt +anholt@FreeBSD.org diff --git a/www/swfdec-plugin/pkg-plist b/www/swfdec-plugin/pkg-plist new file mode 100644 index 000000000..5843c8bcc --- /dev/null +++ b/www/swfdec-plugin/pkg-plist @@ -0,0 +1,2 @@ +bin/swfdec-mozilla-player +lib/browser_plugins/libswfdecmozilla.so |