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