evince: added gir build option; does not need gnome-icon-theme.
This commit is contained in:
parent
cf7e5936fc
commit
d1d5414fce
1 changed files with 16 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'evince'
|
||||
pkgname=evince
|
||||
version=3.14.1
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="GNOME Document viewer for multiple document formats"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://projects.gnome.org/evince/"
|
||||
|
@ -10,27 +10,34 @@ distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|||
checksum=13ec728d6957aa18ba21a3a66504dd52b8607596337f30f0908b62b5fcc14507
|
||||
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-introspection --disable-schemas-compile
|
||||
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"
|
||||
|
||||
hostmakedepends="pkg-config intltool itstool
|
||||
gnome-doc-utils gobject-introspection glib-devel"
|
||||
gnome-doc-utils glib-devel $(vopt_if gir gobject-introspection)"
|
||||
|
||||
# XXX missing packages for DVI backend.
|
||||
makedepends="tiff-devel libarchive-devel nautilus-devel>=3.14
|
||||
poppler-glib-devel libxml2-devel djvulibre-devel libgxps-devel
|
||||
libSM-devel libICE-devel libspectre-devel libsecret-devel
|
||||
gsettings-desktop-schemas-devel>=3.14 gnome-desktop-devel>=3.14"
|
||||
depends="desktop-file-utils hicolor-icon-theme gnome-icon-theme"
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
|
||||
libevince_package() {
|
||||
short_desc+=" - runtime libraries"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
vmove usr/lib/girepository-1.0
|
||||
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"
|
||||
|
@ -38,7 +45,9 @@ evince-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/gtk-doc
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue