summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gstreamer0.10-python/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-09 03:53:51 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-09 03:53:51 (GMT)
commitef11eb6b507eb99358dec7c33daaddd8536ebdb4 (patch)
tree7a5971bb89dafa6ec4accb98830a8b976671dfe9 /abs/extra/community/gstreamer0.10-python/PKGBUILD
parentb516ea7067d5f1193476dedc5dad7d82008446a1 (diff)
parenta4bb0fdbcfcd42cbe2dfce9e0d28513d11c75107 (diff)
downloadlinhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.zip
linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.gz
linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/community/gstreamer0.10-python/PKGBUILD')
-rw-r--r--abs/extra/community/gstreamer0.10-python/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/community/gstreamer0.10-python/PKGBUILD b/abs/extra/community/gstreamer0.10-python/PKGBUILD
new file mode 100644
index 0000000..c9cb0db
--- /dev/null
+++ b/abs/extra/community/gstreamer0.10-python/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 94427 2010-10-07 08:56:26Z remy $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gstreamer0.10-python
+pkgver=0.10.18
+pkgrel=3
+pkgdesc="Python bindings for GStreamer 0.10"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://gstreamer.freedesktop.org/"
+depends=('pygobject>=2.20.0' 'gstreamer0.10-base>=0.10.28')
+makedepends=('pkgconfig')
+options=('!libtool')
+source=(http://gstreamer.freedesktop.org/src/gst-python/gst-python-${pkgver}.tar.bz2)
+sha256sums=('21a6a13736bd4c2cdcbde7d9c2791f1e47085d161eda84f8ee901bb744ddb897')
+
+build() {
+ cd "${srcdir}/gst-python-${pkgver}"
+ sed -i -e 's%^#!.*env python$%#!/usr/bin/env python2%' examples/* gst/extend/*.py
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/gst-python-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}