45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
# Template file for 'evince'
|
|
pkgname=evince
|
|
version=3.12.1
|
|
revision=1
|
|
short_desc="GNOME Document viewer for multiple document formats"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://projects.gnome.org/evince/"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=ef22cc29a7cbe70d2e7ce8c0b5b7ee774187ea69f3ae49a64c6d4a91559ef137
|
|
|
|
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"
|
|
|
|
# XXX missing packages for DVI backend.
|
|
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.12
|
|
poppler-glib-devel libxml2-devel djvulibre-devel libgxps-devel
|
|
libSM-devel libICE-devel libspectre-devel libsecret-devel
|
|
gsettings-desktop-schemas-devel>=3.12 gnome-icon-theme"
|
|
depends="desktop-file-utils hicolor-icon-theme gnome-icon-theme"
|
|
|
|
libevince_package() {
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
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
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|