diff options
Diffstat (limited to 'main/py-gst')
-rw-r--r-- | main/py-gst/APKBUILD | 43 |
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" |