2011-10-21 23:18:22 +02:00
|
|
|
# Template file for 'evince'
|
|
|
|
pkgname=evince
|
2014-11-08 09:24:30 +01:00
|
|
|
version=3.14.1
|
2015-01-13 15:55:43 +01:00
|
|
|
revision=3
|
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-11-08 09:24:30 +01:00
|
|
|
checksum=13ec728d6957aa18ba21a3a66504dd52b8607596337f30f0908b62b5fcc14507
|
2013-03-28 10:19:02 +01:00
|
|
|
|
|
|
|
build_style=gnu-configure
|
2015-01-13 13:05:54 +01:00
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
configure_args="$(vopt_enable gir introspection) --disable-schemas-compile
|
2015-01-13 15:55:43 +01:00
|
|
|
--enable-comics --disable-static --enable-xps --disable-t1lib
|
|
|
|
--disable-browser-plugin"
|
2013-03-28 10:19:02 +01:00
|
|
|
|
2014-11-30 10:12:09 +01:00
|
|
|
hostmakedepends="pkg-config intltool itstool
|
2015-01-13 13:05:54 +01:00
|
|
|
gnome-doc-utils glib-devel $(vopt_if gir gobject-introspection)"
|
2013-03-28 10:19:02 +01:00
|
|
|
|
2013-05-15 15:02:27 +02:00
|
|
|
# XXX missing packages for DVI backend.
|
2014-11-30 10:12:09 +01:00
|
|
|
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.14
|
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-11-30 10:12:09 +01:00
|
|
|
gsettings-desktop-schemas-devel>=3.14 gnome-desktop-devel>=3.14"
|
2015-01-13 13:05:54 +01:00
|
|
|
depends="desktop-file-utils hicolor-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.*"
|
2015-01-13 13:05:54 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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/gtk-doc
|
2015-01-13 13:05:54 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|