aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/py-gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/py-gstreamer')
-rw-r--r--multimedia/py-gstreamer/Makefile10
-rw-r--r--multimedia/py-gstreamer/distinfo6
-rw-r--r--multimedia/py-gstreamer/pkg-plist115
3 files changed, 70 insertions, 61 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
index 0ac76f6ecf1..58843ab18ec 100644
--- a/multimedia/py-gstreamer/Makefile
+++ b/multimedia/py-gstreamer/Makefile
@@ -3,11 +3,12 @@
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
-# $MCom: ports/multimedia/py-gstreamer/Makefile,v 1.13 2006/10/05 19:34:49 mezz Exp $
+# $MCom: ports/multimedia/py-gstreamer/Makefile,v 1.17 2008/03/21 04:06:13 ahze Exp $
#
PORTNAME= gstreamer
-PORTVERSION= 0.10.8
+PORTVERSION= 0.10.11
+PORTREVISION= 0
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,11 +26,16 @@ USE_GMAKE= yes
USE_GNOME= pygtk2 gnomehack pkgconfig
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
+PLIST_SUB= VERSION="${GST_VERSION}"
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' && \
diff --git a/multimedia/py-gstreamer/distinfo b/multimedia/py-gstreamer/distinfo
index 4938257d418..dc45c066e69 100644
--- a/multimedia/py-gstreamer/distinfo
+++ b/multimedia/py-gstreamer/distinfo
@@ -1,3 +1,3 @@
-MD5 (gst-python-0.10.8.tar.bz2) = c9a7a6324104dc84502fc066c4fc4220
-SHA256 (gst-python-0.10.8.tar.bz2) = f1aeb28d27ea4078467125e7eb5ee2b16b08443c9f5f3aa1010d262c37aacc0b
-SIZE (gst-python-0.10.8.tar.bz2) = 444134
+MD5 (gst-python-0.10.11.tar.bz2) = 357105974cc0fcdc6eabba446452168a
+SHA256 (gst-python-0.10.11.tar.bz2) = 946d12f5daa2268bcf5ea2bcc1d14cca0c58a870405393175274c9bf4f2eb9e7
+SIZE (gst-python-0.10.11.tar.bz2) = 469359
diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist
index e744e5c551a..617a43e82ca 100644
--- a/multimedia/py-gstreamer/pkg-plist
+++ b/multimedia/py-gstreamer/pkg-plist
@@ -1,61 +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-%%VERSION%%/gst/__init__.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/_gst.la
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/_gst.so
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.py
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.pyc
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.pyo
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/interfaces.la
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/interfaces.so
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/pbutils.la
+%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/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/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
+libdata/pkgconfig/gst-python-%%VERSION%%.pc
+share/gst-python/%%VERSION%%/defs/base.defs
+share/gst-python/%%VERSION%%/defs/gst-extrafuncs.defs
+share/gst-python/%%VERSION%%/defs/pbutils.defs
+share/gst-python/%%VERSION%%/defs/gst-types.defs
+share/gst-python/%%VERSION%%/defs/libs.defs
+share/gst-python/%%VERSION%%/examples/audio-controller.py
+share/gst-python/%%VERSION%%/examples/audioconcat.py
+share/gst-python/%%VERSION%%/examples/bps.py
+share/gst-python/%%VERSION%%/examples/cp.py
+share/gst-python/%%VERSION%%/examples/debugslider.py
+share/gst-python/%%VERSION%%/examples/decodebin.py
+share/gst-python/%%VERSION%%/examples/f2f.py
+share/gst-python/%%VERSION%%/examples/filesrc.py
+share/gst-python/%%VERSION%%/examples/fvumeter.py
+share/gst-python/%%VERSION%%/examples/gst-discover
+share/gst-python/%%VERSION%%/examples/gstfile.py
+share/gst-python/%%VERSION%%/examples/mixer.py
+share/gst-python/%%VERSION%%/examples/pipeline-tester
+share/gst-python/%%VERSION%%/examples/play.py
+share/gst-python/%%VERSION%%/examples/remuxer.py
+share/gst-python/%%VERSION%%/examples/sinkelement.py
+share/gst-python/%%VERSION%%/examples/vumeter.py
+@dirrm share/gst-python/%%VERSION%%/examples
+@dirrm share/gst-python/%%VERSION%%/defs
+@dirrm share/gst-python/%%VERSION%%
@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
+@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend
+@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst
+@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%%