aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-04-24 00:25:05 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-04-24 00:25:27 -0500
commit7cebd2b2b9e431a89ce1fee5745f216b4b4c21e4 (patch)
treec5184e94ce7d30bdfb9219633ee7b77b4d50dc03
parent3acecadcdf96cd8c8f27deec00351787a963fdf9 (diff)
downloadaports-7cebd2b2b9e431a89ce1fee5745f216b4b4c21e4.tar.bz2
aports-7cebd2b2b9e431a89ce1fee5745f216b4b4c21e4.tar.xz
main/py-gst: new aport
-rw-r--r--main/py-gst/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/main/py-gst/APKBUILD b/main/py-gst/APKBUILD
new file mode 100644
index 0000000000..b14d0e0146
--- /dev/null
+++ b/main/py-gst/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-gst
+pkgver=0.10.21
+pkgrel=0
+pkgdesc="python bindings for gstreamer"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+depends="py-gtk py-gobject"
+makedepends="gstreamer-dev gst-plugins-base-dev py-gtk-dev py-gobject-dev"
+install=""
+subpackages=""
+source="http://gstreamer.freedesktop.org/src/gst-python/gst-python-$pkgver.tar.gz"
+
+_builddir="$srcdir"/gst-python-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="aa4f428c2e8d3664dca118b12d872429 gst-python-0.10.21.tar.gz"