summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-22 21:30:44 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-22 21:30:44 +0800
commitf8bcea896f8f3c1baeb8203c831881fa2bf08884 (patch)
tree36a1cf79934fa15cb92d59bc787eebf1d81f29c5
parent0981ec48261e0aa0ca6e1f5764b3505c42de01a1 (diff)
downloadmarcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar.gz
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar.bz2
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar.lz
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar.xz
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.tar.zst
marcuscom-ports-experimental-f8bcea896f8f3c1baeb8203c831881fa2bf08884.zip
New ports multimedia/py-gstreamer1 and multimedia/py3-gstreamer1, bindings
to integrate gstreamer in python code. git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19559 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--multimedia/py-gstreamer1/Makefile27
-rw-r--r--multimedia/py-gstreamer1/pkg-descr10
-rw-r--r--multimedia/py-gstreamer1/pkg-plist8
-rw-r--r--multimedia/py3-gstreamer1/Makefile27
-rw-r--r--multimedia/py3-gstreamer1/distinfo2
-rw-r--r--multimedia/py3-gstreamer1/pkg-descr10
-rw-r--r--multimedia/py3-gstreamer1/pkg-plist8
7 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer1/Makefile b/multimedia/py-gstreamer1/Makefile
new file mode 100644
index 0000000..95cfe56
--- /dev/null
+++ b/multimedia/py-gstreamer1/Makefile
@@ -0,0 +1,27 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gstreamer1
+PORTVERSION= 1.2.0
+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= Python2 bindings for gstreamer
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake pathfix pkgconfig tar:bzip2
+USE_GNOME= pygobject3
+USE_GSTREAMER1= yes
+GNU_CONFIGURE= yes
+USE_PYTHON= 2
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
+DISTINFO_FILE= ${.CURDIR}/../py3-gstreamer1/distinfo
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-gstreamer1/pkg-descr b/multimedia/py-gstreamer1/pkg-descr
new file mode 100644
index 0000000..ec5f4dc
--- /dev/null
+++ b/multimedia/py-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/py-gstreamer1/pkg-plist b/multimedia/py-gstreamer1/pkg-plist
new file mode 100644
index 0000000..e16b76c
--- /dev/null
+++ b/multimedia/py-gstreamer1/pkg-plist
@@ -0,0 +1,8 @@
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/Gst.py
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/Gst.pyc
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/Gst.pyo
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/GstPbutils.py
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/GstPbutils.pyc
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/GstPbutils.pyo
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/_gi_gst.la
+%%PYTHON_LIBDIR%%/site-packages/gi/overrides/_gi_gst.so
diff --git a/multimedia/py3-gstreamer1/Makefile b/multimedia/py3-gstreamer1/Makefile
new file mode 100644
index 0000000..3c02274
--- /dev/null
+++ b/multimedia/py3-gstreamer1/Makefile
@@ -0,0 +1,27 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gstreamer1
+PORTVERSION= 1.2.0
+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}
+
+.include <bsd.port.mk>
diff --git a/multimedia/py3-gstreamer1/distinfo b/multimedia/py3-gstreamer1/distinfo
new file mode 100644
index 0000000..a2e2608
--- /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 0000000..ec5f4dc
--- /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 0000000..fda4832
--- /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