summaryrefslogtreecommitdiffstats
path: root/evince/Pkgfile
blob: 026da7b26c088c28d7717c67c6f6c6fb7d327f45 (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
# Description: Permet de visionner des documents aux différents formats (PS,PDF,...)
# URL: http://projects.gnome.org/evince/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: atk, cairo, libcups, dbus-glib, djvulibre, fontconfig, gnome-doc-utils, gconf, glitz, gnome-icon-theme, libgnome-keyring, gsfonts, gtk, orbit2, pango, xorg-libpixman, poppler-glib, shared-mime-info, libspectre, lcms, desktop-file-utils, nautilus, libgxps
# Run on: atk,cairo,libcups,dbus-glib,djvulibre,fontconfig,gconf,glitz,gnome-icon-theme,libgnome-keyring,gsfonts,gtk,orbit2,pango,xorg-libpixman,poppler-glib,shared-mime-info,libspectre,lcms,nautilus,libgxps

name=evince
version=3.1.90.1
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*.*}/$name-$version.tar.xz
	evince.desktop)

build() {
	cd $name-$version

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/evince \
		--enable-nautilus \
		--enable-pdf \
		--enable-tiff \
		--enable-djvu \
		--enable-dvi \
		--enable-t1lib \
		--enable-comics \
		--disable-scrollkeeper \
		--disable-schemas-compile \
		--enable-introspection

	make
	make DESTDIR=$PKG install
	
	rm -rf $PKG/usr/share/gtk-doc
	rm -rf $PKG/usr/share/gnome
	install -D -m 644 ../evince.desktop \
	$PKG/usr/share/applications/evince.desktop
}