diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 05:01:35 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 05:01:35 +0800 |
commit | 5b0229812ba2d7576f042ffea8f57bc20fc5a3e6 (patch) | |
tree | 0136e9dcfa25b95abdc6a62e10350afcb1c0ae7f /www | |
parent | dc481678e5290d1fbd1b2d9b326695c4f4e36f3b (diff) | |
download | marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.gz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.bz2 marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.lz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.xz marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.tar.zst marcuscom-ports-5b0229812ba2d7576f042ffea8f57bc20fc5a3e6.zip |
- Chase gecko move
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6653 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/swfdec-plugin/Makefile | 52 | ||||
-rw-r--r-- | www/swfdec-plugin/distinfo | 3 | ||||
-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, 91 insertions, 0 deletions
diff --git a/www/swfdec-plugin/Makefile b/www/swfdec-plugin/Makefile new file mode 100644 index 000000000..d3896befb --- /dev/null +++ b/www/swfdec-plugin/Makefile @@ -0,0 +1,52 @@ +# 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= ${LOCALBASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +.else +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX} +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX} +.endif + +BROKEN= Does not compile + +USE_SDL= sdl +USE_GNOME= gnomehack gtk20 libartlgpl2 +USE_GSTREAMER80= gconf +USE_GETOPT_LONG= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox" +CONFIGURE_ENV+= MOZILLA_CONFIG="${LOCALBASE}/bin/firefox-config" +.else +CONFIGURE_ENV+= MOZILLA_CONFIG="${LOCALBASE}/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..026cdc898 --- /dev/null +++ b/www/swfdec-plugin/distinfo @@ -0,0 +1,3 @@ +MD5 (swfdec-0.3.5.tar.gz) = cc40397d7784efee549fb7853b01cac3 +SHA256 (swfdec-0.3.5.tar.gz) = 23094a5ec8f2a23c78e09b5a30dde8d0dc66d3d6488a4b9ea58b3bfb3943c06b +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 |