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

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
}