summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2023-01-01 16:43:23 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-01-09 09:33:19 +0100
commit56a434d23b8c342fb2005fce8ab6df6790a1ecf7 (patch)
tree16236b8b319bb95ecd10f5fb17b86e8721c08be1 /app-text
parentapp-text/zathura-pdf-mupdf: add 0.4.0 (diff)
downloadgentoo-56a434d23b8c342fb2005fce8ab6df6790a1ecf7.tar.gz
gentoo-56a434d23b8c342fb2005fce8ab6df6790a1ecf7.tar.bz2
gentoo-56a434d23b8c342fb2005fce8ab6df6790a1ecf7.zip
app-text/zathura-pdf-mupdf-9999: update live build
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/28925 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild26
1 files changed, 17 insertions, 9 deletions
diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild
index 5ca8fe3fc822..53bd172f9007 100644
--- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild
+++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,20 +19,28 @@ HOMEPAGE="https://git.pwmt.org/pwmt/zathura-pdf-mupdf"
LICENSE="ZLIB"
SLOT="0"
+IUSE="+javascript"
-DEPEND=">=app-text/mupdf-1.20.0:=
- >=app-text/zathura-0.3.9
+DEPEND="
+ >=app-text/mupdf-1.20.0:=[javascript?]
+ >=app-text/zathura-0.5.2:=
dev-libs/girara
dev-libs/glib:2
- x11-libs/cairo"
+ x11-libs/cairo
+"
RDEPEND="${DEPEND}"
-BDEPEND="app-text/tesseract
- dev-lang/mujs
- media-libs/leptonica
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}/zathura-pdf-mupdf-0.3.8-meson-mupdfthird.patch"
+ "${FILESDIR}/${PN}-0.4.0-meson-mupdfthird.patch"
+)
+
+src_prepare() (
+ default
+
+ if ! use javascript ; then
+ sed -i -e '/mujs/d' meson.build || die
+ fi
)