1 |
commit: 3969890de1f60c379ccf98332b77a389af7a01bc |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 21 05:44:15 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 21 11:58:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3969890d |
7 |
|
8 |
app-text/sigil: bump v0.9.16 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/684776 |
11 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
12 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
app-text/sigil/Manifest | 1 + |
16 |
app-text/sigil/sigil-0.9.16.ebuild | 96 ++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 97 insertions(+) |
18 |
|
19 |
diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest |
20 |
index 9a1989190d4..7c846529f92 100644 |
21 |
--- a/app-text/sigil/Manifest |
22 |
+++ b/app-text/sigil/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST Sigil-0.9.13.tar.gz 18235134 BLAKE2B 4afe0f0258a8c1056029534ec696372e40343b9a398b612ee32fe95a3d417594bcc6782a4e6447323d67e84db5193756ff7c8756e160c432678ebc59ddeab706 SHA512 cafc6b075827239b73e80d3efa02e4e77d5903fed1faf8b600f70b178fb0c248c38d43e115f249124859edc12ddd8caf199ef0b0d05f20852eb060b27e5a3578 |
25 |
DIST Sigil-0.9.8-Code.zip 19807795 BLAKE2B 002626842b2619b94889780a66e4de1f6d6fc9f07e36069608d2edae1078516d7c0fbedad6d4966f2cff64ccd21730719a04c144b3c3c1740ad727448aff8af2 SHA512 18cd137ead965bc97626499ec73dddb8db82b4d538c30f70e62546bd1eeb6e2e76ce7587d572354d973363a07e93ec33b60024bbef7914a22cbfc28a76af2a00 |
26 |
+DIST sigil-0.9.16.tar.gz 21241424 BLAKE2B 1e784768cfe98e08ac01f5a9c11ec8254f9a0211f69ee1eb479643cc83677f6fea43745bcb158ea178ac64eec87c2e0062e783af2fe7477e2e5e8faf4db24c46 SHA512 45358912527484a7c580db34733d30927938443096fbf23e969d966e140a20607a4d98e086149a5eeb620f2462efc9abd531988c1b5cd93c373e747d5e5cd20a |
27 |
|
28 |
diff --git a/app-text/sigil/sigil-0.9.16.ebuild b/app-text/sigil/sigil-0.9.16.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7f5b6030154 |
31 |
--- /dev/null |
32 |
+++ b/app-text/sigil/sigil-0.9.16.ebuild |
33 |
@@ -0,0 +1,96 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
40 |
+PYTHON_REQ_USE="tk" |
41 |
+ |
42 |
+inherit cmake-utils python-single-r1 readme.gentoo-r1 xdg-utils |
43 |
+ |
44 |
+DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format" |
45 |
+HOMEPAGE="https://sigil-ebook.com/" |
46 |
+SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3+ Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ ${PYTHON_DEPS} |
55 |
+ app-text/hunspell:= |
56 |
+ dev-libs/boost:=[threads] |
57 |
+ dev-libs/libpcre:3=[pcre16] |
58 |
+ dev-libs/mathjax |
59 |
+ dev-libs/xerces-c[icu] |
60 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
61 |
+ dev-python/cssselect[${PYTHON_USEDEP}] |
62 |
+ dev-python/cssutils[${PYTHON_USEDEP}] |
63 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
64 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
65 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
66 |
+ dev-python/regex[${PYTHON_USEDEP}] |
67 |
+ dev-python/six[${PYTHON_USEDEP}] |
68 |
+ >=dev-qt/qtconcurrent-5.12:5 |
69 |
+ >=dev-qt/qtcore-5.12:5 |
70 |
+ >=dev-qt/qtgui-5.12:5 |
71 |
+ >=dev-qt/qtprintsupport-5.12:5 |
72 |
+ >=dev-qt/qtwebengine-5.12:5[widgets] |
73 |
+ >=dev-qt/qtwidgets-5.12:5 |
74 |
+ >=dev-qt/qtxmlpatterns-5.12:5 |
75 |
+ sys-libs/zlib[minizip] |
76 |
+" |
77 |
+DEPEND="${RDEPEND}" |
78 |
+ |
79 |
+BDEPEND=" |
80 |
+ dev-qt/linguist-tools:5 |
81 |
+ virtual/pkgconfig |
82 |
+" |
83 |
+ |
84 |
+S="${WORKDIR}/Sigil-${PV}" |
85 |
+ |
86 |
+DOCS=( ChangeLog.txt README.md ) |
87 |
+ |
88 |
+DOC_CONTENTS="From Sigil's release notes: |
89 |
+When you fire up Sigil for the very first time: |
90 |
+navigate to the new General Preferences and select the default |
91 |
+epub version you plan to work with (epub 2 or epub3) so that new |
92 |
+empty ebooks start with the correct code. |
93 |
+if you plan to work with epub3 epubs, you should change your |
94 |
+PreserveEntities setting to use ONLY NUMERIC entities. |
95 |
+ |
96 |
+For example use & # 1 6 0 ; for non-breaking spaces and etc. |
97 |
+ |
98 |
+We strongly recommend enabling Mend On Open in your settings |
99 |
+for best performance with Sigil." |
100 |
+ |
101 |
+src_configure() { |
102 |
+ python_export PYTHON_LIBPATH PYTHON_INCLUDEDIR |
103 |
+ local mycmakeargs=( |
104 |
+ -DINSTALL_BUNDLED_DICTS=0 |
105 |
+ -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax |
106 |
+ -DUSE_SYSTEM_LIBS=1 |
107 |
+ -DSYSTEM_LIBS_REQUIRED=1 |
108 |
+ -DPYTHON_EXECUTABLE="${PYTHON}" |
109 |
+ -DPYTHON_LIBRARY="${PYTHON_LIBPATH}" |
110 |
+ -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" |
111 |
+ ) |
112 |
+ cmake-utils_src_configure |
113 |
+} |
114 |
+ |
115 |
+src_install() { |
116 |
+ cmake-utils_src_install |
117 |
+ python_fix_shebang "${ED}"/usr/share/sigil/ |
118 |
+ python_optimize "${ED}"/usr/share/sigil/ |
119 |
+ DISABLE_AUTOFORMATTING=true readme.gentoo_create_doc |
120 |
+} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ xdg_desktop_database_update |
124 |
+ readme.gentoo_print_elog |
125 |
+} |
126 |
+ |
127 |
+pkg_postrm() { |
128 |
+ xdg_desktop_database_update |
129 |
+} |