summaryrefslogtreecommitdiffstats
path: root/extra/gst-python/Pkgfile
blob: 74d4c106cfc81cb795119020acc260caaee28b62 (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.18
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
}