app-text/zathura-pdf-mupdf: add 0.4.4

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Alfred Wingate
2024-10-21 15:36:23 +03:00
committed by Joonas Niilola
parent 4775c21c55
commit 7cf93e002a
2 changed files with 50 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST zathura-pdf-mupdf-0.4.1.tar.gz 9346 BLAKE2B f1998acf00696fd40577f6e53b597258e519d3862c5b6b29bec292aaa732acf0b7a80ddf1b2f62d95d9462fe811a73cd912009106394bf1aadfa76be9c6d1adc SHA512 bf3360cdf6195af3cace4c769536a49f1cf2167c70a65b560410db1a0098119d726e73baeea98ca7100653c17248056c484fc436558e52a8dc12e7b83ce789b1
DIST zathura-pdf-mupdf-0.4.3.tar.gz 10146 BLAKE2B ca4edc56256d04e5ba42dd756976a3e444f37dfb5c1fff569329478c3053f7d48fa689d61b8769a73bac50e1244e74855705a9cd1cd25ed37a6927bd6c2ccf75 SHA512 ffab536d1cea26dd08fbb3808e0ff5d4b5b126bfdbd19a79101ac519ee9951d916b75c5b1b1e459f453087c936d84fa3839b4b84dd7f92398ba5cca87e186795
DIST zathura-pdf-mupdf-0.4.4.tar.gz 10100 BLAKE2B aa969ac9a702150d05e8c1dfc7f0f6752c0371c812a208f33ab19c14423b12636345544ce898eda3ab5517b895c832a91f3a6866468049e03b2d36a67d198c06 SHA512 c6297b8ed68a0797db2e7b295d7fc7cb4d099f24cd9faea49e1e2d0c61818b071297b57f6472c057010caf104053cc0866685349b33a61302280cb52bac055cf
@@ -0,0 +1,49 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pwmt/zathura-pdf-mupdf.git"
EGIT_BRANCH="develop"
else
KEYWORDS="~amd64 ~arm ~x86"
SRC_URI="https://github.com/pwmt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="PDF support for zathura using the mupdf PDF rendering library"
HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/"
LICENSE="ZLIB"
SLOT="0"
IUSE="+javascript"
# Tests currently only validating data files
RESTRICT="test"
DEPEND="
>=app-text/mupdf-1.24.0:=[javascript?]
>=app-text/zathura-0.2.0:=
dev-libs/girara:=
dev-libs/glib:2
x11-libs/cairo
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/zathura-pdf-mupdf-0.4.3-meson-mupdfthird.patch"
)
src_prepare() (
default
if ! use javascript ; then
sed -i -e '/mujs/d' meson.build || die
fi
)