summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer/Makefile64
-rw-r--r--multimedia/gstreamer/distinfo3
-rw-r--r--multimedia/gstreamer/files/patch-Makefile.in18
-rw-r--r--multimedia/gstreamer/files/patch-gst_gstregistry.c11
-rw-r--r--multimedia/gstreamer/pkg-descr24
-rw-r--r--multimedia/gstreamer/pkg-plist181
6 files changed, 301 insertions, 0 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
new file mode 100644
index 000000000..150cc8529
--- /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$
+# $MCom$
+#
+
+PORTNAME= gstreamer
+PORTVERSION= 0.10.27
+CATEGORIES= multimedia
+MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ \
+ GNOME
+
+MAINTAINER= multimedia@FreeBSD.org
+COMMENT= Development framework for creating media applications
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+ g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
+
+CFLAGS:= ${CFLAGS} -O2 -Wno-format
+USE_BISON= build
+USE_XORG= x11 xv xext videoproto xextproto
+USE_BZIP2= yes
+USE_GMAKE= yes
+WANT_GNOME= yes
+USE_GNOME= gnomehack glib20 libxml2 ltverhack ltasneededhack
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool:22
+CONFIGURE_ARGS= --disable-tests \
+ --disable-examples \
+ --disable-failing-tests \
+ --disable-gtk-doc
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
+ ac_cv_func_register_printf_function="no" \
+ FLEX_PATH="${LOCALBASE}/bin/flex"
+PLIST_SUB= VERSION="${GST_VERSION}"
+USE_LDCONFIG= yes
+GST_VERSION= 0.10
+
+MAN1= gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
+ gst-launch-${GST_VERSION}.1 \
+ gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \
+ gst-xmllaunch-${GST_VERSION}.1
+
+.include <bsd.port.pre.mk>
+
+# workaround a gcc bug on 6.x
+.if ${OSVERSION} < 700000
+CONFIGURE_ENV+= gst_cv_uint128_t="no"
+.endif
+
+.if (exists(${LOCALBASE}/lib/libcheck.a) || defined(WITH_CHECK))
+LIB_DEPENDS+= check.0:${PORTSDIR}/devel/libcheck
+PLIST_SUB+= CHECK=""
+.else
+CONFIGURE_ARGS+=--disable-check
+PLIST_SUB+= CHECK="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/gstreamer/distinfo b/multimedia/gstreamer/distinfo
new file mode 100644
index 000000000..15c11c659
--- /dev/null
+++ b/multimedia/gstreamer/distinfo
@@ -0,0 +1,3 @@
+MD5 (gstreamer-0.10.27.tar.bz2) = b1a39f93555fa66fd053c25ebba2661f
+SHA256 (gstreamer-0.10.27.tar.bz2) = df5f2033bf671dff1d87d3607d3afb52621c76b042a193fa6b0dbcd68e3d69c8
+SIZE (gstreamer-0.10.27.tar.bz2) = 3166636
diff --git a/multimedia/gstreamer/files/patch-Makefile.in b/multimedia/gstreamer/files/patch-Makefile.in
new file mode 100644
index 000000000..fe7d89f4c
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig 2009-10-19 00:06:14.000000000 +0200
++++ Makefile.in 2009-10-19 00:07:47.000000000 +0200
+@@ -397,7 +397,6 @@ aclocaldir = $(datadir)/aclocal
+ aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
+ SUBDIRS = pkgconfig \
+ gst libs plugins tools tests \
+- docs \
+ po \
+ common
+
+@@ -405,7 +404,6 @@ SUBDIRS = pkgconfig \
+ # These are all the possible subdirs
+ DIST_SUBDIRS = pkgconfig \
+ gst libs plugins tools tests \
+- docs \
+ po \
+ common
+
diff --git a/multimedia/gstreamer/files/patch-gst_gstregistry.c b/multimedia/gstreamer/files/patch-gst_gstregistry.c
new file mode 100644
index 000000000..5a80c72cf
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-gst_gstregistry.c
@@ -0,0 +1,11 @@
+--- gst/gstregistry.c.orig 2010-01-20 02:48:56.000000000 +0100
++++ gst/gstregistry.c 2010-02-11 10:46:09.000000000 +0100
+@@ -1163,7 +1163,7 @@ gst_registry_scan_path_level (GstRegistr
+ G_GINT64_FORMAT " != %" G_GINT64_FORMAT " or external dependency "
+ "env_vars changed: %d or external dependencies changed: %d"
+ " or old path %s != new path %s",
+- plugin->file_mtime, file_status.st_mtime,
++ (glong) plugin->file_mtime, (glong) file_status.st_mtime,
+ (gint64) plugin->file_size, (gint64) file_status.st_size,
+ env_vars_changed, deps_changed, plugin->filename, filename);
+ gst_registry_remove_plugin (context->registry, plugin);
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..f5dcb8e22
--- /dev/null
+++ b/multimedia/gstreamer/pkg-plist
@@ -0,0 +1,181 @@
+bin/gst-feedback
+bin/gst-feedback-%%VERSION%%
+bin/gst-inspect
+bin/gst-inspect-%%VERSION%%
+bin/gst-launch
+bin/gst-launch-%%VERSION%%
+bin/gst-typefind
+bin/gst-typefind-%%VERSION%%
+bin/gst-xmlinspect
+bin/gst-xmlinspect-%%VERSION%%
+bin/gst-xmllaunch
+bin/gst-xmllaunch-%%VERSION%%
+include/gstreamer-%%VERSION%%/gst/base/gstadapter.h
+include/gstreamer-%%VERSION%%/gst/base/gstbasesink.h
+include/gstreamer-%%VERSION%%/gst/base/gstbasesrc.h
+include/gstreamer-%%VERSION%%/gst/base/gstbasetransform.h
+include/gstreamer-%%VERSION%%/gst/base/gstbitreader.h
+include/gstreamer-%%VERSION%%/gst/base/gstbytereader.h
+include/gstreamer-%%VERSION%%/gst/base/gstbytewriter.h
+include/gstreamer-%%VERSION%%/gst/base/gstcollectpads.h
+include/gstreamer-%%VERSION%%/gst/base/gstdataqueue.h
+include/gstreamer-%%VERSION%%/gst/base/gstpushsrc.h
+include/gstreamer-%%VERSION%%/gst/base/gsttypefindhelper.h
+%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstbufferstraw.h
+%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstcheck.h
+%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstconsistencychecker.h
+%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/internal-check.h
+include/gstreamer-%%VERSION%%/gst/controller/gstcontroller.h
+include/gstreamer-%%VERSION%%/gst/controller/gstcontrolsource.h
+include/gstreamer-%%VERSION%%/gst/controller/gstinterpolationcontrolsource.h
+include/gstreamer-%%VERSION%%/gst/controller/gstlfocontrolsource.h
+include/gstreamer-%%VERSION%%/gst/dataprotocol/dataprotocol.h
+include/gstreamer-%%VERSION%%/gst/glib-compat.h
+include/gstreamer-%%VERSION%%/gst/gst.h
+include/gstreamer-%%VERSION%%/gst/gstbin.h
+include/gstreamer-%%VERSION%%/gst/gstbuffer.h
+include/gstreamer-%%VERSION%%/gst/gstbufferlist.h
+include/gstreamer-%%VERSION%%/gst/gstbus.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/gstdebugutils.h
+include/gstreamer-%%VERSION%%/gst/gstelement.h
+include/gstreamer-%%VERSION%%/gst/gstelementfactory.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/gstghostpad.h
+include/gstreamer-%%VERSION%%/gst/gstindex.h
+include/gstreamer-%%VERSION%%/gst/gstindexfactory.h
+include/gstreamer-%%VERSION%%/gst/gstinfo.h
+include/gstreamer-%%VERSION%%/gst/gstinterface.h
+include/gstreamer-%%VERSION%%/gst/gstiterator.h
+include/gstreamer-%%VERSION%%/gst/gstmacros.h
+include/gstreamer-%%VERSION%%/gst/gstmarshal.h
+include/gstreamer-%%VERSION%%/gst/gstmessage.h
+include/gstreamer-%%VERSION%%/gst/gstminiobject.h
+include/gstreamer-%%VERSION%%/gst/gstobject.h
+include/gstreamer-%%VERSION%%/gst/gstpad.h
+include/gstreamer-%%VERSION%%/gst/gstpadtemplate.h
+include/gstreamer-%%VERSION%%/gst/gstparamspecs.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/gstpoll.h
+include/gstreamer-%%VERSION%%/gst/gstpreset.h
+include/gstreamer-%%VERSION%%/gst/gstquery.h
+include/gstreamer-%%VERSION%%/gst/gstregistry.h
+include/gstreamer-%%VERSION%%/gst/gstsegment.h
+include/gstreamer-%%VERSION%%/gst/gststructure.h
+include/gstreamer-%%VERSION%%/gst/gstsystemclock.h
+include/gstreamer-%%VERSION%%/gst/gsttaglist.h
+include/gstreamer-%%VERSION%%/gst/gsttagsetter.h
+include/gstreamer-%%VERSION%%/gst/gsttask.h
+include/gstreamer-%%VERSION%%/gst/gsttaskpool.h
+include/gstreamer-%%VERSION%%/gst/gsttrace.h
+include/gstreamer-%%VERSION%%/gst/gsttypefind.h
+include/gstreamer-%%VERSION%%/gst/gsttypefindfactory.h
+include/gstreamer-%%VERSION%%/gst/gsturi.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
+include/gstreamer-%%VERSION%%/gst/net/gstnet.h
+include/gstreamer-%%VERSION%%/gst/net/gstnetclientclock.h
+include/gstreamer-%%VERSION%%/gst/net/gstnettimepacket.h
+include/gstreamer-%%VERSION%%/gst/net/gstnettimeprovider.h
+lib/girepository-1.0/Gst-%%VERSION%%.typelib
+lib/girepository-1.0/GstBase-%%VERSION%%.typelib
+%%CHECK%%lib/girepository-1.0/GstCheck-%%VERSION%%.typelib
+lib/girepository-1.0/GstController-%%VERSION%%.typelib
+lib/girepository-1.0/GstNet-%%VERSION%%.typelib
+lib/gstreamer-%%VERSION%%/libgstcoreelements.la
+lib/gstreamer-%%VERSION%%/libgstcoreelements.so
+lib/gstreamer-%%VERSION%%/libgstcoreindexers.la
+lib/gstreamer-%%VERSION%%/libgstcoreindexers.so
+lib/libgstbase-%%VERSION%%.a
+lib/libgstbase-%%VERSION%%.la
+lib/libgstbase-%%VERSION%%.so
+lib/libgstbase-%%VERSION%%.so.0
+%%CHECK%%lib/libgstcheck-%%VERSION%%.a
+%%CHECK%%lib/libgstcheck-%%VERSION%%.la
+%%CHECK%%lib/libgstcheck-%%VERSION%%.so
+%%CHECK%%lib/libgstcheck-%%VERSION%%.so.0
+lib/libgstcontroller-%%VERSION%%.a
+lib/libgstcontroller-%%VERSION%%.la
+lib/libgstcontroller-%%VERSION%%.so
+lib/libgstcontroller-%%VERSION%%.so.0
+lib/libgstdataprotocol-%%VERSION%%.a
+lib/libgstdataprotocol-%%VERSION%%.la
+lib/libgstdataprotocol-%%VERSION%%.so
+lib/libgstdataprotocol-%%VERSION%%.so.0
+lib/libgstnet-%%VERSION%%.a
+lib/libgstnet-%%VERSION%%.la
+lib/libgstnet-%%VERSION%%.so
+lib/libgstnet-%%VERSION%%.so.0
+lib/libgstreamer-%%VERSION%%.a
+lib/libgstreamer-%%VERSION%%.la
+lib/libgstreamer-%%VERSION%%.so
+lib/libgstreamer-%%VERSION%%.so.0
+libdata/pkgconfig/gstreamer-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc
+%%CHECK%%libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-controller-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-dataprotocol-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc
+libexec/gstreamer-%%VERSION%%/gst-plugin-scanner
+share/aclocal/gst-element-check-%%VERSION%%.m4
+share/gir-1.0/Gst-%%VERSION%%.gir
+share/gir-1.0/GstBase-%%VERSION%%.gir
+%%CHECK%%share/gir-1.0/GstCheck-%%VERSION%%.gir
+share/gir-1.0/GstController-%%VERSION%%.gir
+share/gir-1.0/GstNet-%%VERSION%%.gir
+share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/be/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/bg/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/eu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/es/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/fi/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/hu/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/id/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/ja/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/pl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/pt_BR/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/ru/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/rw/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/sk/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
+share/locale/zh_CN/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+share/locale/zh_TW/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrm libexec/gstreamer-%%VERSION%%
+@dirrm lib/gstreamer-%%VERSION%%
+@dirrm include/gstreamer-%%VERSION%%/gst/net
+@dirrm include/gstreamer-%%VERSION%%/gst/dataprotocol
+@dirrm include/gstreamer-%%VERSION%%/gst/controller
+%%CHECK%%@dirrm include/gstreamer-%%VERSION%%/gst/check
+@dirrm include/gstreamer-%%VERSION%%/gst/base
+@dirrm include/gstreamer-%%VERSION%%/gst
+@dirrm include/gstreamer-%%VERSION%%