summaryrefslogtreecommitdiffstats
path: root/totem/Pkgfile
blob: 65e8400dd1b690b765dd3251be43041abb38b8be (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, gnome-doc-utils, pyxdg, clutter-gst, clutter-gtk, xorg-libsm, mx, libpeas, pygobject3, libgdata, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-ffmpeg, totem-pl-parser, nautilus, bluez, pylint
# Run on: iso-codes,pyxdg,clutter-gst,clutter-gtk,xorg-libsm,mx,libpeas,pygobject3,libgdata,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly,gst-ffmpeg,totem-pl-parser,nautilus,bluez,pylint

name=totem
version=3.4.2
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}
}