[arch-commits] Commit in zathura/repos (4 files)
Rémy Oudompheng
remy at archlinux.org
Sat May 11 12:58:12 UTC 2019
Date: Saturday, May 11, 2019 @ 12:58:12
Author: remy
Revision: 465300
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 465299, zathura/trunk/0001-meson.build-Don-t-do-broken-synctex-version-check.patch)
zathura/repos/community-staging-x86_64/PKGBUILD
(from rev 465299, zathura/trunk/PKGBUILD)
zathura/repos/community-staging-x86_64/bash-completion
(from rev 465299, zathura/trunk/bash-completion)
--------------------------------------------------------------+
0001-meson.build-Don-t-do-broken-synctex-version-check.patch | 30 ++++++
PKGBUILD | 49 ++++++++++
bash-completion | 29 +++++
3 files changed, 108 insertions(+)
Copied: zathura/repos/community-staging-x86_64/0001-meson.build-Don-t-do-broken-synctex-version-check.patch (from rev 465299, 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 2019-05-11 12:58:12 UTC (rev 465300)
@@ -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 465299, zathura/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-11 12:58:12 UTC (rev 465300)
@@ -0,0 +1,49 @@
+# 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.3
+pkgrel=2
+
+pkgdesc="Minimalistic document viewer"
+url="http://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
+ bash-completion)
+
+sha1sums=('0135d90d1561ee40f02111785d8afb9fec311b7c'
+ '94a8236c483626a7f3acee053a1ea885aed45a82')
+
+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
+ install -Dm0644 "$srcdir"/bash-completion "$pkgdir"/usr/share/bash-completion/completions/zathura
+}
Copied: zathura/repos/community-staging-x86_64/bash-completion (from rev 465299, zathura/trunk/bash-completion)
===================================================================
--- community-staging-x86_64/bash-completion (rev 0)
+++ community-staging-x86_64/bash-completion 2019-05-11 12:58:12 UTC (rev 465300)
@@ -0,0 +1,29 @@
+_zathura() {
+ _init_completion || return
+
+ EXTENTIONS=''
+ for PLUGIN in /usr/lib/zathura/*.so; do
+ case ${PLUGIN##*/} in
+ pdf.so)
+ EXTENTIONS="$EXTENTIONS|pdf"
+ ;;
+ ps.so)
+ EXTENTIONS="$EXTENTIONS|ps|eps|epsi|epsf"
+ ;;
+ djvu.so)
+ EXTENTIONS="$EXTENTIONS|djvu|djv"
+ ;;
+ epub.so)
+ EXTENTIONS="$EXTENTIONS|epub"
+ ;;
+ cb.so)
+ EXTENTIONS="$EXTENTIONS|cb7|cbr|cbz|cbt|rar|zip|7z|tar"
+ ;;
+ *)
+ ;;
+ esac
+ done
+
+ _filedir "${EXTENTIONS#|}"
+} &&
+complete -F _zathura zathura
More information about the arch-commits
mailing list