summaryrefslogtreecommitdiffstats
path: root/multimedia/py3-gstreamer1
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
commitdfc30719d9758d9e6b3e06963e4bf5175ae16825 (patch)
tree3c84ec64b1dd1a9a2618a75efa664a18033890bd /multimedia/py3-gstreamer1
parentd0d9889c61e774a633eda7b5bce0688ca50d1ac8 (diff)
downloadmarcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.gz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.bz2
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.lz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.xz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.zst
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.zip
Update MC-ports to GNOME 3.12.
Dragons beware! Although most of them should be sleeping. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19571 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/py3-gstreamer1')
-rw-r--r--multimedia/py3-gstreamer1/Makefile32
-rw-r--r--multimedia/py3-gstreamer1/distinfo2
-rw-r--r--multimedia/py3-gstreamer1/pkg-descr10
-rw-r--r--multimedia/py3-gstreamer1/pkg-plist8
4 files changed, 52 insertions, 0 deletions
diff --git a/multimedia/py3-gstreamer1/Makefile b/multimedia/py3-gstreamer1/Makefile
new file mode 100644
index 000000000..a621fc784
--- /dev/null
+++ b/multimedia/py3-gstreamer1/Makefile
@@ -0,0 +1,32 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gstreamer1
+PORTVERSION= 1.2.0
+PORTREVISION= 1
+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= Python3 bindings for gstreamer
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake pathfix pkgconfig tar:bzip2
+USE_GNOME= py3gobject3
+USE_GSTREAMER1= yes
+GNU_CONFIGURE= yes
+USE_PYTHON= 3
+PLIST_SUB= VERSION="${GST_VERSION}" PYTVER=${PYTHON_VER:S/.//}
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|import _gi_gst|from . import _gi_gst|g' \
+ ${WRKSRC}/gi/overrides/Gst.py
+
+.include <bsd.port.mk>
diff --git a/multimedia/py3-gstreamer1/distinfo b/multimedia/py3-gstreamer1/distinfo
new file mode 100644
index 000000000..a2e2608a3
--- /dev/null
+++ b/multimedia/py3-gstreamer1/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gst-python-1.2.0.tar.bz2) = 81ae1eb4fadef1934b4107ec1b6c0faa0bb7e188fd64d96ae475dd8834f58625
+SIZE (gst-python-1.2.0.tar.bz2) = 410330
diff --git a/multimedia/py3-gstreamer1/pkg-descr b/multimedia/py3-gstreamer1/pkg-descr
new file mode 100644
index 000000000..ec5f4dcd7
--- /dev/null
+++ b/multimedia/py3-gstreamer1/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/py3-gstreamer1/pkg-plist b/multimedia/py3-gstreamer1/pkg-plist
new file mode 100644
index 000000000..fda4832cd
--- /dev/null
+++ b/multimedia/py3-gstreamer1/pkg-plist
@@ -0,0 +1,8 @@
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/Gst.py
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/GstPbutils.py
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/__pycache__/Gst.cpython-%%PYTVER%%.pyc
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/__pycache__/Gst.cpython-%%PYTVER%%.pyo
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/__pycache__/GstPbutils.cpython-%%PYTVER%%.pyc
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/__pycache__/GstPbutils.cpython-%%PYTVER%%.pyo
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/_gi_gst.la
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/_gi_gst.so