summaryrefslogtreecommitdiffstats
path: root/gst-python/Pkgfile
blob: fae94d5c9aa0d3058de65635e9e21ce4ac2bc977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}