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 /graphics/swfdec | |
parent | 2fb9f4a561bef45a715b36cd4d3e70d267f5c3c1 (diff) | |
download | marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.gz marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.bz2 marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.lz marcuscom-ports-adfd8c1bceda3b157e08b451a62eef4c8ad031c3.tar.xz 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 'graphics/swfdec')
-rw-r--r-- | graphics/swfdec/Makefile | 61 | ||||
-rw-r--r-- | graphics/swfdec/distinfo | 2 | ||||
-rw-r--r-- | graphics/swfdec/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | graphics/swfdec/files/patch-test_render.c | 10 | ||||
-rw-r--r-- | graphics/swfdec/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/swfdec/pkg-plist | 35 |
6 files changed, 129 insertions, 0 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile new file mode 100644 index 000000000..b39213306 --- /dev/null +++ b/graphics/swfdec/Makefile @@ -0,0 +1,61 @@ +# ex:ts=8 +# Ports collection makefile for: swfdec +# Date created: Apr 5, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= swfdec +PORTVERSION= 0.3.5 +PORTREVISION= 1 +CATEGORIES= graphics +MASTER_SITES= http://www.schleef.org/swfdec/download/ + +MAINTAINER= kwm@FreeBSD.org +COMMENT= Flash Rendering Library + +LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ + oil-0.3.1:${PORTSDIR}/devel/liboil + +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 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-mozilla-plugin +INSTALLS_SHLIB= yes + +PLIST_SUB= VERSION=${PORTVERSION:R} + +.if exists(${X11BASE}/bin/gimp-2.2) +WITH_GIMP=yes +.endif + +.if defined(WITH_GIMP) +LIB_DEPENDS+= gimp-2.0.200:${PORTSDIR}/graphics/gimp +PLIST_SUB+= GIMP="" +.else +PLIST_SUB+= GIMP="@comment " +.endif + +pre-everything:: + @${ECHO} "" + @${ECHO} "Definde WITH_GIMP to build swf gimp plugin" + @${ECHO} "" + +post-patch: +.if !defined(WITH_GIMP) + @${REINPLACE_CMD} -e 's|gimp-loader||g' ${WRKSRC}/Makefile.in +.endif + @${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c + @${REINPLACE_CMD} -e 's|libdir)/gimp/1.3|prefix)/libexec/gimp/2.2|g' ${WRKSRC}/gimp-loader/Makefile.in + @${REINPLACE_CMD} -e 's|plugin||g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/graphics/swfdec/distinfo b/graphics/swfdec/distinfo new file mode 100644 index 000000000..8665a72a9 --- /dev/null +++ b/graphics/swfdec/distinfo @@ -0,0 +1,2 @@ +MD5 (swfdec-0.3.5.tar.gz) = cc40397d7784efee549fb7853b01cac3 +SIZE (swfdec-0.3.5.tar.gz) = 512041 diff --git a/graphics/swfdec/files/patch-ltmain.sh b/graphics/swfdec/files/patch-ltmain.sh new file mode 100644 index 000000000..b3c8af1df --- /dev/null +++ b/graphics/swfdec/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/graphics/swfdec/files/patch-test_render.c b/graphics/swfdec/files/patch-test_render.c new file mode 100644 index 000000000..5a78efee0 --- /dev/null +++ b/graphics/swfdec/files/patch-test_render.c @@ -0,0 +1,10 @@ +--- test/render.c.orig Wed Dec 15 12:04:53 2004 ++++ test/render.c Wed Dec 15 12:42:01 2004 +@@ -12,6 +12,7 @@ + #include <swfdec_render.h> + #include <swfdec_sprite.h> + #include <swfdec_buffer.h> ++#include <sys/signal.h> + #include <ucontext.h> + #include <sys/mman.h> + diff --git a/graphics/swfdec/pkg-descr b/graphics/swfdec/pkg-descr new file mode 100644 index 000000000..7e094c545 --- /dev/null +++ b/graphics/swfdec/pkg-descr @@ -0,0 +1,6 @@ +Swfdec is a library for rendering Flash animations and games. It was +originally designed as a basis library for creating Flash plugins for +GStreamer, but it is a fully standalone library which only use the +libart library for drawing. + +WWW: http://www.schleef.org/swfdec/ diff --git a/graphics/swfdec/pkg-plist b/graphics/swfdec/pkg-plist new file mode 100644 index 000000000..718166073 --- /dev/null +++ b/graphics/swfdec/pkg-plist @@ -0,0 +1,35 @@ +bin/swf_play +include/swfdec-%%VERSION%%/art.h +include/swfdec-%%VERSION%%/color.h +include/swfdec-%%VERSION%%/proto.h +include/swfdec-%%VERSION%%/swfdec.h +include/swfdec-%%VERSION%%/swfdec_actions.h +include/swfdec-%%VERSION%%/swfdec_bits.h +include/swfdec-%%VERSION%%/swfdec_buffer.h +include/swfdec-%%VERSION%%/swfdec_button.h +include/swfdec-%%VERSION%%/swfdec_debug.h +include/swfdec-%%VERSION%%/swfdec_decoder.h +include/swfdec-%%VERSION%%/swfdec_display.h +include/swfdec-%%VERSION%%/swfdec_font.h +include/swfdec-%%VERSION%%/swfdec_image.h +include/swfdec-%%VERSION%%/swfdec_internal.h +include/swfdec-%%VERSION%%/swfdec_layer.h +include/swfdec-%%VERSION%%/swfdec_object.h +include/swfdec-%%VERSION%%/swfdec_rect.h +include/swfdec-%%VERSION%%/swfdec_render.h +include/swfdec-%%VERSION%%/swfdec_render_libart.h +include/swfdec-%%VERSION%%/swfdec_shape.h +include/swfdec-%%VERSION%%/swfdec_sound.h +include/swfdec-%%VERSION%%/swfdec_sprite.h +include/swfdec-%%VERSION%%/swfdec_text.h +include/swfdec-%%VERSION%%/swfdec_transform.h +include/swfdec-%%VERSION%%/swfdec_types.h +include/swfdec-%%VERSION%%/tags.h +lib/gtk-2.0/2.4.0/loaders/swf_loader.a +lib/gtk-2.0/2.4.0/loaders/swf_loader.so +lib/libswfdec-%%VERSION%%.a +lib/libswfdec-%%VERSION%%.so +lib/libswfdec-%%VERSION%%.so.0 +libdata/pkgconfig/swfdec-%%VERSION%%.pc +%%GIMP%%libexec/gimp/2.2/plug-ins/swf +@dirrm include/swfdec-%%VERSION%% |