Diff zathura-pdf-mupdf-0.3.9 with a zathura-pdf-mupdf-0.4.0

/usr/portage/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.4.0.ebuild 2023-10-09 14:52:28.904368335 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
19 19

  
20 20
LICENSE="ZLIB"
21 21
SLOT="0"
22
IUSE="+javascript"
22 23

  
23
DEPEND=">=app-text/mupdf-1.20.0:=
24
	>=app-text/zathura-0.3.9
24
DEPEND="
25
	>=app-text/mupdf-1.20.0:=[javascript?]
26
	>=app-text/zathura-0.5.2:=
25 27
	dev-libs/girara
26 28
	dev-libs/glib:2
27
	x11-libs/cairo"
29
	x11-libs/cairo
30
"
28 31

  
29 32
RDEPEND="${DEPEND}"
30 33

  
31
BDEPEND="app-text/tesseract
32
	dev-lang/mujs
33
	media-libs/leptonica
34
	virtual/pkgconfig"
34
BDEPEND="virtual/pkgconfig"
35 35

  
36 36
PATCHES=(
37
	"${FILESDIR}/zathura-pdf-mupdf-0.3.8-meson-mupdfthird.patch"
37
	"${FILESDIR}/${P}-meson-mupdfthird.patch"
38
)
39

  
40
src_prepare() (
41
	default
42

  
43
	if ! use javascript ; then
44
		sed -i -e '/mujs/d' meson.build || die
45
	fi
38 46
)
Thank you!