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