blob: b51e173d9beb11ad672f47d77025e5e650608410 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $Id: PKGBUILD 91878 2013-05-28 18:07:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=flumotion
pkgver=0.10.1
pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="A streaming media server"
url="http://www.flumotion.net"
options=('!libtool')
license=('GPL')
backup=(etc/flumotion/workers/default.xml
etc/flumotion/managers/default/planet.xml)
depends=('gtk2' 'pygtk' 'gstreamer0.10-python' 'kiwi' 'gstreamer0.10-good-plugins'
'gstreamer0.10-base-plugins' 'python2-pyopenssl' 'twisted' 'gnome-vfs')
makedepends=('perlxml')
source=(http://www.flumotion.net/src/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('fbbb2f4ccf0624742c5ca8238f3ec5e0')
build() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
sed -i 's_candidate in python_candidate in python2_' configure
for file in $(find . -name '*.py' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d "$pkgdir/etc/$pkgname"
make DESTDIR="$pkgdir" install
cp -R conf/workers "$pkgdir/etc/$pkgname"
cp -R conf/managers "$pkgdir/etc/$pkgname"
cp conf/default.pem "$pkgdir/etc/$pkgname"
}
|