# Contributor: Leo # Contributor: Sören Tempel # Maintainer: Rasmus Thomsen pkgname=evince pkgver=3.34.2 pkgrel=0 pkgdesc="simple document viewer for GTK+" url="https://wiki.gnome.org/Apps/Evince" arch="all !s390x" # Limited by adwaita-icon-theme needing librsvg license="GPL-2.0-or-later" depends="adwaita-icon-theme" depends_dev="gtk+3.0-dev poppler-dev libsm-dev libevent-dev libxrandr-dev libx11-dev libxcursor-dev libxcomposite-dev libxi-dev util-linux-dev tiff-dev gobject-introspection-dev libxml2-dev libspectre-dev" makedepends="$depends_dev intltool itstool adwaita-icon-theme-dev gnome-common automake autoconf gtk-doc yelp-tools appstream-glib-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" source="https://download.gnome.org/sources/evince/${pkgver%.*}/evince-$pkgver.tar.xz" # secfixes: # 3.32.0-r1: # - CVE-2019-11459 # 3.24.0-r2: # - CVE-2017-1000083 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --disable-nautilus \ --without-keyring \ --without-gspell \ --enable-introspection \ --disable-static \ --enable-comics make } package() { make DESTDIR="$pkgdir" install } check() { make check } libs() { default_libs mv "$pkgdir"/usr/lib/* "$subpkgdir"/usr/lib/ } doc() { default_doc if [ -d "$pkgdir"/usr/share/help ]; then mv "$pkgdir"/usr/share/help "$subpkgdir"/usr/share/ fi } sha512sums="51bfa4671e17a98c536790185ece6f4f77b956062901f840cd298cdc3e42eb7e8cabe9bfa84387f185cdf7462a322ef54bbc463b988a677af68561e55acd9f12 evince-3.34.2.tar.xz"