summaryrefslogtreecommitdiffstats
path: root/evince/Pkgfile
blob: bf02b4d6218f44a38411da200abfa32ce8ec3420 (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
42
43
# 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.2
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz
	introspection-fix.patch
	evince.desktop)

build() {
	cd $name-$version

	patch -Np1 -i ../introspection-fix.patch

	./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
	install -D -m 644 ../evince.desktop \
	$PKG/usr/share/applications/evince.desktop
}