Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/
Date: Fri, 25 Sep 2015 09:12:42
Message-Id: 1443167690.e7f58e759c5bc6efc7a56ea0089a790985562dcb.monsieurp@gentoo
1 commit: e7f58e759c5bc6efc7a56ea0089a790985562dcb
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Fri Sep 25 07:54:50 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 07:54:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f58e75
7
8 recommit to trick github into recheck
9
10 app-text/sigil/Manifest | 2 +
11 app-text/sigil/sigil-0.8.6-r1.ebuild | 65 ++++++++++++++++++++++++++++++
12 app-text/sigil/sigil-0.8.7.ebuild | 65 ++++++++++++++++++++++++++++++
13 app-text/sigil/sigil-0.8.900_pre.ebuild | 70 +++++++++++++++++++++++++++++++++
14 4 files changed, 202 insertions(+)
15
16 diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest
17 index 556133e..9debb23 100644
18 --- a/app-text/sigil/Manifest
19 +++ b/app-text/sigil/Manifest
20 @@ -1,2 +1,4 @@
21 DIST sigil-0.8.5.tar.gz 19394323 SHA256 12540493685988a2a3a3898675b8c92c422fbec43513bdd935b802fc68ca40f4 SHA512 fd4d65afe5afe97522727681963c08483b9ab78070fed2e13c987a45d5f8b9885d7a55c721d25213c097016bd1c375369f1ebedc079329bd995955e6d75d2d06 WHIRLPOOL 0026e04e9f304186a5f6c6d7756cdb30c004e0da4f969d89c19dfa1a475dfe29a85058c82d4066089111778d83c411d520bced0ce19e8fd94b80f0a1a5608ad6
22 DIST sigil-0.8.6.tar.gz 19394568 SHA256 5f89b47abbf0a7befa4e776083db5426456f8ef1ef50bd168dc98d621fb2ad26 SHA512 5d45ca43520f6fd13e83c97da24d613a05e9b33dd0e07637f872a0fb6050f345f9228a8f63d1e81ee727f07d6dbdf306d55fdb51d0ac67dde33327465c3c6732 WHIRLPOOL 99388aef513842b930c4f549fdfa23414366a9af390850fa982dd3ef53d59ab4bd443001929bb50d83699ed4f960104f8f96452744a9acb5f08416843dcbe960
23 +DIST sigil-0.8.7.tar.gz 19394061 SHA256 0352cc46714ebb5067a0fbdbbc76dded8f10ea0f4f43374c7dbcac6eba49e104 SHA512 24b74c835ae1f8fb887c9d2c59b3ccc6720ce1fe8d19a6b0056754ab5ea6e63c34c4b229f4e4b3a880e722876d288e58385f5a0ad15b295f147b77b1acf28652 WHIRLPOOL 2cb7a8a928069a2f005396faa9bdacde1f77f3cca3a3ba2458b8562e48298a127b9de9d7ecea5f106ad68865d5074b13fff5a234497b2b6655ac1a3c3edef827
24 +DIST sigil-0.8.900_pre.tar.gz 17691810 SHA256 8f96b2220abb96c53d72d4d2f704f9fdbd60443ace2f226ebc19c14e43ca0e5a SHA512 4b642c21e9500db04fe31117cdf3a083e4609ddc0e1c6323d1561e771bb033ab57d2edb024a12a74400332d97e5d5ee2d25f4635f87df9c09d940a6b12700518 WHIRLPOOL 14262882ce60bec0fb66a20afd3241390f97aa97cf29b32bf159703ddbf18a0dd7bfa463737573d266522eccb4ed15e89e8bf9ec03357929bfeaf6dcfa61a29e
25
26 diff --git a/app-text/sigil/sigil-0.8.6-r1.ebuild b/app-text/sigil/sigil-0.8.6-r1.ebuild
27 new file mode 100644
28 index 0000000..45fc347
29 --- /dev/null
30 +++ b/app-text/sigil/sigil-0.8.6-r1.ebuild
31 @@ -0,0 +1,65 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +CMAKE_MIN_VERSION="3.0"
38 +CMAKE_BUILD_TYPE="Release"
39 +
40 +# This ebuild could use some python checks, as sigil contains python plugin architecture.
41 +
42 +inherit eutils cmake-utils
43 +
44 +MY_PN="Sigil"
45 +
46 +DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
47 +HOMEPAGE="http://sigil-ebook.com/"
48 +SRC_URI="https://github.com/user-none/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="GPL-3"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE=""
54 +
55 +RDEPEND="
56 + >=app-text/hunspell-1.3.2
57 + >=dev-libs/boost-1.49[threads]
58 + >=dev-libs/libpcre-8.31[pcre16]
59 + >=dev-libs/xerces-c-3.1.1[icu]
60 + >=dev-qt/qtconcurrent-5.4:5
61 + >=dev-qt/qtcore-5.4:5
62 + >=dev-qt/qtgui-5.4:5
63 + >=dev-qt/qtnetwork-5.4:5
64 + >=dev-qt/qtprintsupport-5.4:5
65 + >=dev-qt/qtsvg-5.4:5
66 + >=dev-qt/qtwebkit-5.4:5
67 + >=dev-qt/qtwidgets-5.4:5
68 + >=dev-qt/qtxml-5.4:5
69 + >=dev-qt/qtxmlpatterns-5.4:5
70 + >=sys-libs/zlib-1.2.7[minizip]
71 +"
72 +DEPEND="${RDEPEND}
73 + virtual/pkgconfig
74 + >=dev-qt/linguist-tools-5.4:5
75 +"
76 +
77 +S="${WORKDIR}/${MY_PN}-${PV}"
78 +
79 +DOCS=( README.md )
80 +
81 +src_prepare() {
82 + # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
83 + sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
84 +
85 + cmake-utils_src_prepare
86 +}
87 +
88 +src_configure() {
89 + cmake-utils_src_configure
90 +
91 + cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
92 + for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
93 + do
94 + sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
95 + done
96 +}
97
98 diff --git a/app-text/sigil/sigil-0.8.7.ebuild b/app-text/sigil/sigil-0.8.7.ebuild
99 new file mode 100644
100 index 0000000..027d5d0
101 --- /dev/null
102 +++ b/app-text/sigil/sigil-0.8.7.ebuild
103 @@ -0,0 +1,65 @@
104 +# Copyright 1999-2015 Gentoo Foundation
105 +# Distributed under the terms of the GNU General Public License v2
106 +# $Id$
107 +
108 +EAPI=5
109 +CMAKE_MIN_VERSION="3.0"
110 +CMAKE_BUILD_TYPE="Release"
111 +
112 +# This ebuild could use some python checks, as sigil contains python plugin architecture.
113 +
114 +inherit eutils cmake-utils
115 +
116 +MY_PN="Sigil"
117 +
118 +DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
119 +HOMEPAGE="http://sigil-ebook.com/"
120 +SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
121 +
122 +LICENSE="GPL-3"
123 +SLOT="0"
124 +KEYWORDS="~amd64 ~x86"
125 +IUSE=""
126 +
127 +RDEPEND="
128 + >=app-text/hunspell-1.3.2
129 + >=dev-libs/boost-1.49[threads]
130 + >=dev-libs/libpcre-8.31[pcre16]
131 + >=dev-libs/xerces-c-3.1.1[icu]
132 + >=dev-qt/qtconcurrent-5.4:5
133 + >=dev-qt/qtcore-5.4:5
134 + >=dev-qt/qtgui-5.4:5
135 + >=dev-qt/qtnetwork-5.4:5
136 + >=dev-qt/qtprintsupport-5.4:5
137 + >=dev-qt/qtsvg-5.4:5
138 + >=dev-qt/qtwebkit-5.4:5
139 + >=dev-qt/qtwidgets-5.4:5
140 + >=dev-qt/qtxml-5.4:5
141 + >=dev-qt/qtxmlpatterns-5.4:5
142 + >=sys-libs/zlib-1.2.7[minizip]
143 +"
144 +DEPEND="${RDEPEND}
145 + virtual/pkgconfig
146 + >=dev-qt/linguist-tools-5.4:5
147 +"
148 +
149 +S="${WORKDIR}/${MY_PN}-${PV}"
150 +
151 +DOCS=( README.md )
152 +
153 +src_prepare() {
154 + # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
155 + sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
156 +
157 + cmake-utils_src_prepare
158 +}
159 +
160 +src_configure() {
161 + cmake-utils_src_configure
162 +
163 + cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
164 + for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
165 + do
166 + sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
167 + done
168 +}
169
170 diff --git a/app-text/sigil/sigil-0.8.900_pre.ebuild b/app-text/sigil/sigil-0.8.900_pre.ebuild
171 new file mode 100644
172 index 0000000..9ec78bd
173 --- /dev/null
174 +++ b/app-text/sigil/sigil-0.8.900_pre.ebuild
175 @@ -0,0 +1,70 @@
176 +# Copyright 1999-2015 Gentoo Foundation
177 +# Distributed under the terms of the GNU General Public License v2
178 +# $Id$
179 +
180 +EAPI=5
181 +CMAKE_MIN_VERSION="3.0"
182 +CMAKE_BUILD_TYPE="Release"
183 +
184 +# This ebuild could use some python checks, as sigil contains python plugin architecture.
185 +
186 +inherit eutils cmake-utils
187 +
188 +MY_PN="Sigil"
189 +MY_PV="0.8.900"
190 +
191 +DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
192 +HOMEPAGE="http://sigil-ebook.com/"
193 +SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
194 +
195 +LICENSE="GPL-3"
196 +SLOT="0"
197 +KEYWORDS="~amd64 ~x86"
198 +IUSE=""
199 +
200 +RDEPEND="
201 + dev-lang/python:3.4
202 + >=dev-libs/boost-1.49[threads]
203 + >=dev-libs/libpcre-8.31[pcre16]
204 + >=dev-libs/xerces-c-3.1.1[icu]
205 + >=dev-qt/qtconcurrent-5.4:5
206 + >=dev-qt/qtcore-5.4:5
207 + >=dev-qt/qtgui-5.4:5
208 + >=dev-qt/qtnetwork-5.4:5
209 + >=dev-qt/qtprintsupport-5.4:5
210 + >=dev-qt/qtsvg-5.4:5
211 + >=dev-qt/qtwebkit-5.4:5
212 + >=dev-qt/qtwidgets-5.4:5
213 + >=dev-qt/qtxml-5.4:5
214 + >=dev-qt/qtxmlpatterns-5.4:5
215 + >=sys-libs/zlib-1.2.7[minizip]
216 +"
217 +DEPEND="${RDEPEND}
218 + virtual/pkgconfig
219 + >=dev-qt/linguist-tools-5.4:5
220 +"
221 +
222 +S="${WORKDIR}/${MY_PN}-${MY_PV}"
223 +
224 +DOCS=( README.md ChangeLog.txt )
225 +
226 +src_prepare() {
227 + # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
228 + sed -e '/set( QT_LIBS/d' -i src/CMakeLists.txt || die "sed failed"
229 +
230 + cmake-utils_src_prepare
231 +}
232 +
233 +src_configure() {
234 + local mycmakeargs=(
235 + -DUSE_SYSTEM_LIBS=1
236 + -DSYSTEM_LIBS_REQUIRED=1
237 + )
238 + cmake-utils_src_configure
239 +
240 + cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
241 + for i in CMakeCache.txt src/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
242 + do
243 + sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
244 + done
245 +}