summaryrefslogtreecommitdiffstats
path: root/extra/gst-python/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gst-python/Pkgfile')
-rw-r--r--extra/gst-python/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/gst-python/Pkgfile b/extra/gst-python/Pkgfile
index 258f18d6a..a1887b3ad 100644
--- a/extra/gst-python/Pkgfile
+++ b/extra/gst-python/Pkgfile
@@ -2,7 +2,9 @@
# 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
+# Depends on:
+
+#gstreamer, gst-plugins-base, pygtk
name=gst-python
version=0.10.18
@@ -10,8 +12,9 @@ release=1
source=(http://gstreamer.freedesktop.org/src/gst-python/gst-python-$version.tar.bz2)
build() {
-cd $name-$version
- ./configure --prefix=/usr
+ 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
}