* [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/, profiles/arch/mips/
@ 2024-09-07 15:32 Arthur Zamarin
0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-09-07 15:32 UTC (permalink / raw
To: gentoo-commits
commit: 833f89123af74730f237da631c237b92ec58356c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 15:31:43 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 15:31:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833f8912
app-text/sigil: mask >=app-crypt/pinentry-1.3.0[gtk]
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-text/sigil/Manifest | 1 +
app-text/sigil/sigil-2.3.1.ebuild | 86 +++++++++++++++++++++++++++++++++++++
profiles/arch/mips/package.use.mask | 1 +
3 files changed, 88 insertions(+)
diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest
index 05b7e414b68f..f42c8773a1c3 100644
--- a/app-text/sigil/Manifest
+++ b/app-text/sigil/Manifest
@@ -2,3 +2,4 @@ DIST Sigil_User_Guide_2022.05.17.epub 8894634 BLAKE2B 8a7c5b5add54d87dfe791a0dbb
DIST Sigil_User_Guide_2024.08.15.epub 12641984 BLAKE2B feaa8a4f6b64786d5cbf494a61c8726a5dd3e169ca8902348e2fee9f890ab7496b5ad018d49d6cecd65cb3d3d4a9b4a6bda019ac52c324fa92fad3e7b5dbc680 SHA512 10199c037a57f4b9ed913a8c726a58e376dcd34300a98cdd4cf934fd3a2f9a26d2f92bd85131af7ee1084824d7b082f7becdec9b0731a62f9cde712bfada5a09
DIST sigil-2.2.1.tar.gz 26131954 BLAKE2B b467d33a1e98733d7bf051cc152a5e8980af83c0992c4ca755d5dd666d5ea753b51d2642b6027a8c52e86077f3a92e999867cb774f619f729df3c51424fa3795 SHA512 a0f7e0529286e9d5020a97c6179791a1312df93cbbca4f5966dea40517eb9ab8979dd7048fe54f3cc821ef165ddf8a5bcb2ca6ffdde1b51196f6d2a7376162f0
DIST sigil-2.3.0.tar.gz 17480782 BLAKE2B abcb5eac75ec56e9bc83a50175e6e9dc8a494aec0a8aca1585503a5a5727557bef9039d1b457f8e03ef00a8baf1bcb9fae29a6f720483ee30fa3bace777e7066 SHA512 1a12022f7af26e4713083c0c84b07c4ebe2825667391f8d47cd5984e69547daad58fe3bdf7a40c3b4f1aa4c4037a548c011833a9dd8754c1c914555548a0ca8f
+DIST sigil-2.3.1.tar.gz 17475697 BLAKE2B 668d02f941c900921224977bc2d8edeb6a21cf7985d1f7980ffc6b8ecc6627fe5a29f71ea75e12d1f54c2b1959afa7323dda807b1189e4189a996e98c90bdea2 SHA512 da0433882040212a8385c1b872b568ef39660b6c0127d64d9fc4cdd4f3939c2e14f3d08056ab1b405142e012caf363ebfe170761a74e684590c1a358e1115d09
diff --git a/app-text/sigil/sigil-2.3.1.ebuild b/app-text/sigil/sigil-2.3.1.ebuild
new file mode 100644
index 000000000000..cb9aa8b5f970
--- /dev/null
+++ b/app-text/sigil/sigil-2.3.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit xdg cmake python-single-r1
+
+DOC_VERSION="2024.08.15"
+DOC_FILE="Sigil_User_Guide_${DOC_VERSION}.epub"
+
+DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
+HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil"
+SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz
+ doc? ( https://github.com/Sigil-Ebook/sigil-user-guide/releases/download/${DOC_VERSION}/${DOC_FILE} )"
+S=${WORKDIR}/${P^}
+
+LICENSE="GPL-3+ Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +plugins +system-mathjax"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-text/hunspell:=
+ dev-libs/libpcre2:=[pcre16]
+ dev-qt/qtbase:6[concurrent,cups,network,widgets,xml]
+ dev-qt/qtwebengine:6[widgets]
+ dev-qt/qtsvg:6
+ sys-libs/zlib[minizip]
+ $(python_gen_cond_dep '
+ dev-python/css-parser[${PYTHON_USEDEP}]
+ dev-python/dulwich[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ ')
+ plugins? (
+ $(python_gen_cond_dep '
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ dev-python/html5lib[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ dev-python/PyQt6[${PYTHON_USEDEP}]
+ dev-python/PyQt6-WebEngine[${PYTHON_USEDEP}]
+ ')
+ $(python_gen_impl_dep 'tk')
+ )
+ system-mathjax? ( >=dev-libs/mathjax-3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ dev-qt/qttools:6[linguist]
+"
+
+DOCS=( ChangeLog.txt README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DTRY_NEWER_FINDPYTHON3=1
+ -DPython3_INCLUDE_DIR="$(python_get_includedir)"
+ -DPython3_LIBRARY="$(python_get_library_path)"
+ -DPython3_EXECUTABLE="${PYTHON}"
+
+ -DINSTALL_BUNDLED_DICTS=0
+ -DSYSTEM_LIBS_REQUIRED=1
+ -DUSE_SYSTEM_LIBS=1
+ )
+ use system-mathjax && mycmakeargs+=( -DMATHJAX3_DIR="${EPREFIX}"/usr/share/mathjax )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_fix_shebang "${ED}"/usr/share/sigil/
+ python_optimize "${ED}"/usr/share/sigil/
+
+ if use doc; then
+ dodoc "${DISTDIR}/${DOC_FILE}"
+ docompress -x /usr/share/doc/${PF}/${DOC_FILE}
+ fi
+}
diff --git a/profiles/arch/mips/package.use.mask b/profiles/arch/mips/package.use.mask
index e3469c08bfbf..29a7d8d807ec 100644
--- a/profiles/arch/mips/package.use.mask
+++ b/profiles/arch/mips/package.use.mask
@@ -4,6 +4,7 @@
# Arthur Zamarin <arthurzam@gentoo.org> (2024-09-07)
# gui-libs/gtk:4 is not keyworded here
app-crypt/gcr:4 gtk
+>=app-crypt/pinentry-1.3.0 gtk
# Arthur Zamarin <arthurzam@gentoo.org> (2024-09-06)
# media-libs/vidstab is not keyworded
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-07 15:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-07 15:32 [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/, profiles/arch/mips/ Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox