Import py-gstreamer-0.10.9
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. Joint work with jasper@ ok jasper@
This commit is contained in:
parent
9f34abac47
commit
5d03017521
38
multimedia/gstreamer-0.10/py-gstreamer/Makefile
Normal file
38
multimedia/gstreamer-0.10/py-gstreamer/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/22 08:53:41 ajacoutot Exp $
|
||||
|
||||
COMMENT= Python bindings for gstreamer
|
||||
|
||||
V= 0.10.9
|
||||
DISTNAME= gst-python-$V
|
||||
PKGNAME= py-gstreamer-$V
|
||||
|
||||
HOMEPAGE= http://gstreamer.freedesktop.org/modules/gst-python.html
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GST:=gst-python/}
|
||||
|
||||
WANTLIB= glib-2.0 gmodule-2.0 gobject-2.0 gstbase-0.10 gstcontroller-0.10 \
|
||||
gstdataprotocol-0.10 gstnet-0.10 gstreamer-0.10 gthread-2.0 \
|
||||
m pcre xml2 z
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
BUILD_DEPENDS= ::x11/py-gtk2
|
||||
RUN_DEPENDS= ::x11/py-gtk2 \
|
||||
:py-libxml-*:textproc/libxml,-python
|
||||
LIB_DEPENDS= gstinterfaces-0.10::multimedia/gstreamer-0.10/plugins-base
|
||||
|
||||
REGRESS_DEPENDS=::multimedia/gstreamer-0.10/plugins-good
|
||||
|
||||
# don't heritate from Makefile.inc
|
||||
# needed for the "regress" target
|
||||
SEPARATE_BUILD= No
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --disable-gcov
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/ && \
|
||||
${MODPY_BIN} -OOOO -c 'import pygst' && \
|
||||
${MODPY_BIN} -c 'import pygst'
|
||||
|
||||
.include <bsd.port.mk>
|
5
multimedia/gstreamer-0.10/py-gstreamer/distinfo
Normal file
5
multimedia/gstreamer-0.10/py-gstreamer/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (gst-python-0.10.9.tar.bz2) = gH4U6NBYRFUko04Hm7gwSA==
|
||||
RMD160 (gst-python-0.10.9.tar.bz2) = xYxM9eu6e/UtvIpt4dg0YFAWZlE=
|
||||
SHA1 (gst-python-0.10.9.tar.bz2) = S6gDOjtNEoBCWNucTPCmM2fMlZI=
|
||||
SHA256 (gst-python-0.10.9.tar.bz2) = nATHxQN0v1jFzIwwQA0nON8/tD0Fa9xEHTPUzp+z5LQ=
|
||||
SIZE (gst-python-0.10.9.tar.bz2) = 447963
|
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-gst___init___py,v 1.1.1.1 2008/01/22 08:53:41 ajacoutot Exp $
|
||||
--- gst/__init__.py.orig Thu Jun 14 21:14:12 2007
|
||||
+++ gst/__init__.py Mon Jan 21 11:06:21 2008
|
||||
@@ -122,13 +122,13 @@ class Fraction(Value):
|
||||
import sys
|
||||
dlsave = sys.getdlopenflags()
|
||||
try:
|
||||
- from DLFCN import RTLD_GLOBAL, RTLD_LAZY
|
||||
+ from dl import RTLD_GLOBAL, RTLD_LAZY
|
||||
except ImportError:
|
||||
RTLD_GLOBAL = -1
|
||||
RTLD_LAZY = -1
|
||||
import os
|
||||
osname = os.uname()[0]
|
||||
- if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD':
|
||||
+ if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'OpenBSD':
|
||||
RTLD_GLOBAL = 0x100
|
||||
RTLD_LAZY = 0x1
|
||||
elif osname == 'Darwin':
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-testsuite_test_interface_py,v 1.1.1.1 2008/01/22 08:53:41 ajacoutot Exp $
|
||||
--- testsuite/test_interface.py.orig Mon Jan 21 12:13:23 2008
|
||||
+++ testsuite/test_interface.py Mon Jan 21 12:13:31 2008
|
||||
@@ -46,7 +46,7 @@ class FunctionCall(TestCase):
|
||||
class MixerTest(TestCase):
|
||||
def setUp(self):
|
||||
TestCase.setUp(self)
|
||||
- self.mixer = gst.element_factory_make('alsasrc', '')
|
||||
+ self.mixer = gst.element_factory_make('osssrc', '')
|
||||
assert self.mixer
|
||||
|
||||
def tearDown(self):
|
3
multimedia/gstreamer-0.10/py-gstreamer/pkg/DESCR
Normal file
3
multimedia/gstreamer-0.10/py-gstreamer/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
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.
|
62
multimedia/gstreamer-0.10/py-gstreamer/pkg/PLIST
Normal file
62
multimedia/gstreamer-0.10/py-gstreamer/pkg/PLIST
Normal file
@ -0,0 +1,62 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/22 08:53:41 ajacoutot Exp $
|
||||
lib/pkgconfig/gst-python-${VERSION}.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/_gst.la
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/_gst.so
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/discoverer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/discoverer.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/discoverer.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/jukebox.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/jukebox.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/jukebox.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/leveller.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/leveller.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/leveller.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/pygobject.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/pygobject.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/pygobject.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/sources.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/sources.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/sources.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/extend/utils.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/interfaces.la
|
||||
lib/python${MODPY_VERSION}/site-packages/gst-${VERSION}/gst/interfaces.so
|
||||
lib/python${MODPY_VERSION}/site-packages/pygst.pth
|
||||
lib/python${MODPY_VERSION}/site-packages/pygst.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pygst.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pygst.pyo
|
||||
share/gst-python/
|
||||
share/gst-python/${VERSION}/
|
||||
share/gst-python/${VERSION}/defs/
|
||||
share/gst-python/${VERSION}/defs/base.defs
|
||||
share/gst-python/${VERSION}/defs/gst-extrafuncs.defs
|
||||
share/gst-python/${VERSION}/defs/gst-types.defs
|
||||
share/gst-python/${VERSION}/defs/libs.defs
|
||||
share/gst-python/${VERSION}/examples/
|
||||
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
|
Loading…
Reference in New Issue
Block a user