Date: Friday, March 15, 2019 @ 21:06:57 Author: heftig Revision: 348371
3.32.0-1 Modified: evince/trunk/PKGBUILD ----------+ PKGBUILD | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-15 21:06:33 UTC (rev 348370) +++ PKGBUILD 2019-03-15 21:06:57 UTC (rev 348371) @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <[email protected]> pkgname=evince -pkgver=3.30.2 +pkgver=3.32.0 pkgrel=1 pkgdesc="Document viewer (PDF, Postscript, djvu, tiff, dvi, XPS, SyncTex support with gedit, comics books (cbr,cbz,cb7 and cbt))" url="https://wiki.gnome.org/Apps/Evince" @@ -10,13 +10,13 @@ license=(GPL) depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre t1lib dconf libsecret libsynctex gsettings-desktop-schemas gnome-desktop libarchive gst-plugins-base-libs gspell) -makedepends=(itstool libnautilus-extension texlive-bin gobject-introspection intltool docbook-xsl - python gtk-doc git gnome-common) +makedepends=(libnautilus-extension texlive-bin gobject-introspection docbook-xsl python gtk-doc git + meson appstream-glib yelp-tools) optdepends=('texlive-bin: DVI support' 'gvfs: bookmark support and session saving') groups=(gnome) options=('!emptydirs') -_commit=d1cef98aecbc490dbea72323e4e75af5fcc2f5d8 # tags/3.30.2^0 +_commit=10da4bcec1cdd535a267e4b8e971668a47f0138b # tags/3.32.0^0 source=("git+https://gitlab.gnome.org/GNOME/evince.git#commit=$_commit") sha256sums=('SKIP') @@ -27,34 +27,17 @@ prepare() { cd $pkgname - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname + arch-meson $pkgname build -D ps=enabled + ninja -C build +} - BROWSER_PLUGIN_DIR=/usr/lib/epiphany/plugins \ - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libexecdir=/usr/lib/$pkgname \ - --disable-static \ - --enable-compile-warnings=minimum \ - --enable-introspection \ - --enable-nautilus \ - --enable-pdf \ - --enable-ps \ - --enable-tiff \ - --enable-djvu \ - --enable-dvi \ - --enable-t1lib \ - --enable-comics \ - --enable-gtk-doc \ - --enable-multimedia \ - --disable-schemas-compile - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make +check() { + meson test -C build --print-errorlogs } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build }
