summaryrefslogtreecommitdiffstats
path: root/totem/Pkgfile
blob: e6bb251dfd114951af173ee921a78bdcb43d2591 (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
# 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, firefox
# Run on: rarian,iso-codes,gst-plugins-good,nautilus,gst-plugins-bad,gst-plugins-ugly,gst-ffmpeg,totem-pl-parser,firefox

name=totem
version=3.1.4
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	PYTHON=python2 ./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/$name \
		--enable-browser-plugins \
		--disable-debug \
		--disable-scrollkeeper \
		--enable-python \
		--enable-nautilus \
		--disable-gtk-doc
	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}
}