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

Johannes Löthberg demize at gemini.archlinux.org
Sat Jul 31 11:59:45 UTC 2021


    Date: Saturday, July 31, 2021 @ 11:59:45
  Author: demize
Revision: 991099

archrelease: copy trunk to community-testing-x86_64

Added:
  zathura/repos/community-testing-x86_64/
  zathura/repos/community-testing-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch
    (from rev 991098, zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
  zathura/repos/community-testing-x86_64/PKGBUILD
    (from rev 991098, 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-testing-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch (from rev 991098, zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
===================================================================
--- community-testing-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch	                        (rev 0)
+++ community-testing-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch	2021-07-31 11:59:45 UTC (rev 991099)
@@ -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-testing-x86_64/PKGBUILD (from rev 991098, zathura/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-07-31 11:59:45 UTC (rev 991099)
@@ -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.8
+pkgrel=1
+
+pkgdesc="Minimalistic document viewer"
+url="https://pwmt.org/projects/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=('262d69e76987c57fe8d899e3ea3d8faa80aa9207')
+
+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