1 # Contributor: Andrew Grigorev <andrew@ei-grad.ru>
6 pkgdesc="Python bindings to Clutter-GST."
8 url="http://www.clutter-project.org/"
10 depends=('clutter>=1.0.0' 'gstreamer0.10' 'clutter-gst>=1.0.0' 'python2>=2.5.0' 'pyclutter' 'gstreamer0.10-python')
11 source=(http://www.clutter-project.org/sources/$pkgname/1.0/$pkgname-$pkgver.tar.bz2)
12 md5sums=('b1cc99a70042bb91ad75937405ed64d9')
15 cd "$startdir/src/$pkgname-$pkgver"
17 find . -name '*.py' -print0|xargs -0 \
18 sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
19 -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
21 # this is optional here, autoconf2.65-generated script finds python2 well
22 # without any hints... can't say that aboud autoconf-2.68..
23 export PYTHON=/usr/bin/python2
25 ./configure --prefix=/usr
27 make DESTDIR="$startdir/pkg" install