1 |
commit: 2e2f7cf64cd7fd83d3a604e52bc77cceb7770493 |
2 |
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn> |
3 |
AuthorDate: Tue Mar 29 21:22:54 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 23:23:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2f7cf6 |
7 |
|
8 |
app-text/sigil: version bump 0.9.5 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
RepoMan-Options: --ignore-arches |
12 |
Closes: https://github.com/gentoo/gentoo/pull/1162 |
13 |
|
14 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
15 |
|
16 |
app-text/sigil/Manifest | 1 + |
17 |
app-text/sigil/sigil-0.9.5.ebuild | 89 +++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 90 insertions(+) |
19 |
|
20 |
diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest |
21 |
index daeea60..71aa79b 100644 |
22 |
--- a/app-text/sigil/Manifest |
23 |
+++ b/app-text/sigil/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
+DIST Sigil-0.9.5-Code.zip 19224845 SHA256 fd9963c4e5b9013bd95ed0659dbc5e67c9848982800f2ec99bf96bbdfb708ff1 SHA512 f2e151f716ce57f9bb94d621ae8e5281c6a0cce12e58b49abe959d1f602fbdb8d28f16d5dc418dca871b100efba2fe13f7f2a66c6704346b5a40755a68e8f625 WHIRLPOOL 8ec15cb19175097b4bd0613139366d58a5fd0c01259e3cfb9203d585e009f1207ba3e9b68cd5213793c8309f9e18720ac9eec674d820947833a90dbcc6dcc3d5 |
26 |
DIST sigil-0.8.7.tar.gz 19394061 SHA256 0352cc46714ebb5067a0fbdbbc76dded8f10ea0f4f43374c7dbcac6eba49e104 SHA512 24b74c835ae1f8fb887c9d2c59b3ccc6720ce1fe8d19a6b0056754ab5ea6e63c34c4b229f4e4b3a880e722876d288e58385f5a0ad15b295f147b77b1acf28652 WHIRLPOOL 2cb7a8a928069a2f005396faa9bdacde1f77f3cca3a3ba2458b8562e48298a127b9de9d7ecea5f106ad68865d5074b13fff5a234497b2b6655ac1a3c3edef827 |
27 |
DIST sigil-0.9.4.tar.gz 18084460 SHA256 97872d88e1b55de638f77add19d95f867b39fa919ed98bfe7a7e11b0bc44c168 SHA512 dad5d44061375da99748d767c0cc288e11d02cc475c239b7709b4ace36cfd0deec8b2a5bcd74431e0465e1cd4d927bafd094ba238aec06bf40ec62d43d568cc1 WHIRLPOOL 5ecbb09f373e976f716dfc2c95d504bb92f40bf5cc42f0b09c90430ca67141e1e0feb89cdabcc1fac225b1785a3bf443299dd8eeb8dd39824f044c9a32a81f52 |
28 |
|
29 |
diff --git a/app-text/sigil/sigil-0.9.5.ebuild b/app-text/sigil/sigil-0.9.5.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..ad8e7cb |
32 |
--- /dev/null |
33 |
+++ b/app-text/sigil/sigil-0.9.5.ebuild |
34 |
@@ -0,0 +1,89 @@ |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=6 |
40 |
+CMAKE_MIN_VERSION="3.0" |
41 |
+ |
42 |
+PYTHON_COMPAT=( python3_4 python3_5 ) |
43 |
+ |
44 |
+inherit eutils cmake-utils python-single-r1 |
45 |
+ |
46 |
+my_pn="Sigil" |
47 |
+ |
48 |
+DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format" |
49 |
+HOMEPAGE="http://sigil-ebook.com/" |
50 |
+SRC_URI="https://github.com/Sigil-Ebook/${my_pn}/releases/download/${PV}/${my_pn}-${PV}-Code.zip" |
51 |
+ |
52 |
+LICENSE="GPL-3" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~x86" |
55 |
+IUSE="" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ app-text/hunspell |
59 |
+ dev-libs/boost[threads] |
60 |
+ dev-libs/libpcre[pcre16] |
61 |
+ dev-libs/xerces-c[icu] |
62 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
63 |
+ dev-python/cssselect[${PYTHON_USEDEP}] |
64 |
+ dev-python/cssutils[${PYTHON_USEDEP}] |
65 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
66 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
67 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
68 |
+ dev-python/regex[${PYTHON_USEDEP}] |
69 |
+ dev-python/six[${PYTHON_USEDEP}] |
70 |
+ >=dev-qt/qtconcurrent-5.4:5 |
71 |
+ >=dev-qt/qtcore-5.4:5 |
72 |
+ >=dev-qt/qtgui-5.4:5 |
73 |
+ >=dev-qt/qtnetwork-5.4:5 |
74 |
+ >=dev-qt/qtprintsupport-5.4:5 |
75 |
+ >=dev-qt/qtsvg-5.4:5 |
76 |
+ >=dev-qt/qtwebkit-5.4:5 |
77 |
+ >=dev-qt/qtwidgets-5.4:5 |
78 |
+ >=dev-qt/qtxml-5.4:5 |
79 |
+ >=dev-qt/qtxmlpatterns-5.4:5 |
80 |
+ sys-libs/zlib[minizip] |
81 |
+" |
82 |
+DEPEND="${RDEPEND} |
83 |
+ >=sys-devel/gcc-4.8 |
84 |
+ virtual/pkgconfig |
85 |
+ >=dev-qt/linguist-tools-5.4:5 |
86 |
+" |
87 |
+ |
88 |
+S="${WORKDIR}" |
89 |
+ |
90 |
+DOCS=( ChangeLog.txt README.md ) |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely |
94 |
+ sed -e '/set( QT_LIBS/d' -i src/CMakeLists.txt || die "sed failed" |
95 |
+ eapply "${FILESDIR}/sigil-0.9.4-proper-gumbo-install.patch" |
96 |
+ |
97 |
+ eapply_user |
98 |
+ cmake-utils_src_prepare |
99 |
+} |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local mycmakeargs=( |
103 |
+ -DUSE_SYSTEM_LIBS=1 |
104 |
+ -DSYSTEM_LIBS_REQUIRED=1 |
105 |
+ -DLIBDIR="$(get_libdir)" |
106 |
+ ) |
107 |
+ cmake-utils_src_configure |
108 |
+} |
109 |
+ |
110 |
+pkg_postinst() { |
111 |
+ elog "From Sigil's release notes:" |
112 |
+ elog "When you fire up Sigil for the very first time:" |
113 |
+ elog "navigate to the new General Preferences and select the default" |
114 |
+ elog "epub version you plan to work with (epub 2 or epub3) so that new" |
115 |
+ elog "empty ebooks start with the correct code." |
116 |
+ elog "if you plan to work with epub3 epubs, you should change your" |
117 |
+ elog "PreserveEntities setting to use ONLY NUMERIC entities." |
118 |
+ elog "" |
119 |
+ elog "For example use & # 1 6 0 ; for non-breaking spaces and etc." |
120 |
+ elog "" |
121 |
+ elog "We strongly recommend enabling Mend On Open in your settings" |
122 |
+ elog "for best performance with Sigil." |
123 |
+} |