diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-12-05 03:33:28 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-12-05 03:33:28 +0800 |
commit | a9e90d1863223165d8313511d360324134f92df0 (patch) | |
tree | dbcea2dfd45df18d87c32f5638ca3164124bcf50 /multimedia/gstreamer | |
parent | 7d65898048cc05e515e618be26a732138c988115 (diff) | |
download | marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar.gz marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar.bz2 marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar.lz marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar.xz marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.tar.zst marcuscom-ports-a9e90d1863223165d8313511d360324134f92df0.zip |
Re-add gstreamer.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@239 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer')
-rw-r--r-- | multimedia/gstreamer/Makefile | 68 | ||||
-rw-r--r-- | multimedia/gstreamer/distinfo | 1 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-configure | 10 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::cothreads.c | 16 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in | 11 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-plist | 92 |
9 files changed, 233 insertions, 0 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile new file mode 100644 index 000000000..de18e3a8d --- /dev/null +++ b/multimedia/gstreamer/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: gstreamer +# Date created: Tue Jul 9 20:24:02 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD: ports/multimedia/gstreamer/Makefile,v 1.7 2002/11/28 00:09:47 lioux Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.4.2 +PORTREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org + +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= glib-2.0.103:${PORTSDIR}/devel/glib20 \ + popt.0:${PORTSDIR}/devel/popt \ + xml2.5:${PORTSDIR}/textproc/libxml2 + +USE_X_PREFIX= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack \ + gnomeprefix +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-tests \ + --disable-failing-tests +CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \ + CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +CONFIGURE_TARGET= +INSTALLS_SHLIB= yes + +MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \ + gst-feedback.1 gst-md5sum.1 \ + gst-register.1 gst-xmllaunch.1 + +PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" + +post-patch: +# use proper dir +# remove version number from include dir name + @${FIND} ${WRKSRC} -type f -name Makefile.in | \ + ${XARGS} -n 10 ${REINPLACE_CMD} -E \ + 's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|' +# remove version number from include dir name AND +# help dependent ports find popt.h + @${REINPLACE_CMD} -E -e \ + 's|-@VERSION@||; \ + s|(-I\$${includedir})|\1 -I${LOCALBASE}/include|' \ + ${WRKSRC}/gstreamer.pc.in + +post-configure: +# remove version number postfix from library names + @${REINPLACE_CMD} -E -e 's|-release ${PORTVERSION}||' \ + ${WRKSRC}/gst/Makefile ${WRKSRC}/libs/gst/control/Makefile + +post-install: +# register plugins + @${PREFIX}/bin/gst-register 2>/dev/null + +.include <bsd.port.mk> diff --git a/multimedia/gstreamer/distinfo b/multimedia/gstreamer/distinfo new file mode 100644 index 000000000..209ebc90f --- /dev/null +++ b/multimedia/gstreamer/distinfo @@ -0,0 +1 @@ +MD5 (gstreamer-0.4.2.tar.bz2) = c9e4eed8bac71f52044e2b28356c81ef diff --git a/multimedia/gstreamer/files/patch-configure b/multimedia/gstreamer/files/patch-configure new file mode 100644 index 000000000..4e3e5d195 --- /dev/null +++ b/multimedia/gstreamer/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Wed Jul 10 16:32:49 2002 ++++ configure Wed Jul 10 16:33:12 2002 +@@ -6620,6 +6620,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c new file mode 100644 index 000000000..aed13b1a7 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst::cothreads.c @@ -0,0 +1,16 @@ +--- gst/cothreads.c.orig Wed Nov 13 22:59:21 2002 ++++ gst/cothreads.c Wed Nov 13 22:59:38 2002 +@@ -41,11 +41,11 @@ + #define MAP_ANONYMOUS MAP_ANON + #endif + +-#define STACK_SIZE 0x200000 ++#define STACK_SIZE 0x100000 + + #define COTHREAD_MAGIC_NUMBER 0xabcdef + +-#define COTHREAD_MAXTHREADS 16 ++#define COTHREAD_MAXTHREADS 8 + #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS) + + static void cothread_destroy (cothread_state *thread); diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c b/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c new file mode 100644 index 000000000..5613c9806 --- /dev/null +++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c @@ -0,0 +1,10 @@ +--- libs/ext/cothreads/cothreads/cothreads.c.orig Thu Nov 14 15:19:11 2002 ++++ libs/ext/cothreads/cothreads/cothreads.c Thu Nov 14 15:20:02 2002 +@@ -21,6 +21,7 @@ + + #include "pth_p.h" /* this pulls in everything */ + #include <sys/mman.h> ++#include <sys/time.h> + #include <sys/resource.h> + + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in new file mode 100644 index 000000000..fd554c278 --- /dev/null +++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in @@ -0,0 +1,11 @@ +--- libs/ext/cothreads/tests/Makefile.in.orig Sat Sep 28 23:05:55 2002 ++++ libs/ext/cothreads/tests/Makefile.in Sat Sep 28 23:06:23 2002 +@@ -83,7 +83,7 @@ + GLIB_CFLAGS = @GLIB_CFLAGS@ + GLIB_LIBS = @GLIB_LIBS@ + GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +-GTHREAD_LIBS = @GTHREAD_LIBS@ ++GTHREAD_LIBS = -lc @GTHREAD_LIBS@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LIBTOOL = @LIBTOOL@ + LN_S = @LN_S@ diff --git a/multimedia/gstreamer/pkg-comment b/multimedia/gstreamer/pkg-comment new file mode 100644 index 000000000..958787fc1 --- /dev/null +++ b/multimedia/gstreamer/pkg-comment @@ -0,0 +1 @@ +Development framework for creating media applications diff --git a/multimedia/gstreamer/pkg-descr b/multimedia/gstreamer/pkg-descr new file mode 100644 index 000000000..3e7e98b0e --- /dev/null +++ b/multimedia/gstreamer/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's site ] +- What is GStreamer? +GStreamer allows the construction of graphs of media-handling +components, ranging from simple mp3 playback to complex audio +(mixing) and video (non-linear editing) processing. Applications +can take advantage of advances in codec and filter technology +transparently. Developers can add new codecs and filters by writing +a simple plugin with a clean, generic interface. GStreamer is +released under the LGPL, with many of the included plugins retaining +the license of the code they were derived from, usually GPL or BSD. + +- Features: +* Comprehensive Core Library +* Intelligent Plugin Architecture +* Extensive Development Tools + +- Is GStreamer a media player? +No, GStreamer is a development framework for creating applications +like media players, video editors, streaming media broadcasters and +so on. That said, very good media players can easily be built on +top of GStreamer and we even include a simple yet functional +mediaplayer with GStreamer called Gst-Player + +WWW: http://gstreamer.sourceforge.net/ diff --git a/multimedia/gstreamer/pkg-plist b/multimedia/gstreamer/pkg-plist new file mode 100644 index 000000000..4486c146f --- /dev/null +++ b/multimedia/gstreamer/pkg-plist @@ -0,0 +1,92 @@ +@unexec %D/bin/gst-register 2>/dev/null +bin/gst-complete +bin/gst-compprep +bin/gst-feedback +bin/gst-inspect +bin/gst-launch +bin/gst-md5sum +bin/gst-register +bin/gst-xmllaunch +include/gstreamer/gst/bytestream/bytestream.h +include/gstreamer/gst/control/control.h +include/gstreamer/gst/control/dparam.h +include/gstreamer/gst/control/dparam_smooth.h +include/gstreamer/gst/control/dparamcommon.h +include/gstreamer/gst/control/dparammanager.h +include/gstreamer/gst/control/dplinearinterp.h +include/gstreamer/gst/control/unitconvert.h +include/gstreamer/gst/getbits/getbits.h +include/gstreamer/gst/gst.h +include/gstreamer/gst/gstatomic.h +include/gstreamer/gst/gstautoplug.h +include/gstreamer/gst/gstbin.h +include/gstreamer/gst/gstbuffer.h +include/gstreamer/gst/gstbufferpool-default.h +include/gstreamer/gst/gstcaps.h +include/gstreamer/gst/gstclock.h +include/gstreamer/gst/gstconfig.h +include/gstreamer/gst/gstcpu.h +include/gstreamer/gst/gstdata.h +include/gstreamer/gst/gstelement.h +include/gstreamer/gst/gstenumtypes.h +include/gstreamer/gst/gstevent.h +include/gstreamer/gst/gstextratypes.h +include/gstreamer/gst/gstformat.h +include/gstreamer/gst/gstinfo.h +include/gstreamer/gst/gstlog.h +include/gstreamer/gst/gstmarshal.h +include/gstreamer/gst/gstmemchunk.h +include/gstreamer/gst/gstobject.h +include/gstreamer/gst/gstpad.h +include/gstreamer/gst/gstparse.h +include/gstreamer/gst/gstpipeline.h +include/gstreamer/gst/gstplugin.h +include/gstreamer/gst/gstpluginfeature.h +include/gstreamer/gst/gstprops.h +include/gstreamer/gst/gstqueue.h +include/gstreamer/gst/gstregistry.h +include/gstreamer/gst/gstscheduler.h +include/gstreamer/gst/gstsystemclock.h +include/gstreamer/gst/gstthread.h +include/gstreamer/gst/gsttimecache.h +include/gstreamer/gst/gsttrace.h +include/gstreamer/gst/gsttype.h +include/gstreamer/gst/gsttypefind.h +include/gstreamer/gst/gsttypes.h +include/gstreamer/gst/gstutils.h +include/gstreamer/gst/gstversion.h +include/gstreamer/gst/gstxml.h +include/gstreamer/gst/putbits/putbits.h +lib/gst/libgstautoplugcache.so +lib/gst/libgstautoplugger.so +lib/gst/libgstbasicomegascheduler.so +lib/gst/libgstbasicwingoscheduler.so +lib/gst/libgstbytestream.so +lib/gst/libgstelements.so +lib/gst/libgstfastomegascheduler.so +lib/gst/libgstfastwingoscheduler.so +lib/gst/libgstgetbits.so +lib/gst/libgstoptomegascheduler.so +lib/gst/libgstputbits.so +lib/gst/libgstspider.so +lib/gst/libgststaticautoplug.so +lib/gst/libgststaticautoplugrender.so +lib/gst/libgsttypes.so +lib/libgstcontrol.a +lib/libgstcontrol.so +lib/libgstcontrol.so.0 +lib/libgstreamer.a +lib/libgstreamer.so +lib/libgstreamer.so.0 +libdata/pkgconfig/gstreamer.pc +@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true +@dirrm lib/gst +@dirrm include/gstreamer/gst/putbits +@dirrm include/gstreamer/gst/getbits +@dirrm include/gstreamer/gst/control +@dirrm include/gstreamer/gst/bytestream +@dirrm include/gstreamer/gst +@dirrm include/gstreamer +@exec %D/bin/gst-register 2>/dev/null +@unexec rm %D/etc/gstreamer/registry.xml 2>/dev/null || true +@unexec rmdir %D/etc/gstreamer 2>/dev/null || echo "There are some configuration files left in ${PKG_PREFIX}/etc/gstreamer, do not forget to remove them if you are permanently removing gstreamer port." |