void-packages/srcpkgs/evince/template

55 lines
1.5 KiB
Bash
Raw Normal View History

2011-10-21 23:18:22 +02:00
# Template file for 'evince'
pkgname=evince
2015-03-11 13:30:38 +01:00
version=3.14.2
revision=1
2011-10-21 23:18:22 +02:00
short_desc="GNOME Document viewer for multiple document formats"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-10-21 23:18:22 +02:00
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"
2015-03-11 13:30:38 +01:00
checksum=4c591d0b879092a5f6c9140b75f15bdea3665a332e9b384957c453fd67bf0070
2013-03-28 10:19:02 +01:00
build_style=gnu-configure
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
configure_args="$(vopt_enable gir introspection) --disable-schemas-compile
--enable-comics --disable-static --enable-xps --disable-t1lib
--disable-browser-plugin"
2013-03-28 10:19:02 +01:00
hostmakedepends="pkg-config intltool itstool
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.
makedepends="tiff-devel libarchive-devel nautilus-devel
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
gsettings-desktop-schemas-devel gnome-desktop-devel"
depends="desktop-file-utils hicolor-icon-theme"
libevince_package() {
2013-05-15 15:02:27 +02:00
short_desc+=" - runtime libraries"
pkg_install() {
2013-07-09 08:40:30 +02:00
vmove "usr/lib/*.so.*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
evince-devel_package() {
2014-03-27 15:02:34 +01:00
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"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}