void-packages/srcpkgs/evince/template

46 lines
1.4 KiB
Text
Raw Normal View History

2011-10-21 21:18:22 +00:00
# Template file for 'evince'
pkgname=evince
2014-03-27 14:02:34 +00:00
version=3.12.0
2013-05-15 13:02:27 +00:00
revision=1
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-09-26 15:56:18 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2014-03-27 14:02:34 +00:00
checksum=64fb8aa2c6d02abb271b000008c2b534bb1fcbff0528335d03fed0d1b7cd6fa0
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"
2013-05-15 13:02:27 +00:00
# XXX missing packages for DVI backend.
2014-03-27 14:02:34 +00:00
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.12
2013-03-28 09:19:02 +00:00
poppler-glib-devel libxml2-devel djvulibre-devel libgxps-devel
2013-04-16 09:13:43 +00:00
libSM-devel libICE-devel libspectre-devel libsecret-devel
2014-03-27 14:02:34 +00:00
gsettings-desktop-schemas-devel>=3.12 gnome-icon-theme"
depends="desktop-file-utils hicolor-icon-theme gnome-icon-theme"
libevince_package() {
2013-05-15 13:02:27 +00:00
short_desc+=" - runtime libraries"
pkg_install() {
2013-07-09 06:40:30 +00:00
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
}
}
evince-devel_package() {
2014-03-27 14:02:34 +00:00
depends="gtk+3-devel libevince>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-09 06:40:30 +00:00
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}