void-packages/srcpkgs/evince/template

61 lines
1.6 KiB
Text
Raw Normal View History

2011-10-21 21:18:22 +00:00
# Template file for 'evince'
pkgname=evince
2013-03-28 09:19:02 +00:00
version=3.8.0
revision=2
2011-10-21 21:18:22 +00:00
short_desc="GNOME Document viewer for multiple document formats"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://projects.gnome.org/evince/"
license="GPL-2"
2013-03-28 09:19:02 +00:00
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=cf136d2a025ef486c4e248e0dc134e7a9420557d9edc0df1ceb6a6330fbd4e9a
2011-10-21 21:18:22 +00:00
long_desc="
Evince is specifically designed to support the file following formats:
* PDF
* Postscript
* djvu
* tiff
* dvi
* XPS
* SyncTex support with gedit
* comics books (cbr,cbz,cb7 and cbt)"
2013-03-28 09:19:02 +00:00
build_style=gnu-configure
configure_args="--enable-introspection --disable-schemas-compile
--enable-comics --disable-scrollkeeper --enable-xps --disable-t1lib
--disable-tests --disable-static"
hostmakedepends="which pkg-config intltool itstool
gnome-doc-utils gobject-introspection"
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.8.0
poppler-glib-devel libxml2-devel djvulibre-devel libgxps-devel
libICE-devel libspectre-devel libsecret-devel
gsettings-desktop-schemas-devel>=3.8.0 gnome-icon-theme"
libevince_package() {
short_desc="${short_desc} - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/girepository-1.0
}
}
evince-devel_package() {
depends="gtk+3-devel libevince-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
2013-03-28 09:19:02 +00:00
evince_package() {
# XXX missing packages for DVI backend.
depends="desktop-file-utils hicolor-icon-theme gnome-icon-theme"
pkg_install() {
vmove usr
}
}