Switch to webkit2gtk-4.1

This commit is contained in:
Leigh Scott 2023-05-11 06:58:03 +01:00
commit 6bc5e6bb76
2 changed files with 17 additions and 2 deletions

11
webkit2gtk-41.patch Normal file
View file

@ -0,0 +1,11 @@
--- a/meson.build" 2022-11-16 15:53:09.000000000 +0000
+++ b/meson.build 2023-05-11 06:45:19.690070920 +0100
@@ -111,7 +111,7 @@ endif
thumbnailer_mime_types = xreader_mime_types
if get_option('epub')
- webkit = dependency('webkit2gtk-4.0', version: '>= 2.4.3')
+ webkit = dependency('webkit2gtk-4.1', version: '>= 2.4.3')
backend_subdirs += 'epub'
xreader_mime_types += 'application/epub+zip;'
endif

View file

@ -3,12 +3,13 @@
Name: xreader
Version: 3.6.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Simple document viewer
License: GPLv2+
URL: https://github.com/linuxmint/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: webkit2gtk-41.patch
ExcludeArch: %{ix86}
@ -38,7 +39,7 @@ BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(xapp) >= 1.4.0
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(webkit2gtk-4.1)
BuildRequires: texlive
BuildRequires: t1lib-devel
BuildRequires: yelp-tools
@ -167,6 +168,9 @@ This package adds configuration to use %{name} as a thumbnailer.
%doc %{_datadir}/doc/%{name}*
%changelog
* Thu May 11 2023 Leigh Scott <leigh123linux@gmail.com> - 3.6.3-2
- Switch to webkit2gtk-4.1
* Sun Feb 05 2023 Jonathan Wright <jonathan@almalinux.org> - 3.6.3-1
- Update to 3.6.3 rhbz#2160519