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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC4AC138335 for ; Sun, 21 Jul 2019 11:58:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EED69E0825; Sun, 21 Jul 2019 11:58:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2E16E0825 for ; Sun, 21 Jul 2019 11:58:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79231348383 for ; Sun, 21 Jul 2019 11:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D235715 for ; Sun, 21 Jul 2019 11:58:49 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1563710315.e7caf18c467b7bda486f6f0d7b4eecfd20b6f232.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/sigil/metadata.xml app-text/sigil/sigil-0.9.16.ebuild X-VCS-Directories: app-text/sigil/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e7caf18c467b7bda486f6f0d7b4eecfd20b6f232 X-VCS-Branch: master Date: Sun, 21 Jul 2019 11:58:49 +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: fa9e049f-8beb-4f78-9375-6ac708ed29fb X-Archives-Hash: 1d1d8f91f57ebc02913f65ca93a3dfaf commit: e7caf18c467b7bda486f6f0d7b4eecfd20b6f232 Author: Zamarin Arthur gmail com> AuthorDate: Sun Jul 21 05:45:16 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 21 11:58:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7caf18c app-text/sigil: add system-mathjax USE flag Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Andreas Sturmlechner gentoo.org> app-text/sigil/metadata.xml | 3 +++ app-text/sigil/sigil-0.9.16.ebuild | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app-text/sigil/metadata.xml b/app-text/sigil/metadata.xml index d0bbc366660..745afeddf71 100644 --- a/app-text/sigil/metadata.xml +++ b/app-text/sigil/metadata.xml @@ -11,6 +11,9 @@ Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format. + + Use the system-wide dev-libs/mathjax instead of bundled + Sigil-Ebook/Sigil diff --git a/app-text/sigil/sigil-0.9.16.ebuild b/app-text/sigil/sigil-0.9.16.ebuild index 7f5b6030154..1ee490a23ec 100644 --- a/app-text/sigil/sigil-0.9.16.ebuild +++ b/app-text/sigil/sigil-0.9.16.ebuild @@ -15,6 +15,7 @@ SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="GPL-3+ Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="system-mathjax" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" @@ -22,7 +23,6 @@ RDEPEND=" app-text/hunspell:= dev-libs/boost:=[threads] dev-libs/libpcre:3=[pcre16] - dev-libs/mathjax dev-libs/xerces-c[icu] dev-python/chardet[${PYTHON_USEDEP}] dev-python/cssselect[${PYTHON_USEDEP}] @@ -40,6 +40,7 @@ RDEPEND=" >=dev-qt/qtwidgets-5.12:5 >=dev-qt/qtxmlpatterns-5.12:5 sys-libs/zlib[minizip] + system-mathjax? ( dev-libs/mathjax ) " DEPEND="${RDEPEND}" @@ -69,13 +70,14 @@ src_configure() { python_export PYTHON_LIBPATH PYTHON_INCLUDEDIR local mycmakeargs=( -DINSTALL_BUNDLED_DICTS=0 - -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax -DUSE_SYSTEM_LIBS=1 -DSYSTEM_LIBS_REQUIRED=1 -DPYTHON_EXECUTABLE="${PYTHON}" -DPYTHON_LIBRARY="${PYTHON_LIBPATH}" -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" ) + use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax ) + cmake-utils_src_configure }