blob: efb71163c43609e242e248c15352063126bec74d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 147133 2012-01-22 11:30:42Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gstreamer0.10-python
pkgver=0.10.22
pkgrel=1
pkgdesc="Python bindings for GStreamer 0.10"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('pygobject>=2.20.0' 'gstreamer0.10-base>=0.10.32')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://gstreamer.freedesktop.org/src/gst-python/gst-python-${pkgver}.tar.bz2)
md5sums=('937152fe896241f827689f4b53e79b22')
build() {
cd "${srcdir}/gst-python-${pkgver}"
export PYTHON=python2
sed -i -e 's%^#!.*env python$%#!/usr/bin/env python2%' examples/* gst/extend/*.py
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/gst-python-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|