summaryrefslogtreecommitdiffstats
path: root/totem/Pkgfile
blob: dfe7de72a94cf7e1a64d785fcc088bc364507356 (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, firefox, nautilus
# 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,firefox,nautilus

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