link against gumbo

f38
Michael J Gruber 4 years ago
parent b4195df664
commit 857e6d16c2

@ -0,0 +1,33 @@
From d0a99a26ab5f80334308607ba5ef9525af718f2a Mon Sep 17 00:00:00 2001
Message-Id: <d0a99a26ab5f80334308607ba5ef9525af718f2a.1602242192.git.mjg@fedoraproject.org>
From: Michael J Gruber <mjg@fedoraproject.org>
Date: Fri, 9 Oct 2020 13:16:28 +0200
Subject: [PATCH] link against gumbo for mupdf 1.18
Signed-off-by: Michael J Gruber <mjg@fedoraproject.org>
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 23cdc6a..dabcd39 100644
--- a/meson.build
+++ b/meson.build
@@ -35,11 +35,13 @@ if get_option('link-external')
libjpeg = dependency('libjpeg')
libjbig2dec = cc.find_library('jbig2dec')
libopenjp2 = dependency('libopenjp2')
+ gumbo = dependency('gumbo')
build_dependencies += [
libjpeg,
libjbig2dec,
- libopenjp2
+ libopenjp2,
+ gumbo
]
endif
--
2.28.0.945.gedc4c61efd

@ -6,11 +6,12 @@
Name: zathura-pdf-mupdf Name: zathura-pdf-mupdf
Version: 0.3.6 Version: 0.3.6
Release: 3%{?dist} Release: 4%{?dist}
Summary: PDF support for zathura via mupdf Summary: PDF support for zathura via mupdf
License: zlib License: zlib
URL: https://pwmt.org/projects/%{name}/ URL: https://pwmt.org/projects/%{name}/
Source0: %{url}/download/%{name}-%{version}.tar.xz Source0: %{url}/download/%{name}-%{version}.tar.xz
Patch0: 0001-link-against-gumbo-for-mupdf-1.18.patch
BuildRequires: binutils BuildRequires: binutils
BuildRequires: cairo-devel BuildRequires: cairo-devel
# Needed to validate the desktop file # Needed to validate the desktop file
@ -25,6 +26,7 @@ BuildRequires: meson >= 0.43
BuildRequires: mupdf-static >= 1.17 BuildRequires: mupdf-static >= 1.17
BuildRequires: openjpeg2-devel BuildRequires: openjpeg2-devel
BuildRequires: zathura-devel >= 0.3.9 BuildRequires: zathura-devel >= 0.3.9
BuildRequires: gumbo-parser-devel
Requires: zathura >= 0.3.9 Requires: zathura >= 0.3.9
# Depend on exact versions like mupdf does # Depend on exact versions like mupdf does
# https://src.fedoraproject.org/rpms/mupdf/c/02d93ee0f097415aa095ffcea4d768e5f43fac91?branch=master # https://src.fedoraproject.org/rpms/mupdf/c/02d93ee0f097415aa095ffcea4d768e5f43fac91?branch=master
@ -62,6 +64,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%{_datadir}/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml %{_datadir}/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml
%changelog %changelog
* Fri Oct 09 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.6-4
- link against gumbo
* Thu Oct 08 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.6-3 * Thu Oct 08 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.3.6-3
- rebuild for mupdf 1.18.0 - rebuild for mupdf 1.18.0

Loading…
Cancel
Save