diff options
Diffstat (limited to 'gst-python/Pkgfile')
-rw-r--r-- | gst-python/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gst-python/Pkgfile b/gst-python/Pkgfile new file mode 100644 index 000000000..fae94d5c9 --- /dev/null +++ b/gst-python/Pkgfile @@ -0,0 +1,21 @@ +# Description: Connecteurs python pour gstreamer +# URL: http://gstreamer.freedesktop.org/modules/gst-python.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: gstreamer, gst-plugins-base, pygtk +# Run on: gstreamer,gst-plugins-base,pygtk + +name=gst-python +version=0.10.21 +release=1 +source=(http://gstreamer.freedesktop.org/src/gst-python/gst-python-$version.tar.bz2) + +build() { + cd $name-$version + sed -i -e 's%^#!.*env python$%#!/usr/bin/env python2%' examples/* gst/extend/*.py + PYTHON=python2 ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + + |