Skip to content
Snippets Groups Projects
Commit 7b6b3405 authored by Milan P. Stanić's avatar Milan P. Stanić
Browse files

community/zathura-pdf-mupdf: upgrade to 0.3.8

parent ef26078b
No related branches found
No related tags found
No related merge requests found
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=zathura-pdf-mupdf
pkgver=0.3.7
pkgrel=1
pkgver=0.3.8
pkgrel=0
pkgdesc="mupdf plugin to zathura"
url="https://git.pwmt.org/pwmt/zathura-pdf-mupdf"
arch="all"
......@@ -11,13 +11,12 @@ options="!check" # no test suite
makedepends="meson ninja mupdf mupdf-dev zathura-dev girara-dev openssl1.1-compat-dev
openjpeg-dev libjpeg-turbo-dev jbig2dec-dev gumbo-parser-dev"
depends="zathura !zathura-pdf-poppler"
source="https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/archive/$pkgver/zathura-pdf-mupdf-$pkgver.tar.gz
fix-meson.build.patch"
source="https://pwmt.org/projects/zathura-pdf-mupdf/download/zathura-pdf-mupdf-0.3.8.tar.xz
fix-meson.build.patch
"
build() {
abuild-meson \
-Dlink-external=true \
build
abuild-meson build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
......@@ -26,6 +25,6 @@ package() {
}
sha512sums="
1e27bcf0fc2eb730e77d3dab7c25575e0ae830ca251f380d740a4b8bef588122d279b2c97a7b75fb749daaf24bb458cd54ec7a11321d75bfb5c1b4b0dc0fccac zathura-pdf-mupdf-0.3.7.tar.gz
52850bcd043f11a2975479162393d8f877cbe434f8481519f5ae1fae557b367ff380395c8f726b9e39d3d0be9433725533ee6b87d8d56ec9708e4e359336d0b3 fix-meson.build.patch
c2ec4a204446822eb3771673e99ddc42d6ffdfbbb9fc079e09442f0b5a6e2397190d2a8079a92f2d08d5824199760a90d192cb517c9f17676102f3ed69edd5a0 zathura-pdf-mupdf-0.3.8.tar.xz
2d9c69de4e10edb7d8e95915038c84a68843063e4a84b0284fc7f987002cb1a56eba5087619dd4a29f3077cc7aab5a02755d5c42a325f271725195b86c8aa540 fix-meson.build.patch
"
Author: Milan P. Stanić <mps@arvanta.net>
Date: Thu Oct 10 20:30:00 2021 +0000
Date: 2022-02-13 18:27:16.000000000 +0000
mupdf 1.19.0 doesn't build libmupdf-third
--- a/meson.build 2021-07-14 16:53:51.000000000 +0000
+++ b/meson.build 2021-10-10 18:16:59.745621832 +0000
@@ -20,7 +20,6 @@ girara = dependency('girara-gtk3')
--- a/meson.build 2022-02-13 18:27:16.000000000 +0000
+++ b/meson.build 2022-04-12 12:48:13.812538643 +0000
@@ -20,7 +20,6 @@
glib = dependency('glib-2.0')
cairo = dependency('cairo')
mupdf = cc.find_library('mupdf')
mupdf = dependency('mupdf', required: false)
-mupdfthird = cc.find_library('mupdf-third')
build_dependencies = [
zathura,
@@ -28,7 +27,6 @@ build_dependencies = [
glib,
cairo,
mupdf,
- mupdfthird
]
@@ -32,10 +31,10 @@
if not mupdf.found()
# normal build of mupdf
mupdf = cc.find_library('mupdf')
- build_dependencies += [mupdf, mupdfthird]
+ build_dependencies += [mupdf]
else
# build from Debian's libmupdf-dev
- build_dependencies += [mupdf, mupdfthird]
+ build_dependencies += [mupdf]
if get_option('link-external')
libjpeg = dependency('libjpeg')
libjbig2dec = cc.find_library('jbig2dec')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment