diff options
Diffstat (limited to 'evince/Pkgfile')
-rw-r--r-- | evince/Pkgfile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/evince/Pkgfile b/evince/Pkgfile new file mode 100644 index 0000000..bf02b4d --- /dev/null +++ b/evince/Pkgfile @@ -0,0 +1,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 +} + + |