[arch-commits] Commit in zathura/repos (3 files)

Johannes Löthberg demize at archlinux.org
Sat Feb 1 12:48:42 UTC 2020


    Date: Saturday, February 1, 2020 @ 12:48:42
  Author: demize
Revision: 561021

archrelease: copy trunk to community-staging-x86_64

Added:
  zathura/repos/community-staging-x86_64/
  zathura/repos/community-staging-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch
    (from rev 561020, zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
  zathura/repos/community-staging-x86_64/PKGBUILD
    (from rev 561020, zathura/trunk/PKGBUILD)

--------------------------------------------------------------+
 0001-meson.build-Don-t-do-broken-synctex-version-check.patch |   30 ++++++
 PKGBUILD                                                     |   46 ++++++++++
 2 files changed, 76 insertions(+)

Copied: zathura/repos/community-staging-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch (from rev 561020, zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
===================================================================
--- community-staging-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch	                        (rev 0)
+++ community-staging-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch	2020-02-01 12:48:42 UTC (rev 561021)
@@ -0,0 +1,30 @@
+From 024f228c45a1df3f01dada4e72e99dd7a76ecf26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= <johannes at kyriasis.com>
+Date: Sun, 27 May 2018 02:11:24 +0200
+Subject: [PATCH] meson.build: Don't do broken synctex version check
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
+---
+ meson.build | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 1862fa0..63246e8 100644
+--- a/meson.build
++++ b/meson.build
+@@ -82,9 +82,6 @@ endif
+ if get_option('enable-synctex') and synctex.found()
+   build_dependencies += synctex
+   defines += '-DWITH_SYNCTEX'
+-  if synctex.version() < '2.0.0'
+-    defines += '-DWITH_SYNCTEX1'
+-  endif
+ endif
+ 
+ if get_option('enable-magic') and magic.found()
+-- 
+2.17.0
+

Copied: zathura/repos/community-staging-x86_64/PKGBUILD (from rev 561020, zathura/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-02-01 12:48:42 UTC (rev 561021)
@@ -0,0 +1,46 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: ML <neldoreth>
+
+pkgname=zathura
+pkgver=0.4.5
+pkgrel=1
+
+pkgdesc="Minimalistic document viewer"
+url="https://git.pwmt.org/pwmt/zathura"
+arch=('x86_64')
+license=('custom')
+
+makedepends=('python-sphinx' 'texlive-bin' 'meson' 'ninja' 'appstream-glib' 'check')
+depends=('girara>=0.2.7' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex')
+optdepends=('zathura-djvu: DjVu support'
+            'zathura-pdf-poppler: PDF support using Poppler'
+            'zathura-pdf-mupdf: PDF support using MuPDF'
+            'zathura-ps: PostScript support'
+            'zathura-cb: Comic book support')
+
+source=(zathura-$pkgver.tar.gz::https://github.com/pwmt/zathura/archive/$pkgver.tar.gz)
+
+sha1sums=('37427c3cb064daa6869ef77180bce93b6b944cd6')
+
+build() {
+  cd zathura-$pkgver
+  arch-meson build
+
+  cd build
+  ninja
+}
+
+check() {
+  cd zathura-$pkgver/build
+
+  ninja test
+}
+
+package() {
+  cd zathura-$pkgver/build
+  DESTDIR="$pkgdir" ninja install
+
+  install -D -m664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list