summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-04 23:48:40 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-04 23:48:40 +0800
commit078f95e51a0989575b7e553b853ac7c35ca337ed (patch)
tree0075314a2ff4822949d55bfd4802c6a8b44ed79f /multimedia
parent3373c0d3fb32977bd054659216b6ca7df67a8082 (diff)
downloadmarcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar.gz
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar.bz2
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar.lz
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar.xz
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.tar.zst
marcuscom-ports-078f95e51a0989575b7e553b853ac7c35ca337ed.zip
Update to 0.10.10.
Replace alsa[sink,src] in examples with oss[sink,src]. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10336 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/py-gstreamer/Makefile42
-rw-r--r--multimedia/py-gstreamer/distinfo3
-rw-r--r--multimedia/py-gstreamer/pkg-descr10
-rw-r--r--multimedia/py-gstreamer/pkg-plist64
4 files changed, 119 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
new file mode 100644
index 000000000..e017aa70c
--- /dev/null
+++ b/multimedia/py-gstreamer/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gstreamer-python
+# Date created: Fri Apr 9 16:24:13 CEST 2004
+# Whom: Koop Mast <kwm@rainbow-runner.nl>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gstreamer
+PORTVERSION= 0.10.10
+CATEGORIES= multimedia python gnome
+MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= gst-python-${PORTVERSION}
+
+MAINTAINER= multimedia@FreeBSD.org
+COMMENT= A set of Python bindings for gstreamer
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
+
+USE_PYTHON= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= pygtk2 gnomehack pkgconfig
+USE_GSTREAMER= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
+.for d in audio-controller.py decodebin.py pipeline-tester mixer.py vumeter.py
+ @${REINPLACE_CMD} -e 's|alsasink|osssink|g' -e 's|alsasrc|osssink|g' \
+ ${WRKSRC}/examples/${d}
+.endfor
+
+post-install:
+ @cd ${PYTHONPREFIX_SITELIBDIR} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \
+ ${PYTHON_CMD} -c 'import pygst'
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-gstreamer/distinfo b/multimedia/py-gstreamer/distinfo
new file mode 100644
index 000000000..5518ef8b8
--- /dev/null
+++ b/multimedia/py-gstreamer/distinfo
@@ -0,0 +1,3 @@
+MD5 (gst-python-0.10.10.tar.bz2) = 6183d61e434b5d34f232248a35571627
+SHA256 (gst-python-0.10.10.tar.bz2) = c875753a6cccd40a79f5824ea5ec51ee4615a4f22103e4adfc6a0221bf615d8e
+SIZE (gst-python-0.10.10.tar.bz2) = 468099
diff --git a/multimedia/py-gstreamer/pkg-descr b/multimedia/py-gstreamer/pkg-descr
new file mode 100644
index 000000000..ec5f4dcd7
--- /dev/null
+++ b/multimedia/py-gstreamer/pkg-descr
@@ -0,0 +1,10 @@
+gst-python provides a convenient wrapper for the GStreamer library for
+use in Python programs, and takes care of many of the boring details
+such as managing memory and type casting.
+
+Like the GTK library itself gst-python is licensed under the GNU LGPL, so is
+suitable for use in both free software and proprietary applications. It
+is already in use in many applications ranging from small single purpose
+scripts up to large full features applications.
+
+WWW: http://gstreamer.freedesktop.org/
diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist
new file mode 100644
index 000000000..cae845e65
--- /dev/null
+++ b/multimedia/py-gstreamer/pkg-plist
@@ -0,0 +1,64 @@
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/__init__.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/_gst.la
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/_gst.so
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/__init__.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/discoverer.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/discoverer.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/discoverer.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/jukebox.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/jukebox.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/jukebox.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/leveller.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/leveller.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/leveller.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/pygobject.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/pygobject.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/pygobject.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/sources.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/sources.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/sources.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/utils.py
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/utils.pyc
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend/utils.pyo
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/interfaces.la
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/interfaces.so
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/pbutils.la
+%%PYTHON_SITELIBDIR%%/gst-0.10/gst/pbutils.so
+%%PYTHON_SITELIBDIR%%/pygst.pth
+%%PYTHON_SITELIBDIR%%/pygst.py
+%%PYTHON_SITELIBDIR%%/pygst.pyc
+%%PYTHON_SITELIBDIR%%/pygst.pyo
+libdata/pkgconfig/gst-python-0.10.pc
+share/gst-python/0.10/defs/base.defs
+share/gst-python/0.10/defs/gst-extrafuncs.defs
+share/gst-python/0.10/defs/pbutils.defs
+share/gst-python/0.10/defs/gst-types.defs
+share/gst-python/0.10/defs/libs.defs
+share/gst-python/0.10/examples/audio-controller.py
+share/gst-python/0.10/examples/audioconcat.py
+share/gst-python/0.10/examples/bps.py
+share/gst-python/0.10/examples/cp.py
+share/gst-python/0.10/examples/debugslider.py
+share/gst-python/0.10/examples/decodebin.py
+share/gst-python/0.10/examples/f2f.py
+share/gst-python/0.10/examples/filesrc.py
+share/gst-python/0.10/examples/fvumeter.py
+share/gst-python/0.10/examples/gst-discover
+share/gst-python/0.10/examples/gstfile.py
+share/gst-python/0.10/examples/mixer.py
+share/gst-python/0.10/examples/pipeline-tester
+share/gst-python/0.10/examples/play.py
+share/gst-python/0.10/examples/remuxer.py
+share/gst-python/0.10/examples/sinkelement.py
+share/gst-python/0.10/examples/vumeter.py
+@dirrm share/gst-python/0.10/examples
+@dirrm share/gst-python/0.10/defs
+@dirrm share/gst-python/0.10
+@dirrmtry share/gst-python
+@dirrm %%PYTHON_SITELIBDIR%%/gst-0.10/gst/extend
+@dirrm %%PYTHON_SITELIBDIR%%/gst-0.10/gst
+@dirrm %%PYTHON_SITELIBDIR%%/gst-0.10