aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-gst0.10
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-21 12:16:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-21 12:17:27 +0000
commite266952262666a90cacb34abceff4c028425380b (patch)
treeac75ec5932a7706cbe151330e2cc9d8a246eb60f /main/py-gst0.10
parentf347f6e9f256433c28a204cca48df1065d28d874 (diff)
downloadaports-e266952262666a90cacb34abceff4c028425380b.tar.bz2
aports-e266952262666a90cacb34abceff4c028425380b.tar.xz
main/py-gst0.10: renamed and build against renamed gstreamer0.10
Diffstat (limited to 'main/py-gst0.10')
-rw-r--r--main/py-gst0.10/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/main/py-gst0.10/APKBUILD b/main/py-gst0.10/APKBUILD
new file mode 100644
index 0000000000..2bcafe8f99
--- /dev/null
+++ b/main/py-gst0.10/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-gst0.10
+_pkgname=gst-python
+pkgver=0.10.22
+pkgrel=0
+pkgdesc="python bindings for gstreamer"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL2+"
+replaces="py-gst"
+depends="py-gtk py-gobject"
+makedepends="gstreamer0.10-dev gst-plugins-base0.10-dev py-gtk-dev
+ py-gobject-dev"
+install=""
+subpackages=""
+source="http://gstreamer.freedesktop.org/src/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --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
+ rm "$pkgdir"/usr/lib/gstreamer-0.10/*.la \
+ "$pkgdir"/usr/lib/python*/site-packages/gst*/gst/*.la \
+ "$pkgdir"/usr/lib/python*/site-packages/*.la || return 1
+}
+
+md5sums="83cfa59d596bb876b6b576027f2d2b0e gst-python-0.10.22.tar.gz"