diff options
Diffstat (limited to 'multimedia/gstreamer80')
-rw-r--r-- | multimedia/gstreamer80/Makefile | 69 | ||||
-rw-r--r-- | multimedia/gstreamer80/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/extra-patch-gst::cothreads.c | 11 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-configure | 29 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst::cothreads.c | 13 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst_gstmemchunk.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-tools_Makefile.in | 20 | ||||
-rw-r--r-- | multimedia/gstreamer80/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer80/pkg-plist | 155 |
9 files changed, 334 insertions, 0 deletions
diff --git a/multimedia/gstreamer80/Makefile b/multimedia/gstreamer80/Makefile new file mode 100644 index 000000000..6e4653d6f --- /dev/null +++ b/multimedia/gstreamer80/Makefile @@ -0,0 +1,69 @@ +# 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$ +# $MCom: ports/multimedia/gstreamer80/Makefile,v 1.40 2006/04/23 22:58:42 mezz Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.8.12 +PORTREVISION= 2 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://gstreamer.freedesktop.org/src/gstreamer/ +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${GST_VERSION} +PKGNAMESUFFIX= 80 +DIST_SUBDIR= gnome2 + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Development framework for creating media applications + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_XLIB= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +WANT_GNOME= yes +USE_GETTEXT= yes +USE_GNOME= gnomehack \ + gnomeprefix \ + glib20 \ + libxml2 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-tests \ + --disable-examples \ + --disable-docs-build \ + --disable-failing-tests +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +PLIST_SUB= \ + VERSION="${GST_VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" \ + PORTVERSION="${PORTVERSION}" +INSTALLS_SHLIB= yes + +MAN1= gst-complete-${GST_VERSION}.1 gst-compprep-${GST_VERSION}.1 \ + gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \ + gst-launch-${GST_VERSION}.1 gst-md5sum-${GST_VERSION}.1 \ + gst-register-${GST_VERSION}.1 gst-typefind-${GST_VERSION}.1 \ + gst-xmllaunch-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 + +GST_VERSION=${PORTVERSION:C/...$//} + +# library minor number +SHLIB_VERSION= 5 + +.include <bsd.port.pre.mk> + +.if ( ( ${OSVERSION} < 504101 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600012 ) ) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gst::cothreads.c +.endif + +post-install: +# register plugins + -@${PREFIX}/bin/gst-register-${GST_VERSION} \ + --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer80/distinfo b/multimedia/gstreamer80/distinfo new file mode 100644 index 000000000..70d63384b --- /dev/null +++ b/multimedia/gstreamer80/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gstreamer-0.8.12.tar.bz2) = 80f3c4957ab3e254cc90016f87ba5482 +SHA256 (gnome2/gstreamer-0.8.12.tar.bz2) = fd90caa93889bd0abbe41b4a36d2b7e27d3987650182004656f9dc4e6fbc3d8c +SIZE (gnome2/gstreamer-0.8.12.tar.bz2) = 1534775 diff --git a/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c b/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c new file mode 100644 index 000000000..a862c2c3a --- /dev/null +++ b/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c @@ -0,0 +1,11 @@ +--- gst/cothreads.c.orig Tue May 3 16:17:09 2005 ++++ gst/cothreads.c Tue May 3 16:17:23 2005 +@@ -56,7 +56,7 @@ + #endif + #endif + +-#define STACK_SIZE 0x200000 ++#define STACK_SIZE 0x100000 + + #define COTHREAD_MAGIC_NUMBER 0xabcdef + diff --git a/multimedia/gstreamer80/files/patch-configure b/multimedia/gstreamer80/files/patch-configure new file mode 100644 index 000000000..672c3d317 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Fri Jun 4 18:19:18 2004 ++++ configure Fri Jun 4 18:20:27 2004 +@@ -21877,7 +21877,7 @@ + + + EXP_VAR=LOCALEDIR +- FROM_VAR=$datadir/locale ++ FROM_VAR=$prefix/share/locale + + prefix_save=$prefix + exec_prefix_save=$exec_prefix +@@ -21981,7 +21981,7 @@ + echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6 + + save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -22031,7 +22031,7 @@ + CFLAGS="$save_CFLAGS" + + if test "X$flag_ok" = Xyes ; then +- GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS -Werror" ++ GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS" + true + else + diff --git a/multimedia/gstreamer80/files/patch-gst::cothreads.c b/multimedia/gstreamer80/files/patch-gst::cothreads.c new file mode 100644 index 000000000..a756de582 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst::cothreads.c @@ -0,0 +1,13 @@ +--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004 ++++ gst/cothreads.c Fri Feb 6 13:05:26 2004 +@@ -42,6 +42,10 @@ + #include <ucontext.h> + #endif + ++#ifdef HAVE_MAKECONTEXT ++#include <ucontext.h> ++#endif ++ + #ifndef MAP_ANONYMOUS + #ifdef MAP_ANON + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ diff --git a/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c b/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c new file mode 100644 index 000000000..5a3a624cb --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c @@ -0,0 +1,10 @@ +--- gst/gstmemchunk.c.orig Wed Aug 4 15:31:41 2004 ++++ gst/gstmemchunk.c Wed Aug 4 15:31:52 2004 +@@ -24,6 +24,7 @@ + #include "gstmemchunk.h" + #include "gsttrashstack.h" + #ifdef HAVE_VALGRIND ++#include <sys/types.h> + #include <sys/mman.h> + #include <valgrind/valgrind.h> + #endif diff --git a/multimedia/gstreamer80/files/patch-tools_Makefile.in b/multimedia/gstreamer80/files/patch-tools_Makefile.in new file mode 100644 index 000000000..c20261a9c --- /dev/null +++ b/multimedia/gstreamer80/files/patch-tools_Makefile.in @@ -0,0 +1,20 @@ +--- tools/Makefile.in.orig Thu Jan 19 14:34:47 2006 ++++ tools/Makefile.in Thu Jan 19 14:36:45 2006 +@@ -73,17 +73,10 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-@GST_DISABLE_REGISTRY_FALSE@am__EXEEXT_1 = gst-register$(EXEEXT) + @GST_DISABLE_REGISTRY_FALSE@am__EXEEXT_2 = gst-register-@GST_MAJORMINOR@$(EXEEXT) +-@GST_DISABLE_LOADSAVE_FALSE@am__EXEEXT_3 = gst-complete$(EXEEXT) \ +-@GST_DISABLE_LOADSAVE_FALSE@ gst-compprep$(EXEEXT) \ +-@GST_DISABLE_LOADSAVE_FALSE@ gst-xmllaunch$(EXEEXT) + @GST_DISABLE_LOADSAVE_FALSE@am__EXEEXT_4 = gst-complete-@GST_MAJORMINOR@$(EXEEXT) \ + @GST_DISABLE_LOADSAVE_FALSE@ gst-compprep-@GST_MAJORMINOR@$(EXEEXT) \ + @GST_DISABLE_LOADSAVE_FALSE@ gst-xmllaunch-@GST_MAJORMINOR@$(EXEEXT) +-am__EXEEXT_5 = gst-feedback$(EXEEXT) gst-inspect$(EXEEXT) \ +- gst-launch$(EXEEXT) gst-md5sum$(EXEEXT) gst-typefind$(EXEEXT) \ +- gst-xmlinspect$(EXEEXT) + am__EXEEXT_6 = gst-inspect-@GST_MAJORMINOR@$(EXEEXT) \ + gst-launch-@GST_MAJORMINOR@$(EXEEXT) \ + gst-md5sum-@GST_MAJORMINOR@$(EXEEXT) \ diff --git a/multimedia/gstreamer80/pkg-descr b/multimedia/gstreamer80/pkg-descr new file mode 100644 index 000000000..3e7e98b0e --- /dev/null +++ b/multimedia/gstreamer80/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/gstreamer80/pkg-plist b/multimedia/gstreamer80/pkg-plist new file mode 100644 index 000000000..638edaeef --- /dev/null +++ b/multimedia/gstreamer80/pkg-plist @@ -0,0 +1,155 @@ +bin/gst-complete-%%VERSION%% +bin/gst-compprep-%%VERSION%% +bin/gst-feedback-%%VERSION%% +bin/gst-inspect-%%VERSION%% +bin/gst-launch-%%VERSION%% +bin/gst-md5sum-%%VERSION%% +bin/gst-register-%%VERSION%% +bin/gst-typefind-%%VERSION%% +bin/gst-xmlinspect-%%VERSION%% +bin/gst-xmllaunch-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/bytestream/adapter.h +include/gstreamer-%%VERSION%%/gst/bytestream/bytestream.h +include/gstreamer-%%VERSION%%/gst/bytestream/filepad.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/dataprotocol/dataprotocol.h +include/gstreamer-%%VERSION%%/gst/getbits/getbits.h +include/gstreamer-%%VERSION%%/gst/gst.h +include/gstreamer-%%VERSION%%/gst/gstatomic.h +include/gstreamer-%%VERSION%%/gst/gstbin.h +include/gstreamer-%%VERSION%%/gst/gstbuffer.h +include/gstreamer-%%VERSION%%/gst/gstcaps.h +include/gstreamer-%%VERSION%%/gst/gstchildproxy.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/gsterror.h +include/gstreamer-%%VERSION%%/gst/gstevent.h +include/gstreamer-%%VERSION%%/gst/gstfilter.h +include/gstreamer-%%VERSION%%/gst/gstformat.h +include/gstreamer-%%VERSION%%/gst/gstindex.h +include/gstreamer-%%VERSION%%/gst/gstinfo.h +include/gstreamer-%%VERSION%%/gst/gstinterface.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/gstquery.h +include/gstreamer-%%VERSION%%/gst/gstqueue.h +include/gstreamer-%%VERSION%%/gst/gstregistry.h +include/gstreamer-%%VERSION%%/gst/gstregistrypool.h +include/gstreamer-%%VERSION%%/gst/gstscheduler.h +include/gstreamer-%%VERSION%%/gst/gststructure.h +include/gstreamer-%%VERSION%%/gst/gstsystemclock.h +include/gstreamer-%%VERSION%%/gst/gsttag.h +include/gstreamer-%%VERSION%%/gst/gsttaginterface.h +include/gstreamer-%%VERSION%%/gst/gstthread.h +include/gstreamer-%%VERSION%%/gst/gsttrace.h +include/gstreamer-%%VERSION%%/gst/gsttrashstack.h +include/gstreamer-%%VERSION%%/gst/gsttypefind.h +include/gstreamer-%%VERSION%%/gst/gsttypes.h +include/gstreamer-%%VERSION%%/gst/gsturi.h +include/gstreamer-%%VERSION%%/gst/gsturitype.h +include/gstreamer-%%VERSION%%/gst/gstutils.h +include/gstreamer-%%VERSION%%/gst/gstvalue.h +include/gstreamer-%%VERSION%%/gst/gstversion.h +include/gstreamer-%%VERSION%%/gst/gstxml.h +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.a +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.la +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.a +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.la +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstbytestream.a +lib/gstreamer-%%VERSION%%/libgstbytestream.la +lib/gstreamer-%%VERSION%%/libgstbytestream.so +lib/gstreamer-%%VERSION%%/libgstdataprotocol.a +lib/gstreamer-%%VERSION%%/libgstdataprotocol.la +lib/gstreamer-%%VERSION%%/libgstdataprotocol.so +lib/gstreamer-%%VERSION%%/libgstelements.a +lib/gstreamer-%%VERSION%%/libgstelements.la +lib/gstreamer-%%VERSION%%/libgstelements.so +lib/gstreamer-%%VERSION%%/libgstentrygthreadscheduler.a +lib/gstreamer-%%VERSION%%/libgstentrygthreadscheduler.la +lib/gstreamer-%%VERSION%%/libgstentrygthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstentryomegascheduler.a +lib/gstreamer-%%VERSION%%/libgstentryomegascheduler.la +lib/gstreamer-%%VERSION%%/libgstentryomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstfairgthreadscheduler.a +lib/gstreamer-%%VERSION%%/libgstfairgthreadscheduler.la +lib/gstreamer-%%VERSION%%/libgstfairgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstgetbits.a +lib/gstreamer-%%VERSION%%/libgstgetbits.la +lib/gstreamer-%%VERSION%%/libgstgetbits.so +lib/gstreamer-%%VERSION%%/libgstindexers.a +lib/gstreamer-%%VERSION%%/libgstindexers.la +lib/gstreamer-%%VERSION%%/libgstindexers.so +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.a +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.la +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.a +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.la +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstoptscheduler.a +lib/gstreamer-%%VERSION%%/libgstoptscheduler.la +lib/gstreamer-%%VERSION%%/libgstoptscheduler.so +lib/gstreamer-%%VERSION%%/libgstspider.a +lib/gstreamer-%%VERSION%%/libgstspider.la +lib/gstreamer-%%VERSION%%/libgstspider.so +lib/libgstcontrol-%%VERSION%%.a +lib/libgstcontrol-%%VERSION%%.la +lib/libgstcontrol-%%VERSION%%.so +lib/libgstcontrol-%%VERSION%%.so.%%SHLIB_VERSION%% +lib/libgstreamer-%%VERSION%%.a +lib/libgstreamer-%%VERSION%%.la +lib/libgstreamer-%%VERSION%%.so +lib/libgstreamer-%%VERSION%%.so.%%SHLIB_VERSION%% +libdata/pkgconfig/gstreamer-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-control-%%VERSION%%.pc +share/aclocal/gst-element-check-%%VERSION%%.m4 +share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +@unexec rm %D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true +@dirrm share/gnome/cache/gstreamer-%%VERSION%% +@dirrmtry share/gnome/cache +@dirrm lib/gstreamer-%%VERSION%% +@dirrm include/gstreamer-%%VERSION%%/gst/getbits +@dirrm include/gstreamer-%%VERSION%%/gst/dataprotocol +@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-0.8 --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true |