diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-15 05:18:54 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-11-15 05:18:54 +0800 |
commit | 3bc51ee56f72f66ca82ec04110c20b7dd5d5d5c8 (patch) | |
tree | 80685c41efbde01a6499f13818ecbf0899dd2ec3 /multimedia/gstreamer | |
parent | 409166cba64d1a710388facc222322a25460b9b0 (diff) | |
download | marcuscom-ports-3bc51ee56f72f66ca82ec04110c20b7dd5d5d5c8.tar.gz marcuscom-ports-3bc51ee56f72f66ca82ec04110c20b7dd5d5d5c8.tar.zst marcuscom-ports-3bc51ee56f72f66ca82ec04110c20b7dd5d5d5c8.zip |
Update to 0.7.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1332 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer')
-rw-r--r-- | multimedia/gstreamer/Makefile | 64 | ||||
-rw-r--r-- | multimedia/gstreamer/distinfo | 1 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-configure | 29 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::cothreads.c | 20 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::gstthreaddummy.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst_parse_lex._gst_parse_yy.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-ltmain.sh | 42 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-plist | 101 |
9 files changed, 301 insertions, 0 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile new file mode 100644 index 000000000..9b1b8c6a3 --- /dev/null +++ b/multimedia/gstreamer/Makefile @@ -0,0 +1,64 @@ +# 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.15 2003/10/13 19:22:31 marcus Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.7.1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.7 +DIST_SUBDIR= gnome2 + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Development framework for creating media applications + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_X_PREFIX= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_REINPLACE= yes +WANT_GNOME= yes +USE_GNOME= gnomehack \ + gnomeprefix \ + glib20 \ + pkgconfig \ + libxml2 +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="${GST_VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" +INSTALLS_SHLIB= yes + +MAN1= gst-complete-${GST_VERSION}.1 gst-compprep-${GST_VERSION}.1 \ + gst-inspect-${GST_VERSION}.1 gst-launch-${GST_VERSION}.1 \ + gst-feedback-${GST_VERSION}.1 gst-md5sum-${GST_VERSION}.1 \ + gst-register-${GST_VERSION}.1 gst-xmllaunch-${GST_VERSION}.1 + +PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" +GST_VERSION=${PORTVERSION:C/..$//} + +# library minor number +SHLIB_VERSION= 3 + +post-install: +# register plugins + @${PREFIX}/bin/gst-register-${GST_VERSION} 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..f54622f2d --- /dev/null +++ b/multimedia/gstreamer/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gstreamer-0.7.1.tar.bz2) = cae564f506614a9bb9e351d23070d6ab diff --git a/multimedia/gstreamer/files/patch-configure b/multimedia/gstreamer/files/patch-configure new file mode 100644 index 000000000..11e54cb76 --- /dev/null +++ b/multimedia/gstreamer/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Sat Sep 27 14:13:57 2003 ++++ configure Sat Sep 27 14:18:37 2003 +@@ -8173,7 +8173,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 + #line $LINENO "configure" +@@ -8214,7 +8214,7 @@ + CFLAGS="$save_CFLAGS" + + if test "X$flag_ok" = Xyes ; then +- GST_ERROR="$GST_ERROR -Werror" ++ GST_ERROR="$GST_ERROR" + true + else + +@@ -9607,7 +9607,7 @@ + : + fi + +-if test "$ac_cv_check_mcsc" == "yes"; then ++if test "$ac_cv_check_mcsc" = "yes"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_MAKECONTEXT $HAVE_MAKECONTEXT 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-gst::gstthreaddummy.c b/multimedia/gstreamer/files/patch-gst::gstthreaddummy.c new file mode 100644 index 000000000..71bace480 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst::gstthreaddummy.c @@ -0,0 +1,10 @@ +--- gst/gstthreaddummy.c.orig Mon Jun 30 14:31:13 2003 ++++ gst/gstthreaddummy.c Fri Nov 14 15:36:22 2003 +@@ -17,6 +17,7 @@ + * Boston, MA 02111-1307, USA. + */ + ++#include <sys/types.h> + #include <unistd.h> + #include <sys/time.h> + #include <glib.h> diff --git a/multimedia/gstreamer/files/patch-gst_parse_lex._gst_parse_yy.c b/multimedia/gstreamer/files/patch-gst_parse_lex._gst_parse_yy.c new file mode 100644 index 000000000..b1ade2797 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst_parse_lex._gst_parse_yy.c @@ -0,0 +1,10 @@ +--- gst/parse/lex._gst_parse_yy.c.orig Fri Nov 14 15:41:20 2003 ++++ gst/parse/lex._gst_parse_yy.c Fri Nov 14 15:41:28 2003 +@@ -20,7 +20,6 @@ + #include <string.h> + #include <errno.h> + #include <stdlib.h> +-#include <stdint.h> /* May break IA64 test-noansi-r */ + + /* end standard C headers. */ + diff --git a/multimedia/gstreamer/files/patch-ltmain.sh b/multimedia/gstreamer/files/patch-ltmain.sh new file mode 100644 index 000000000..1c2fba5d5 --- /dev/null +++ b/multimedia/gstreamer/files/patch-ltmain.sh @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Fri Sep 13 15:38:11 2002 ++++ ltmain.sh Fri Oct 11 01:44:24 2002 +@@ -1073,8 +1073,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2502,6 +2510,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4286,10 +4297,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/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..0f1f15e62 --- /dev/null +++ b/multimedia/gstreamer/pkg-plist @@ -0,0 +1,101 @@ +@unexec %D/bin/gst-register 2>/dev/null || true +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/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/gstbytestream.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/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/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/gstregistrypool.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/gsturitype.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 +lib/gstreamer-%%VERSION%%/libgstautoplugcache.so +lib/gstreamer-%%VERSION%%/libgstautoplugger.so +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstelements.so +lib/gstreamer-%%VERSION%%/libgstgetbits.so +lib/gstreamer-%%VERSION%%/libgstindexers.so +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstoptscheduler.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 +share/aclocal/gst-element-check-%%VERSION%%.m4 +@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/getbits +@dirrm include/gstreamer-%%VERSION%%/gst/control +@dirrm include/gstreamer-%%VERSION%%/gst +@dirrm include/gstreamer-%%VERSION%% +@exec %D/bin/gst-register 2>/dev/null || true |