summaryrefslogtreecommitdiffstats
path: root/totem/Pkgfile
blob: e29bc5fd692a3f2fb2c106095b5fffc12701f402 (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
# Description: Le lecteur multimédia de GNOME
# URL: http://www.gnome.org/projects/totem/
# Maintainer: NuTyX GNOME team
# Packager: thierryn1 at hispeed dot ch
# Depends on: iso-codes, gst-plugins-good, nautilus, gst-plugins-bad, gst-plugins-ugly, gst-ffmpeg, totem-pl-parser
# Run on: rarian,iso-codes,gst-plugins-good,nautilus,gst-plugins-bad,gst-plugins-ugly,gst-ffmpeg,totem-pl-parser

name=totem
version=3.1.0
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2
	libgdata-9.1_api_fix.patch)

build() {
	cd $name-$version
	patch -p0 < ../libgdata-9.1_api_fix.patch
	autoreconf -if
	PYTHON=python2 ./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/$name \
		--enable-browser-plugins \
		--disable-debug \
		--disable-scrollkeeper \
		--enable-python \
		--enable-nautilus \
		--with-dbus
	make
	make DESTDIR=$PKG install
	
	sed -i "s|#!/usr/bin/python$|#!/usr/bin/python2|" $PKG/usr/lib/totem/{totem/totem-bugreport.py,plugins/iplayer/iplayer2.py}
}