1 |
commit: 37c614b50a5ead52c92ae5ef5b1257050c2a21d4 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 16:45:39 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 16:45:39 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c614b5 |
7 |
|
8 |
app-text/sigil: add 1.9.30 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
app-text/sigil/Manifest | 1 + |
13 |
app-text/sigil/sigil-1.9.30.ebuild | 75 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest |
17 |
index 4c1a8f8e9572..b958473718dc 100644 |
18 |
--- a/app-text/sigil/Manifest |
19 |
+++ b/app-text/sigil/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sigil-1.9.20.tar.gz 25139664 BLAKE2B ca0a8ba5ec9b76ea4016766872e7a70d839c2b3f24a658e90e619fd2feb01de74e05e30cdcf53c79ce92196c380da1d348ec2776f77060b18d2c664ff8171c6a SHA512 07aff142f65084b7900b25b089fca1d9a36022e690acaf0db3c7b2eb310a847834baff42884e73bbe6b31ff2dd7f73e76819c5c7a4292578fbea2edcebec5ad1 |
22 |
+DIST sigil-1.9.30.tar.gz 26602897 BLAKE2B 554af2aa4c26994c065023839ea29b190eea501cac1183d58dcf2439ebca89e0a56848aaec1d668cfb84555c6830eaf6d32efdc82b08e0c94d7b6ba95dd7ff8b SHA512 80dcaa9dcee51c36a42bcd57fc87acda94002af74602d934c7e9bfd275339d9ac200cd1f141fb9e2709ac054569bc22f1869623498ce16c636a3fab8dae4e70f |
23 |
|
24 |
diff --git a/app-text/sigil/sigil-1.9.30.ebuild b/app-text/sigil/sigil-1.9.30.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4574fdd28962 |
27 |
--- /dev/null |
28 |
+++ b/app-text/sigil/sigil-1.9.30.ebuild |
29 |
@@ -0,0 +1,75 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{9..11} ) |
36 |
+PYTHON_REQ_USE="tk" |
37 |
+ |
38 |
+inherit xdg cmake python-single-r1 |
39 |
+ |
40 |
+DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format" |
41 |
+HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil" |
42 |
+SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${P^}" |
44 |
+ |
45 |
+LICENSE="GPL-3+ Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="+plugins system-mathjax" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ ${PYTHON_DEPS} |
53 |
+ app-text/hunspell:= |
54 |
+ dev-libs/libpcre2:=[pcre16] |
55 |
+ $(python_gen_cond_dep ' |
56 |
+ dev-python/css-parser[${PYTHON_USEDEP}] |
57 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
58 |
+ dev-python/six[${PYTHON_USEDEP}]') |
59 |
+ dev-qt/qtconcurrent:5 |
60 |
+ dev-qt/qtcore:5 |
61 |
+ dev-qt/qtgui:5 |
62 |
+ dev-qt/qtprintsupport:5 |
63 |
+ dev-qt/qtwebengine:5[widgets] |
64 |
+ dev-qt/qtwidgets:5 |
65 |
+ sys-libs/zlib[minizip] |
66 |
+ plugins? ( $(python_gen_cond_dep ' |
67 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
68 |
+ dev-python/cssselect[${PYTHON_USEDEP}] |
69 |
+ dev-python/dulwich[${PYTHON_USEDEP}] |
70 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
71 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
72 |
+ dev-python/regex[${PYTHON_USEDEP}]') ) |
73 |
+ system-mathjax? ( dev-libs/mathjax ) |
74 |
+" |
75 |
+DEPEND="${RDEPEND}" |
76 |
+BDEPEND=" |
77 |
+ ${PYTHON_DEPS} |
78 |
+ dev-qt/linguist-tools:5 |
79 |
+" |
80 |
+ |
81 |
+DOCS=( ChangeLog.txt README.md ) |
82 |
+ |
83 |
+src_configure() { |
84 |
+ local mycmakeargs=( |
85 |
+ -DTRY_NEWER_FINDPYTHON3=1 |
86 |
+ -DPython3_INCLUDE_DIR="$(python_get_includedir)" |
87 |
+ -DPython3_LIBRARY="$(python_get_library_path)" |
88 |
+ -DPython3_EXECUTABLE="${PYTHON}" |
89 |
+ |
90 |
+ -DINSTALL_BUNDLED_DICTS=0 |
91 |
+ -DSYSTEM_LIBS_REQUIRED=1 |
92 |
+ -DUSE_SYSTEM_LIBS=1 |
93 |
+ -DUSE_QT6=0 |
94 |
+ ) |
95 |
+ use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax ) |
96 |
+ |
97 |
+ cmake_src_configure |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ cmake_src_install |
102 |
+ python_fix_shebang "${ED}"/usr/share/sigil/ |
103 |
+ python_optimize "${ED}"/usr/share/sigil/ |
104 |
+} |