diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 07:19:52 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 07:19:52 +0800 |
commit | 61ace81aec1eab4e838a38fc38c88b43604f379e (patch) | |
tree | 778bb240bbfa21b81bee0f14f94c351234b514a0 /multimedia/gstreamer | |
parent | 23f9085c7e6cb15f120c52f92ad3b34c598ec152 (diff) | |
download | marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar.gz marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar.bz2 marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar.lz marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar.xz marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.tar.zst marcuscom-ports-61ace81aec1eab4e838a38fc38c88b43604f379e.zip |
Add gstreamer.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@614 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer')
-rw-r--r-- | multimedia/gstreamer/Makefile | 63 | ||||
-rw-r--r-- | multimedia/gstreamer/distinfo | 1 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-configure | 19 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::cothreads.c | 20 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c | 19 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in | 11 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-plist | 100 |
8 files changed, 257 insertions, 0 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile new file mode 100644 index 000000000..896bf1544 --- /dev/null +++ b/multimedia/gstreamer/Makefile @@ -0,0 +1,63 @@ +# 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.10 2003/02/23 19:58:24 lioux Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.6.0 +PORTREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Development framework for creating media applications + +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_X_PREFIX= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_REINPLACE= yes +USE_GNOME= gnomehack \ + gnomeprefix \ + glib20 \ + libxml2 +WANT_GNOME= yes +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= +PLIST_SUB= \ + VERSION="${PORTVERSION:C/..$//}" \ + SHLIB_VERSION="${SHLIB_VERSION}" +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" + +# library minor number +SHLIB_VERSION= 0 + +post-install: +# register plugins + @${PREFIX}/bin/gst-register 2>/dev/null + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_GNOME+= libgnomeui +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer/distinfo b/multimedia/gstreamer/distinfo new file mode 100644 index 000000000..e747bb091 --- /dev/null +++ b/multimedia/gstreamer/distinfo @@ -0,0 +1 @@ +MD5 (gstreamer-0.6.0.tar.bz2) = 3d0dec37678b33bbcb23cb2e20a83fe4 diff --git a/multimedia/gstreamer/files/patch-configure b/multimedia/gstreamer/files/patch-configure new file mode 100644 index 000000000..b3935c7cb --- /dev/null +++ b/multimedia/gstreamer/files/patch-configure @@ -0,0 +1,19 @@ +--- configure.orig Wed Jan 22 09:17:40 2003 ++++ configure Wed Jan 29 14:49:56 2003 +@@ -7520,6 +7520,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' +@@ -7712,7 +7713,7 @@ + if test "x$COMPILER" = "xforte"; then + GST_ERROR= + else +- if test "x$GST_CVS"="xyes"; then ++ if test "x$GST_CVS" = "xyes"; then + GST_ERROR="-Wall -Werror" + else + GST_ERROR="-Wall" diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c new file mode 100644 index 000000000..3519fb0e7 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst::cothreads.c @@ -0,0 +1,20 @@ +--- gst/cothreads.c.orig Sat Feb 1 19:09:00 2003 ++++ gst/cothreads.c Mon Feb 3 10:57:44 2003 +@@ -41,12 +41,16 @@ + #include <ucontext.h> + #endif + ++#ifdef HAVE_MAKECONTEXT ++#include <ucontext.h> ++#endif ++ + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ + #ifndef MAP_ANONYMOUS + #define MAP_ANONYMOUS MAP_ANON + #endif + +-#define STACK_SIZE 0x200000 ++#define STACK_SIZE 0x100000 + + #define COTHREAD_MAGIC_NUMBER 0xabcdef + 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..e0e229f97 --- /dev/null +++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c @@ -0,0 +1,19 @@ +--- libs/ext/cothreads/cothreads/cothreads.c.orig Sat Feb 1 16:09:23 2003 ++++ libs/ext/cothreads/cothreads/cothreads.c Mon Mar 17 13:33:43 2003 +@@ -22,6 +22,7 @@ + + #include "pth_p.h" /* this pulls in everything */ + #include <sys/mman.h> ++#include <sys/time.h> + #include <sys/resource.h> + #include <stdlib.h> + +@@ -422,7 +423,7 @@ + *stack = malloc (_cothreads_chunk_size * (1.0 + 1.0/_cothreads_count)); + if (!stack) + return FALSE; +- *stack = (void*)((int)*stack &~ (int)(_cothreads_chunk_size / _cothreads_count - 1)); ++ *stack = (void*)((intptr_t)*stack &~ (intptr_t)(_cothreads_chunk_size / _cothreads_count - 1)); + *stack += 1; + #endif + 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-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..b42f950ed --- /dev/null +++ b/multimedia/gstreamer/pkg-plist @@ -0,0 +1,100 @@ +@unexec %D/bin/gst-register 2>/dev/null || true +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-%%VERSION%%/gst/bytestream/bytestream.h +include/gstreamer-%%VERSION%%/gst/control/control.h +include/gstreamer-%%VERSION%%/gst/control/dparam.h +include/gstreamer-%%VERSION%%/gst/control/dparam_smooth.h +include/gstreamer-%%VERSION%%/gst/control/dparamcommon.h +include/gstreamer-%%VERSION%%/gst/control/dparammanager.h +include/gstreamer-%%VERSION%%/gst/control/dplinearinterp.h +include/gstreamer-%%VERSION%%/gst/control/unitconvert.h +include/gstreamer-%%VERSION%%/gst/getbits/getbits.h +include/gstreamer-%%VERSION%%/gst/gst.h +include/gstreamer-%%VERSION%%/gst/gstatomic.h +include/gstreamer-%%VERSION%%/gst/gstautoplug.h +include/gstreamer-%%VERSION%%/gst/gstbin.h +include/gstreamer-%%VERSION%%/gst/gstbuffer.h +include/gstreamer-%%VERSION%%/gst/gstbufferpool-default.h +include/gstreamer-%%VERSION%%/gst/gstcaps.h +include/gstreamer-%%VERSION%%/gst/gstclock.h +include/gstreamer-%%VERSION%%/gst/gstcompat.h +include/gstreamer-%%VERSION%%/gst/gstconfig.h +include/gstreamer-%%VERSION%%/gst/gstcpu.h +include/gstreamer-%%VERSION%%/gst/gstdata.h +include/gstreamer-%%VERSION%%/gst/gstelement.h +include/gstreamer-%%VERSION%%/gst/gstenumtypes.h +include/gstreamer-%%VERSION%%/gst/gstevent.h +include/gstreamer-%%VERSION%%/gst/gstextratypes.h +include/gstreamer-%%VERSION%%/gst/gstformat.h +include/gstreamer-%%VERSION%%/gst/gstindex.h +include/gstreamer-%%VERSION%%/gst/gstinfo.h +include/gstreamer-%%VERSION%%/gst/gstlog.h +include/gstreamer-%%VERSION%%/gst/gstmacros.h +include/gstreamer-%%VERSION%%/gst/gstmarshal.h +include/gstreamer-%%VERSION%%/gst/gstmemchunk.h +include/gstreamer-%%VERSION%%/gst/gstobject.h +include/gstreamer-%%VERSION%%/gst/gstpad.h +include/gstreamer-%%VERSION%%/gst/gstparse.h +include/gstreamer-%%VERSION%%/gst/gstpipeline.h +include/gstreamer-%%VERSION%%/gst/gstplugin.h +include/gstreamer-%%VERSION%%/gst/gstpluginfeature.h +include/gstreamer-%%VERSION%%/gst/gstprobe.h +include/gstreamer-%%VERSION%%/gst/gstprops.h +include/gstreamer-%%VERSION%%/gst/gstquery.h +include/gstreamer-%%VERSION%%/gst/gstqueue.h +include/gstreamer-%%VERSION%%/gst/gstregistry.h +include/gstreamer-%%VERSION%%/gst/gstscheduler.h +include/gstreamer-%%VERSION%%/gst/gstsystemclock.h +include/gstreamer-%%VERSION%%/gst/gstthread.h +include/gstreamer-%%VERSION%%/gst/gsttrace.h +include/gstreamer-%%VERSION%%/gst/gsttrashstack.h +include/gstreamer-%%VERSION%%/gst/gsttype.h +include/gstreamer-%%VERSION%%/gst/gsttypefind.h +include/gstreamer-%%VERSION%%/gst/gsttypes.h +include/gstreamer-%%VERSION%%/gst/gsturi.h +include/gstreamer-%%VERSION%%/gst/gstutils.h +include/gstreamer-%%VERSION%%/gst/gstversion.h +include/gstreamer-%%VERSION%%/gst/gstxml.h +include/gstreamer-%%VERSION%%/gst/putbits/putbits.h +lib/gstreamer-%%VERSION%%/libgstautoplugcache.so +lib/gstreamer-%%VERSION%%/libgstautoplugger.so +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstbasicwingoscheduler.so +lib/gstreamer-%%VERSION%%/libgstbytestream.so +lib/gstreamer-%%VERSION%%/libgstelements.so +lib/gstreamer-%%VERSION%%/libgstgetbits.so +lib/gstreamer-%%VERSION%%/libgstindexers.so +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstoptscheduler.so +lib/gstreamer-%%VERSION%%/libgstoptwingoscheduler.so +lib/gstreamer-%%VERSION%%/libgstputbits.so +lib/gstreamer-%%VERSION%%/libgstspider.so +lib/gstreamer-%%VERSION%%/libgststaticautoplug.so +lib/gstreamer-%%VERSION%%/libgststaticautoplugrender.so +lib/gstreamer-%%VERSION%%/libgsttypes.so +lib/libgstcontrol-%%VERSION%%.a +lib/libgstcontrol-%%VERSION%%.so +lib/libgstcontrol-%%VERSION%%.so.%%SHLIB_VERSION%% +lib/libgstreamer-%%VERSION%%.a +lib/libgstreamer-%%VERSION%%.so +lib/libgstreamer-%%VERSION%%.so.%%SHLIB_VERSION%% +libdata/pkgconfig/gstreamer-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-control-%%VERSION%%.pc +@unexec rm %D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true +@dirrm share/gnome/cache/gstreamer-%%VERSION%% +@unexec rmdir %D/share/gnome/cache 2>/dev/null || true +@dirrm lib/gstreamer-%%VERSION%% +@dirrm include/gstreamer-%%VERSION%%/gst/putbits +@dirrm include/gstreamer-%%VERSION%%/gst/getbits +@dirrm include/gstreamer-%%VERSION%%/gst/control +@dirrm include/gstreamer-%%VERSION%%/gst/bytestream +@dirrm include/gstreamer-%%VERSION%%/gst +@dirrm include/gstreamer-%%VERSION%% +@exec %D/bin/gst-register 2>/dev/null || true |