2011-10-21 23:18:22 +02:00
|
|
|
# Template file for 'evince'
|
|
|
|
pkgname=evince
|
2013-07-09 08:40:30 +02:00
|
|
|
version=3.8.3
|
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-03-28 10:19:02 +01:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
|
2013-07-09 08:40:30 +02:00
|
|
|
checksum=1526921201fabe833733e7c2552dfbe62085fd18d325a27c2fffb332e5e418bd
|
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-03-28 10:19:02 +01:00
|
|
|
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.8.0
|
|
|
|
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-04-12 10:23:11 +02:00
|
|
|
gsettings-desktop-schemas-devel>=3.8.0 gnome-icon-theme"
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|