[arch-commits] Commit in evince/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Mar 15 21:11:03 UTC 2019
Date: Friday, March 15, 2019 @ 21:11:03
Author: heftig
Revision: 348381
archrelease: copy trunk to extra-x86_64
Added:
evince/repos/extra-x86_64/PKGBUILD
(from rev 348374, evince/trunk/PKGBUILD)
Deleted:
evince/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 103 +++++++++++++++++++++++++------------------------------------
1 file changed, 43 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-15 21:11:03 UTC (rev 348380)
+++ PKGBUILD 2019-03-15 21:11:03 UTC (rev 348381)
@@ -1,60 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=evince
-pkgver=3.30.2
-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"
-arch=(x86_64)
-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)
-optdepends=('texlive-bin: DVI support'
- 'gvfs: bookmark support and session saving')
-groups=(gnome)
-options=('!emptydirs')
-_commit=d1cef98aecbc490dbea72323e4e75af5fcc2f5d8 # tags/3.30.2^0
-source=("git+https://gitlab.gnome.org/GNOME/evince.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
-
- 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
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: evince/repos/extra-x86_64/PKGBUILD (from rev 348374, evince/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-15 21:11:03 UTC (rev 348381)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=evince
+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"
+arch=(x86_64)
+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=(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=10da4bcec1cdd535a267e4b8e971668a47f0138b # tags/3.32.0^0
+source=("git+https://gitlab.gnome.org/GNOME/evince.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D ps=enabled
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list