From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56211158010 for ; Mon, 9 Jan 2023 08:33:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8009AE07D8; Mon, 9 Jan 2023 08:33:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67381E07D8 for ; Mon, 9 Jan 2023 08:33:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B245340DF8 for ; Mon, 9 Jan 2023 08:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07EE6804 for ; Mon, 9 Jan 2023 08:33:23 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1673253199.56a434d23b8c342fb2005fce8ab6df6790a1ecf7.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-pdf-mupdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild X-VCS-Directories: app-text/zathura-pdf-mupdf/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 56a434d23b8c342fb2005fce8ab6df6790a1ecf7 X-VCS-Branch: master Date: Mon, 9 Jan 2023 08:33:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e59e8046-7987-4f9f-90cb-678e27a88544 X-Archives-Hash: 8b0d809c386a833f3d4a78b13ab281e1 commit: 56a434d23b8c342fb2005fce8ab6df6790a1ecf7 Author: Philipp Rösner protonmail com> AuthorDate: Sun Jan 1 15:43:23 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Jan 9 08:33:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56a434d2 app-text/zathura-pdf-mupdf-9999: update live build Signed-off-by: Philipp Rösner protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/28925 Signed-off-by: Florian Schmaus gentoo.org> .../zathura-pdf-mupdf-9999.ebuild | 26 ++++++++++++++-------- 1 file 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 )