2011-10-21 23:18:22 +02:00
|
|
|
# Template file for 'evince'
|
|
|
|
pkgname=evince
|
2013-09-26 17:56:18 +02:00
|
|
|
version=3.10.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"
|
|
|
|
checksum=495e855af3f071277d79be97a36bf39938d13d09530e80412fed4b7c0b1bdd3e
|
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.
|
2013-09-26 17:56:18 +02:00
|
|
|
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.10
|
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
|
2013-09-26 17:56:18 +02:00
|
|
|
gsettings-desktop-schemas-devel>=3.10 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() {
|
|
|
|
depends="gtk+3-devel libevince-${version}_${revision}"
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2013-03-28 10:19:02 +01:00
|
|
|
|
2013-04-12 10:23:11 +02:00
|
|
|
evince_package() {
|
|
|
|
depends="desktop-file-utils hicolor-icon-theme gnome-icon-theme"
|
|
|
|
pkg_install() {
|
2013-05-15 15:02:27 +02:00
|
|
|
vmove all
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|