From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/zathura/fix-fish-completion.patch | 15 +++++++++++++++ repo/zathura/zathura.xibuild | 27 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 repo/zathura/fix-fish-completion.patch create mode 100644 repo/zathura/zathura.xibuild (limited to 'repo/zathura') diff --git a/repo/zathura/fix-fish-completion.patch b/repo/zathura/fix-fish-completion.patch new file mode 100644 index 0000000..ce919cd --- /dev/null +++ b/repo/zathura/fix-fish-completion.patch @@ -0,0 +1,15 @@ +fix added by Kevin Daudt + +diff --git a/data/meson.build b/data/meson.build +index 3a1b0b3..8c2bb8e 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -81,7 +81,7 @@ fish_comp = dependency('fish', required: false) + if fish_comp.found() + fish_compdir = fish_comp.get_pkgconfig_variable('completionsdir') + else +- fish_compdir = join_paths(datadir, 'fish', 'vendor_completions.d') ++ fish_compdir = join_paths(datadir, 'fish', 'completions') + endif + + install_data(bash_completion, install_dir: bash_compdir) diff --git a/repo/zathura/zathura.xibuild b/repo/zathura/zathura.xibuild new file mode 100644 index 0000000..45fc2b4 --- /dev/null +++ b/repo/zathura/zathura.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="zathura" +DESC="highly customizable and functional document viewer" + +MAKEDEPS="girara file sqlite3 intltool check libseccomp python-docutils ncurses meson ninja python-sphinx texlive libsynctex" + +PKG_VER=0.4.9 +SOURCE="https://git.pwmt.org/pwmt/zathura/-/archive/$PKG_VER/zathura-$PKG_VER.tar.gz" + +ADDITIONAL=" +fix-fish-completion.patch +" + +build() { + meson --prefix=/usr \ + build + meson compile ${JOBS:+-j ${JOBS}} -C build +} + +check() { + meson test --no-rebuild -v -C build +} + +package() { + DESTDIR="$PKG_DEST" meson install --no-rebuild -C build +} -- cgit v1.2.1