aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-04-06 13:01:57 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-04-06 13:01:57 +0200
commitb7bd3dd8008d4b78906b739bbe4d5a88a127061b (patch)
treeccfc2ccabf3b7873bde75c9b9460edec7872e1d6 /testing
parent7e0a0e260167aef03c1fdefa0fb12003c60b09ea (diff)
downloadaports-b7bd3dd8008d4b78906b739bbe4d5a88a127061b.tar.bz2
aports-b7bd3dd8008d4b78906b739bbe4d5a88a127061b.tar.xz
testing/py-gst1: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-gst1/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py-gst1/APKBUILD b/testing/py-gst1/APKBUILD
new file mode 100644
index 0000000000..3d94ac8b9e
--- /dev/null
+++ b/testing/py-gst1/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-gst1
+pkgver=1.8.1
+pkgrel=0
+pkgdesc="GStreamer Python binding"
+url="https://cgit.freedesktop.org/gstreamer/gst-python/"
+arch="all"
+license="LGPL-2.1"
+depends=""
+depends_dev="py-gobject3 gst-plugins-base1"
+makedepends="gstreamer1-dev py-gobject3-dev python2-dev gst-plugins-base1-dev
+ "
+install=""
+subpackages=""
+source="http://gstreamer.freedesktop.org/src/gst-python/gst-python-$pkgver.tar.xz
+ "
+builddir="$srcdir/gst-python-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="4ff6244048d24c1b51efd72f7bfb75be401f53c552c0f6282ee7eb80790f46f320c9952bcc4c2be88d56e4564b66993b5e8a67e876ec4eb2445e598c7e2abd95 gst-python-1.8.1.tar.xz"