[packages/zathura-pdf-mupdf] up to 0.3.7
atler
atler at pld-linux.org
Thu Jul 15 20:27:50 CEST 2021
commit 1306d742a5e6f81507deb8986f5840c306ed75e3
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jul 15 20:26:23 2021 +0200
up to 0.3.7
- mupdf 1.18 no longer provides libmupdf-third.so (third party sources
built into libmupdf.so - make it optional)
mupdf_1.18.patch | 11 +++++++++++
zathura-pdf-mupdf.spec | 7 +++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
index 4a5cc68..982c7d4 100644
--- a/zathura-pdf-mupdf.spec
+++ b/zathura-pdf-mupdf.spec
@@ -1,12 +1,13 @@
Summary: mupdf based PDF plugin for zathura
Summary(pl.UTF-8): Wtyczka PDF dla zathury oparta na silniku mupdf
Name: zathura-pdf-mupdf
-Version: 0.3.6
+Version: 0.3.7
Release: 1
License: BSD-like
Group: Applications/Publishing
Source0: https://pwmt.org/projects/zathura-pdf-mupdf/download/%{name}-%{version}.tar.xz
-# Source0-md5: c0bfc8f411c7a2b7bfc90c382c7cd9e1
+# Source0-md5: ae8a22765e0c829264ec13a9d6e18e81
+Patch0: mupdf_1.18.patch
URL: https://pwmt.org/projects/zathura-pdf-mupdf/
BuildRequires: cairo-devel
# C11
@@ -14,6 +15,7 @@ BuildRequires: gcc >= 6:4.7
BuildRequires: girara-devel >= 0.2.3
BuildRequires: glib2-devel >= 2.0
BuildRequires: gtk+3-devel >= 3.2
+BuildRequires: gumbo-parser-devel
BuildRequires: meson >= 0.43
BuildRequires: mupdf-devel >= 1.17
BuildRequires: ninja
@@ -37,6 +39,7 @@ wykorzystaniem silnika renderującego mupdf.
%prep
%setup -q
+%patch0 -p1
%build
%meson build
diff --git a/mupdf_1.18.patch b/mupdf_1.18.patch
new file mode 100644
index 0000000..2e58111
--- /dev/null
+++ b/mupdf_1.18.patch
@@ -0,0 +1,11 @@
+--- zathura-pdf-mupdf-0.3.7/meson.build.orig 2021-07-14 18:55:03.293939600 +0200
++++ zathura-pdf-mupdf-0.3.7/meson.build 2021-07-15 20:24:42.663550814 +0200
+@@ -20,7 +20,7 @@
+ glib = dependency('glib-2.0')
+ cairo = dependency('cairo')
+ mupdf = cc.find_library('mupdf')
+-mupdfthird = cc.find_library('mupdf-third')
++mupdfthird = cc.find_library('mupdf-third', required: false)
+
+ build_dependencies = [
+ zathura,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zathura-pdf-mupdf.git/commitdiff/4e0f524feee6f5cee64f7e4b18947403301a7a85
More information about the pld-cvs-commit
mailing list