public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/
Date: Sat, 15 Jun 2024 19:21:17 +0000 (UTC)	[thread overview]
Message-ID: <1718479265.f2209219946b7b48d0da81332f9c73fff8702189.arthurzam@gentoo> (raw)

commit:     f2209219946b7b48d0da81332f9c73fff8702189
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 19:20:46 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 19:21:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2209219

app-text/sigil: add 2.2.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-text/sigil/Manifest           |   1 +
 app-text/sigil/sigil-2.2.0.ebuild | 105 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest
index c51069537b76..914e16869564 100644
--- a/app-text/sigil/Manifest
+++ b/app-text/sigil/Manifest
@@ -1,2 +1,3 @@
 DIST Sigil_User_Guide_2022.05.17.epub 8894634 BLAKE2B 8a7c5b5add54d87dfe791a0dbbc0c6cd37ae2eb2ff77f46ae36643785fb714d9fbc0fe470d024f7112be2933ca4fb57a4bfdfd340083be15fffca69296640ea9 SHA512 bac3f55d28d02f53c8fdac51333194e0f27c6669876360a6d0244b1e2683dae0e7046977fab6e75dba7170c8aca3a7539f3d6cddab3ddc3e45985930c455968a
 DIST sigil-2.1.0.tar.gz 26918715 BLAKE2B d31aeea2ef0de2ecdedd50329bdf306e53aca0d4615cc97efa45013670b1f47af6a6152da4fdee20bf3a02c99f9b1337f07347170d50f28ddf48a52a089a5fc0 SHA512 542d6fc71b0353e3b5440d40e4c9f205c5205fb3e409935015b8f3689f8dcc74d8a96035963a740791f3a8acd63b2e0d81afe9be7716098e0727be6daf6c8ceb
+DIST sigil-2.2.0.tar.gz 26136319 BLAKE2B 520966e5bbb73c2d9ef89f5ac37cc09214b2850eec9864a6f0980b335d9cea5479c4299e27384c14f2890c1415c9ffa7e23228081c7cec318972a268cba6d431 SHA512 89de48eaffe9e5692c4714dec8b895d455a85188732002ae00e82d23392ca258790b1f725c8625be7362ab1160d734897c5ec79e936ffea887999e23fbe9df18

diff --git a/app-text/sigil/sigil-2.2.0.ebuild b/app-text/sigil/sigil-2.2.0.ebuild
new file mode 100644
index 000000000000..6750cc59feb4
--- /dev/null
+++ b/app-text/sigil/sigil-2.2.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit xdg cmake python-single-r1
+
+DOC_VERSION="2022.05.17"
+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 qt6"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-text/hunspell:=
+	dev-libs/libpcre2:=[pcre16]
+	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}]
+	')
+	$(python_gen_impl_dep 'tk') )
+	!qt6? (
+		dev-qt/qtconcurrent:5
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwebengine:5[widgets]
+		dev-qt/qtwidgets:5
+		dev-qt/qtxml:5
+		plugins? ( $(python_gen_cond_dep '
+			dev-python/PyQt5[${PYTHON_USEDEP}]
+			dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+		') )
+	)
+	qt6? (
+		dev-qt/qtbase:6[concurrent,cups,network,widgets,xml]
+		dev-qt/qt5compat:6
+		dev-qt/qtwebengine:6[widgets]
+		dev-qt/qtsvg:6
+		plugins? ( $(python_gen_cond_dep '
+			dev-python/PyQt6[${PYTHON_USEDEP}]
+			dev-python/PyQt6-WebEngine[${PYTHON_USEDEP}]
+		') )
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+	!qt6? ( dev-qt/linguist-tools:5 )
+	qt6? ( 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}"
+
+		-DUSE_QT5=$(usex !qt6)
+		-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
+}


             reply	other threads:[~2024-06-15 19:21 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-15 19:21 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-09  5:46 [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ Sam James
2024-09-27 21:53 Sam James
2024-08-17 18:51 Arthur Zamarin
2024-07-20 12:38 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-06-23 17:48 Arthur Zamarin
2024-05-10 20:04 Arthur Zamarin
2024-05-10 18:39 Sam James
2024-04-06  5:26 Arthur Zamarin
2024-04-05 15:22 Arthur Zamarin
2024-04-05 11:38 Arthur Zamarin
2024-02-27 18:49 Arthur Zamarin
2023-12-06  7:41 Sam James
2023-12-05  4:20 Michał Górny
2023-11-10 20:58 Arthur Zamarin
2023-11-10 20:58 Arthur Zamarin
2023-11-04 19:40 Sam James
2023-11-04 17:14 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-09 17:40 Arthur Zamarin
2023-08-29 12:31 Andrey Grozin
2023-08-24 16:50 Arthur Zamarin
2023-07-07 19:00 Arthur Zamarin
2023-06-09 14:42 Arthur Zamarin
2023-05-04  8:41 Arthur Zamarin
2023-05-04  2:31 Sam James
2023-03-15 16:46 Arthur Zamarin
2023-02-24 11:24 Arthur Zamarin
2023-02-07 17:25 Andreas Sturmlechner
2022-10-31 16:41 Agostino Sarubbo
2022-10-20 10:52 Jakov Smolić
2022-09-27  7:20 Arthur Zamarin
2022-09-27  7:10 Agostino Sarubbo
2022-09-26 12:27 Sam James
2022-09-16 10:27 Arthur Zamarin
2022-07-29 11:03 Arthur Zamarin
2022-04-10 17:47 Arthur Zamarin
2022-04-02  6:12 Arthur Zamarin
2022-04-02  6:12 Arthur Zamarin
2022-02-14 20:49 Sam James
2022-02-13 23:49 Sam James
2021-10-25 17:20 Arthur Zamarin
2021-09-03  7:36 Arthur Zamarin
2021-09-03  6:40 Agostino Sarubbo
2021-09-03  6:34 Agostino Sarubbo
2021-08-14 15:57 Arthur Zamarin
2021-08-01  6:13 Ionen Wolkens
2021-08-01  6:13 Ionen Wolkens
2021-05-09  4:05 Sam James
2021-05-09  4:05 Sam James
2021-03-31  7:40 Joonas Niilola
2021-03-31  7:40 Joonas Niilola
2021-02-16 12:26 Sam James
2020-12-26 21:42 Andreas Sturmlechner
2020-11-15  8:53 Sam James
2020-11-12 21:03 Thomas Deutschmann
2020-08-05 12:56 Joonas Niilola
2020-08-05 12:56 Joonas Niilola
2020-07-20  6:42 Agostino Sarubbo
2020-07-19  7:43 Agostino Sarubbo
2020-06-16 19:00 Andreas Sturmlechner
2020-04-29 11:40 Joonas Niilola
2020-04-29 11:40 Joonas Niilola
2020-02-25 14:51 Joonas Niilola
2020-01-11 23:51 Andreas Sturmlechner
2020-01-11 23:51 Andreas Sturmlechner
2019-12-19 15:41 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-08-23 18:22 Joonas Niilola
2019-08-23 10:13 Agostino Sarubbo
2019-08-23 10:03 Agostino Sarubbo
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-04-29 14:26 Michał Górny
2019-04-29 14:26 Michał Górny
2018-06-27 19:29 Pacho Ramos
2016-10-02 11:49 Amy Winston
2016-09-10 21:19 Tobias Klausmann
2016-09-10 20:37 Tobias Klausmann
2016-09-10 20:33 Tobias Klausmann
2016-07-04  0:05 Göktürk Yüksek
2016-07-04  0:05 Göktürk Yüksek
2016-04-06  7:10 Ian Delaney
2016-04-06  7:10 Ian Delaney
2016-03-29 23:36 Patrice Clement
2016-03-29 23:36 Patrice Clement
2016-02-20  2:30 Ian Delaney
2016-02-13  6:29 Ian Delaney
2016-02-10 10:32 Ian Delaney
2016-02-06 15:02 Ian Delaney
2016-01-02 13:09 Patrice Clement
2015-12-08  8:22 Patrice Clement
2015-11-27  9:11 Patrice Clement
2015-10-08 21:29 Matt Thode
2015-09-25  9:12 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718479265.f2209219946b7b48d0da81332f9c73fff8702189.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox