842d754950
Closes #13322. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Template file for 'evince'
|
|
pkgname=evince
|
|
version=3.28.2
|
|
revision=1
|
|
configure_args="$(vopt_enable gir introspection) --disable-schemas-compile
|
|
--enable-comics --disable-static --enable-xps --disable-t1lib
|
|
--disable-browser-plugin"
|
|
build_style=gnu-configure
|
|
hostmakedepends="adwaita-icon-theme glib-devel gnome-doc-utils
|
|
gobject-introspection intltool itstool pkg-config"
|
|
# XXX missing packages for DVI backend.
|
|
makedepends="adwaita-icon-theme djvulibre-devel gnome-desktop-devel libSM-devel
|
|
libgxps-devel libsecret-devel libspectre-devel nautilus-devel
|
|
poppler-glib-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="GNOME Document viewer for multiple document formats"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://projects.gnome.org/evince/"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=0955d22d85c9f6d322b6cbb464f1cc4c352db619017ec95dad4cc5c3440f73e1
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
libevince_package() {
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/lib/girepository-1.0
|
|
fi
|
|
}
|
|
}
|
|
|
|
evince-devel_package() {
|
|
depends="gtk+3-devel libevince>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|