Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian/
Date: Sat, 07 Mar 2020 15:50:30
Message-Id: 1583596211.258f8995ac2b1d60db94c4a72b216e56d7601dbd.blueness@gentoo
1 commit: 258f8995ac2b1d60db94c4a72b216e56d7601dbd
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 7 15:49:43 2020 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 7 15:50:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258f8995
7
8 dev-libs/xapian: remove older versions
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
12
13 dev-libs/xapian/Manifest | 7 ----
14 dev-libs/xapian/xapian-1.2.24.ebuild | 66 -------------------------------
15 dev-libs/xapian/xapian-1.4.10.ebuild | 77 ------------------------------------
16 dev-libs/xapian/xapian-1.4.12.ebuild | 75 -----------------------------------
17 dev-libs/xapian/xapian-1.4.13.ebuild | 74 ----------------------------------
18 dev-libs/xapian/xapian-1.4.5.ebuild | 75 -----------------------------------
19 dev-libs/xapian/xapian-1.4.8.ebuild | 75 -----------------------------------
20 dev-libs/xapian/xapian-1.4.9.ebuild | 75 -----------------------------------
21 8 files changed, 524 deletions(-)
22
23 diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
24 index d427c8b9a1c..c94e4017d1f 100644
25 --- a/dev-libs/xapian/Manifest
26 +++ b/dev-libs/xapian/Manifest
27 @@ -1,12 +1,5 @@
28 -DIST xapian-core-1.2.24.tar.xz 3210192 BLAKE2B 062f0c15ce87fb64b0eec5e5e54b76c443d0581feab44791bce6925f0f77385b423218dc7006d7e095cc9764fffc73a74a067923c44f51816d94b731d001f903 SHA512 1f8ae5848f94b5f0bee03024f12ae8c336b6d85e58f7b36e885fe604f9fb962c0525e1f44e6cfcd183e811226c61b23f0f2fcc35c7d2e63544b19347a0f96c80
29 DIST xapian-core-1.2.25.tar.xz 3253292 BLAKE2B a130e26188c949d0433d017e8d13e7ecf6241a232d00125699ba8ed63eab9cb1651e02182fcc152f960f4e122709958632779daaaf5760fe50953a3b5b07a243 SHA512 a15b5d9b5770337519f671732f53f0642b31f08206824500d589ba309c9e91a05a30353d66ebf70a4c1cb1824b44e1c7b7630e799de3b15d645cf951a6017bfe
30 -DIST xapian-core-1.4.10.tar.xz 2973780 BLAKE2B 6ef86a4c02e6721f434e33ea27a37ddac9cee62f0c9eed8c6334cadb62dd544be66405dd359dd944cf1ab12742c10e786b7300c4987e33ce33da9d9df4e428d4 SHA512 fa716d6f8c04edb297d99dad4d7835f7874837ab3c39d7017e43708cde6992c596e579418be17b79772e002bd23b94169812523a1abd9519b1dd3df474f027d9
31 DIST xapian-core-1.4.11.tar.xz 2975524 BLAKE2B c912e527ef1454c0b4b3e1aedd91a8a63d2e0b2dd186759eac00d6a0f64104669467c6c5b0bf3f132d4fa04bb2ef72d07ccfe92137a3360ba699e3420ee8bea4 SHA512 72ab7b0c774390f38319d241689b2dc3c2837fbbf933616574f6ad167f14a25c2eff747910022065508dc7c44f806dc2b71dae80a1b4f1f47e1675fb951bc785
32 -DIST xapian-core-1.4.12.tar.xz 2979052 BLAKE2B 26b20b22105493679052827a5e6b2890da922cdaa97fca1266b26f6ddb3de6b76d491c37ca10210ef5119ce4250700d87fdd22553456958f6869bc3af51b78ae SHA512 230b39e012366267cf5ea09d01d3b463818c0d05861b8c8643bc6fc238be21bd3f4862adeba864b4af2962b1c0748b3d380dfe845da467f5164b0d938288c430
33 -DIST xapian-core-1.4.13.tar.xz 2985532 BLAKE2B ffe40998f62625eb9b2ee0ebfecbbccaa1838d27229ff16e88a545a6ba514cb61d647c60560c5fcb425588511d1c03836eeda3dfd61a063e96e4bc88b9ca8692 SHA512 aa7b2262dd9d631339131e814f7c96acd85e386a4c4b6331eff86fc7227663589132779bd6b8c340a2b6f19bd66f8b53acbbe5bc985c74f9bdbe3ce3ccf4c1e7
34 DIST xapian-core-1.4.14.tar.xz 2970624 BLAKE2B 5bfa5ab36ad4626fcc9a214427f88bdf55e60166939db3a65d3118b426b0ec6754efc10dbcf32456e033292eba3b29f7500679f69a49df15d40c4111322249ed SHA512 c08c9abe87e08491566b7cfa8cda9e2a80e4959a647428b6d82bce7af1c967b4cb463607ffb8976372a980c163923ced36117a66e0b5a1f35659393def3d371b
35 DIST xapian-core-1.4.15.tar.xz 2988752 BLAKE2B d68d69cdc55c1b62a746620fc90f028819813bb98c0ad0cc130c399a4dd62231b920d24363b61e58d002f65a79a117598455779028de1b26b7a808367f5f2de4 SHA512 f28209acae12a42a345382668f7f7da7a2ce5a08362d0e2af63c9f94cb2adca95366499a7afa0bd9008fbfcca4fd1f2c9221e594fc2a2c740f5899e9f03ecad3
36 -DIST xapian-core-1.4.5.tar.xz 2810612 BLAKE2B 7784e69e3ca064751d829173949fcde65661c2c2070fdc8392cf2b6d40874a3e5b1265e61f25dd39b33e179b3fe3842b67f33a55523c3a18e9b65528e6a23a1e SHA512 cff97a856a406583ca81164ddb704a0eeae7d8d6f94ce3b3f53d5208d657423e87dd06bdc7acb5e5904765bce1cefbc98365cde315c1d46f7b18cfba7b022ae6
37 DIST xapian-core-1.4.7.tar.xz 2874172 BLAKE2B 917a35ca717ed4437f4a617ce0b6ac07d5936e07aac6bfa9d6878c12ed0c38e7ca994ad943b6dc7a5cd2fe131a445c5a7859f2286c2201dd048020569ce1a0bf SHA512 9e77a78bd63036966ebb9bbed91e36fef17b37c9465c8d4b7dc8041f0e24b040e6520de645babfeeade952771d145176a204328718cfa8bc2291bb6fdbe840d2
38 -DIST xapian-core-1.4.8.tar.xz 2880432 BLAKE2B 8468a33614d8c7617755cfe4cc79e72ab42612a79be9fb684525e268efe80c42ce902a60a44dc5548c70b719d752e15927ce24b4ab457905022ae806bffb1f11 SHA512 9ed1f34ec1bf53a4dc628ebb8d080af79a4ac6a315bf1ae52441f0ac3a63e5478ed02887382116b28157b926e685fdc730489426edce560aa4bba27cb7295e48
39 -DIST xapian-core-1.4.9.tar.xz 2880024 BLAKE2B 25272128fbbd7cb23dab92c87be03fee8dae5b742f26a66b9c51c649a7826639e52124f5f0748d3c12cce81a7875ed217931ddbe2b04303a08709c4a773a617f SHA512 1af23815ff9358d6407723d1a7d3dc00df8f45f4808ccaa4c57f38197763fdc2d62cb7b080fab737408db42ced85707021eac881d80767248ea22aff8a2e4aa3
40
41 diff --git a/dev-libs/xapian/xapian-1.2.24.ebuild b/dev-libs/xapian/xapian-1.2.24.ebuild
42 deleted file mode 100644
43 index 1054b3319f3..00000000000
44 --- a/dev-libs/xapian/xapian-1.2.24.ebuild
45 +++ /dev/null
46 @@ -1,66 +0,0 @@
47 -# Copyright 1999-2020 Gentoo Authors
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI="5"
51 -
52 -inherit eutils
53 -
54 -MY_P="${PN}-core-${PV}"
55 -
56 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
57 -HOMEPAGE="https://www.xapian.org/"
58 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
59 -
60 -LICENSE="GPL-2"
61 -SLOT="0/1.2.22" # ABI version of libxapian.so, prefixed with 1.2.
62 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
63 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +chert +inmemory"
64 -
65 -DEPEND="sys-libs/zlib"
66 -RDEPEND="${DEPEND}"
67 -
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -src_configure() {
71 - local myconf=""
72 -
73 - einfo
74 - if use cpu_flags_x86_sse2; then
75 - einfo "Using sse2"
76 - myconf="${myconf} --enable-sse=sse2"
77 - else
78 - if use cpu_flags_x86_sse; then
79 - einfo "Using sse"
80 - myconf="${myconf} --enable-sse=sse"
81 - else
82 - einfo "Disabling sse and sse2"
83 - myconf="${myconf} --disable-sse"
84 - fi
85 - fi
86 - einfo
87 -
88 - myconf="${myconf} $(use_enable static-libs static)"
89 -
90 - use brass || myconf="${myconf} --disable-backend-brass"
91 - use chert || myconf="${myconf} --disable-backend-chert"
92 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
93 -
94 - myconf="${myconf} --enable-backend-flint --enable-backend-remote"
95 -
96 - econf $myconf
97 -}
98 -
99 -src_install() {
100 - emake DESTDIR="${D}" install
101 -
102 - mv "${ED}usr/share/doc/xapian-core" "${ED}usr/share/doc/${PF}" || die
103 - use doc || rm -rf "${ED}usr/share/doc/${PF}"
104 -
105 - dodoc AUTHORS HACKING PLATFORMS README NEWS
106 -
107 - find "${D}" -name "*.la" -type f -delete || die
108 -}
109 -
110 -src_test() {
111 - emake check VALGRIND=
112 -}
113
114 diff --git a/dev-libs/xapian/xapian-1.4.10.ebuild b/dev-libs/xapian/xapian-1.4.10.ebuild
115 deleted file mode 100644
116 index 465bd9228b1..00000000000
117 --- a/dev-libs/xapian/xapian-1.4.10.ebuild
118 +++ /dev/null
119 @@ -1,77 +0,0 @@
120 -# Copyright 1999-2019 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI="7"
124 -
125 -inherit eutils multilib-minimal
126 -
127 -MY_P="${PN}-core-${PV}"
128 -
129 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
130 -HOMEPAGE="https://www.xapian.org/"
131 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
132 -
133 -LICENSE="GPL-2"
134 -SLOT="0/30" # ABI version of libxapian.so
135 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
136 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
137 -
138 -DEPEND="sys-libs/zlib"
139 -RDEPEND="${DEPEND}"
140 -
141 -REQUIRED_USE="inmemory? ( chert )"
142 -
143 -S="${WORKDIR}/${MY_P}"
144 -
145 -multilib_src_configure() {
146 - local myconf=""
147 -
148 - if use cpu_flags_x86_sse2; then
149 - myconf="${myconf} --enable-sse=sse2"
150 - else
151 - if use cpu_flags_x86_sse; then
152 - myconf="${myconf} --enable-sse=sse"
153 - else
154 - myconf="${myconf} --disable-sse"
155 - fi
156 - fi
157 -
158 - myconf="${myconf} $(use_enable static-libs static)"
159 -
160 - use glass || myconf="${myconf} --disable-backend-glass"
161 - use chert || myconf="${myconf} --disable-backend-chert"
162 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
163 -
164 - myconf="${myconf} --enable-backend-remote --program-suffix="
165 -
166 - ECONF_SOURCE=${S} econf $myconf
167 -}
168 -
169 -MULTILIB_WRAPPED_HEADERS=(
170 - /usr/include/xapian/postingsource.h
171 - /usr/include/xapian/attributes.h
172 - /usr/include/xapian/valuesetmatchdecider.h
173 - /usr/include/xapian/version.h
174 - /usr/include/xapian/version.h
175 - /usr/include/xapian/types.h
176 - /usr/include/xapian/positioniterator.h
177 - /usr/include/xapian/registry.h
178 -)
179 -
180 -multilib_src_test() {
181 - emake check VALGRIND=
182 -}
183 -
184 -multilib_src_install() {
185 - emake DESTDIR="${D}" install
186 -}
187 -
188 -multilib_src_install_all() {
189 - if use doc; then
190 - rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
191 - fi
192 -
193 - dodoc AUTHORS HACKING PLATFORMS README NEWS
194 -
195 - find "${D}" -name "*.la" -type f -delete || die
196 -}
197
198 diff --git a/dev-libs/xapian/xapian-1.4.12.ebuild b/dev-libs/xapian/xapian-1.4.12.ebuild
199 deleted file mode 100644
200 index 2ea176e5a4b..00000000000
201 --- a/dev-libs/xapian/xapian-1.4.12.ebuild
202 +++ /dev/null
203 @@ -1,75 +0,0 @@
204 -# Copyright 1999-2019 Gentoo Authors
205 -# Distributed under the terms of the GNU General Public License v2
206 -
207 -EAPI="7"
208 -
209 -inherit eutils multilib-minimal
210 -
211 -MY_P="${PN}-core-${PV}"
212 -
213 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
214 -HOMEPAGE="https://www.xapian.org/"
215 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
216 -
217 -LICENSE="GPL-2"
218 -SLOT="0/30" # ABI version of libxapian.so
219 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
220 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +inmemory +remote"
221 -
222 -DEPEND="sys-libs/zlib"
223 -RDEPEND="${DEPEND}"
224 -
225 -S="${WORKDIR}/${MY_P}"
226 -
227 -multilib_src_configure() {
228 - local myconf=""
229 -
230 - if use cpu_flags_x86_sse2; then
231 - myconf="${myconf} --enable-sse=sse2"
232 - else
233 - if use cpu_flags_x86_sse; then
234 - myconf="${myconf} --enable-sse=sse"
235 - else
236 - myconf="${myconf} --disable-sse"
237 - fi
238 - fi
239 -
240 - myconf="${myconf} $(use_enable static-libs static)"
241 -
242 - use glass || myconf="${myconf} --disable-backend-glass"
243 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
244 - use remote || myconf="${myconf} --disable-backend-remote"
245 -
246 - myconf="${myconf} --enable-backend-chert --program-suffix="
247 -
248 - ECONF_SOURCE=${S} econf $myconf
249 -}
250 -
251 -MULTILIB_WRAPPED_HEADERS=(
252 - /usr/include/xapian/postingsource.h
253 - /usr/include/xapian/attributes.h
254 - /usr/include/xapian/valuesetmatchdecider.h
255 - /usr/include/xapian/version.h
256 - /usr/include/xapian/version.h
257 - /usr/include/xapian/types.h
258 - /usr/include/xapian/positioniterator.h
259 - /usr/include/xapian/registry.h
260 -)
261 -
262 -multilib_src_test() {
263 - emake check VALGRIND=
264 -}
265 -
266 -multilib_src_install() {
267 - emake DESTDIR="${D}" install
268 -}
269 -
270 -multilib_src_install_all() {
271 - if use doc; then
272 - rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
273 - fi
274 -
275 - dodoc AUTHORS HACKING PLATFORMS README NEWS
276 -
277 - find "${D}" -name "*.la" -type f -delete || die
278 -}
279
280 diff --git a/dev-libs/xapian/xapian-1.4.13.ebuild b/dev-libs/xapian/xapian-1.4.13.ebuild
281 deleted file mode 100644
282 index 26a3827b326..00000000000
283 --- a/dev-libs/xapian/xapian-1.4.13.ebuild
284 +++ /dev/null
285 @@ -1,74 +0,0 @@
286 -# Copyright 1999-2019 Gentoo Authors
287 -# Distributed under the terms of the GNU General Public License v2
288 -
289 -EAPI="7"
290 -
291 -inherit eutils multilib-minimal
292 -
293 -MY_P="${PN}-core-${PV}"
294 -
295 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
296 -HOMEPAGE="https://www.xapian.org/"
297 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
298 -
299 -LICENSE="GPL-2"
300 -SLOT="0/30" # ABI version of libxapian.so
301 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
302 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +inmemory +remote"
303 -
304 -DEPEND="sys-libs/zlib"
305 -RDEPEND="${DEPEND}"
306 -
307 -S="${WORKDIR}/${MY_P}"
308 -
309 -multilib_src_configure() {
310 - local myconf=""
311 -
312 - if use cpu_flags_x86_sse2; then
313 - myconf="${myconf} --enable-sse=sse2"
314 - else
315 - if use cpu_flags_x86_sse; then
316 - myconf="${myconf} --enable-sse=sse"
317 - else
318 - myconf="${myconf} --disable-sse"
319 - fi
320 - fi
321 -
322 - myconf="${myconf} $(use_enable static-libs static)"
323 -
324 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
325 - use remote || myconf="${myconf} --disable-backend-remote"
326 -
327 - myconf="${myconf} --enable-backend-glass --enable-backend-chert --program-suffix="
328 -
329 - ECONF_SOURCE=${S} econf $myconf
330 -}
331 -
332 -MULTILIB_WRAPPED_HEADERS=(
333 - /usr/include/xapian/postingsource.h
334 - /usr/include/xapian/attributes.h
335 - /usr/include/xapian/valuesetmatchdecider.h
336 - /usr/include/xapian/version.h
337 - /usr/include/xapian/version.h
338 - /usr/include/xapian/types.h
339 - /usr/include/xapian/positioniterator.h
340 - /usr/include/xapian/registry.h
341 -)
342 -
343 -multilib_src_test() {
344 - emake check VALGRIND=
345 -}
346 -
347 -multilib_src_install() {
348 - emake DESTDIR="${D}" install
349 -}
350 -
351 -multilib_src_install_all() {
352 - if use doc; then
353 - rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
354 - fi
355 -
356 - dodoc AUTHORS HACKING PLATFORMS README NEWS
357 -
358 - find "${D}" -name "*.la" -type f -delete || die
359 -}
360
361 diff --git a/dev-libs/xapian/xapian-1.4.5.ebuild b/dev-libs/xapian/xapian-1.4.5.ebuild
362 deleted file mode 100644
363 index 5ab5beb116b..00000000000
364 --- a/dev-libs/xapian/xapian-1.4.5.ebuild
365 +++ /dev/null
366 @@ -1,75 +0,0 @@
367 -# Copyright 1999-2020 Gentoo Authors
368 -# Distributed under the terms of the GNU General Public License v2
369 -
370 -EAPI="6"
371 -
372 -inherit eutils multilib-minimal
373 -
374 -MY_P="${PN}-core-${PV}"
375 -
376 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
377 -HOMEPAGE="https://www.xapian.org/"
378 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
379 -
380 -LICENSE="GPL-2"
381 -SLOT="0/30" # ABI version of libxapian.so
382 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~x64-solaris"
383 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
384 -
385 -DEPEND="sys-libs/zlib"
386 -RDEPEND="${DEPEND}"
387 -
388 -REQUIRED_USE="inmemory? ( chert )"
389 -
390 -S="${WORKDIR}/${MY_P}"
391 -
392 -multilib_src_configure() {
393 - local myconf=""
394 -
395 - if use cpu_flags_x86_sse2; then
396 - myconf="${myconf} --enable-sse=sse2"
397 - else
398 - if use cpu_flags_x86_sse; then
399 - myconf="${myconf} --enable-sse=sse"
400 - else
401 - myconf="${myconf} --disable-sse"
402 - fi
403 - fi
404 -
405 - myconf="${myconf} $(use_enable static-libs static)"
406 -
407 - use glass || myconf="${myconf} --disable-backend-glass"
408 - use chert || myconf="${myconf} --disable-backend-chert"
409 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
410 -
411 - myconf="${myconf} --enable-backend-remote --program-suffix="
412 -
413 - ECONF_SOURCE=${S} econf $myconf
414 -}
415 -
416 -MULTILIB_WRAPPED_HEADERS=(
417 - /usr/include/xapian/postingsource.h
418 - /usr/include/xapian/attributes.h
419 - /usr/include/xapian/valuesetmatchdecider.h
420 - /usr/include/xapian/version.h
421 - /usr/include/xapian/version.h
422 - /usr/include/xapian/types.h
423 - /usr/include/xapian/positioniterator.h
424 - /usr/include/xapian/registry.h
425 -)
426 -
427 -multilib_src_install() {
428 - emake DESTDIR="${D}" install
429 -}
430 -
431 -multilib_src_install_all() {
432 - use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
433 -
434 - dodoc AUTHORS HACKING PLATFORMS README NEWS
435 -
436 - find "${D}" -name "*.la" -type f -delete || die
437 -}
438 -
439 -multilib_src_test() {
440 - emake check VALGRIND=
441 -}
442
443 diff --git a/dev-libs/xapian/xapian-1.4.8.ebuild b/dev-libs/xapian/xapian-1.4.8.ebuild
444 deleted file mode 100644
445 index 0987e4b4f16..00000000000
446 --- a/dev-libs/xapian/xapian-1.4.8.ebuild
447 +++ /dev/null
448 @@ -1,75 +0,0 @@
449 -# Copyright 1999-2019 Gentoo Authors
450 -# Distributed under the terms of the GNU General Public License v2
451 -
452 -EAPI="6"
453 -
454 -inherit eutils multilib-minimal
455 -
456 -MY_P="${PN}-core-${PV}"
457 -
458 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
459 -HOMEPAGE="https://www.xapian.org/"
460 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
461 -
462 -LICENSE="GPL-2"
463 -SLOT="0/30" # ABI version of libxapian.so
464 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
465 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
466 -
467 -DEPEND="sys-libs/zlib"
468 -RDEPEND="${DEPEND}"
469 -
470 -REQUIRED_USE="inmemory? ( chert )"
471 -
472 -S="${WORKDIR}/${MY_P}"
473 -
474 -multilib_src_configure() {
475 - local myconf=""
476 -
477 - if use cpu_flags_x86_sse2; then
478 - myconf="${myconf} --enable-sse=sse2"
479 - else
480 - if use cpu_flags_x86_sse; then
481 - myconf="${myconf} --enable-sse=sse"
482 - else
483 - myconf="${myconf} --disable-sse"
484 - fi
485 - fi
486 -
487 - myconf="${myconf} $(use_enable static-libs static)"
488 -
489 - use glass || myconf="${myconf} --disable-backend-glass"
490 - use chert || myconf="${myconf} --disable-backend-chert"
491 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
492 -
493 - myconf="${myconf} --enable-backend-remote --program-suffix="
494 -
495 - ECONF_SOURCE=${S} econf $myconf
496 -}
497 -
498 -MULTILIB_WRAPPED_HEADERS=(
499 - /usr/include/xapian/postingsource.h
500 - /usr/include/xapian/attributes.h
501 - /usr/include/xapian/valuesetmatchdecider.h
502 - /usr/include/xapian/version.h
503 - /usr/include/xapian/version.h
504 - /usr/include/xapian/types.h
505 - /usr/include/xapian/positioniterator.h
506 - /usr/include/xapian/registry.h
507 -)
508 -
509 -multilib_src_install() {
510 - emake DESTDIR="${D}" install
511 -}
512 -
513 -multilib_src_install_all() {
514 - use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
515 -
516 - dodoc AUTHORS HACKING PLATFORMS README NEWS
517 -
518 - find "${D}" -name "*.la" -type f -delete || die
519 -}
520 -
521 -multilib_src_test() {
522 - emake check VALGRIND=
523 -}
524
525 diff --git a/dev-libs/xapian/xapian-1.4.9.ebuild b/dev-libs/xapian/xapian-1.4.9.ebuild
526 deleted file mode 100644
527 index 0987e4b4f16..00000000000
528 --- a/dev-libs/xapian/xapian-1.4.9.ebuild
529 +++ /dev/null
530 @@ -1,75 +0,0 @@
531 -# Copyright 1999-2019 Gentoo Authors
532 -# Distributed under the terms of the GNU General Public License v2
533 -
534 -EAPI="6"
535 -
536 -inherit eutils multilib-minimal
537 -
538 -MY_P="${PN}-core-${PV}"
539 -
540 -DESCRIPTION="Xapian Probabilistic Information Retrieval library"
541 -HOMEPAGE="https://www.xapian.org/"
542 -SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
543 -
544 -LICENSE="GPL-2"
545 -SLOT="0/30" # ABI version of libxapian.so
546 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris"
547 -IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
548 -
549 -DEPEND="sys-libs/zlib"
550 -RDEPEND="${DEPEND}"
551 -
552 -REQUIRED_USE="inmemory? ( chert )"
553 -
554 -S="${WORKDIR}/${MY_P}"
555 -
556 -multilib_src_configure() {
557 - local myconf=""
558 -
559 - if use cpu_flags_x86_sse2; then
560 - myconf="${myconf} --enable-sse=sse2"
561 - else
562 - if use cpu_flags_x86_sse; then
563 - myconf="${myconf} --enable-sse=sse"
564 - else
565 - myconf="${myconf} --disable-sse"
566 - fi
567 - fi
568 -
569 - myconf="${myconf} $(use_enable static-libs static)"
570 -
571 - use glass || myconf="${myconf} --disable-backend-glass"
572 - use chert || myconf="${myconf} --disable-backend-chert"
573 - use inmemory || myconf="${myconf} --disable-backend-inmemory"
574 -
575 - myconf="${myconf} --enable-backend-remote --program-suffix="
576 -
577 - ECONF_SOURCE=${S} econf $myconf
578 -}
579 -
580 -MULTILIB_WRAPPED_HEADERS=(
581 - /usr/include/xapian/postingsource.h
582 - /usr/include/xapian/attributes.h
583 - /usr/include/xapian/valuesetmatchdecider.h
584 - /usr/include/xapian/version.h
585 - /usr/include/xapian/version.h
586 - /usr/include/xapian/types.h
587 - /usr/include/xapian/positioniterator.h
588 - /usr/include/xapian/registry.h
589 -)
590 -
591 -multilib_src_install() {
592 - emake DESTDIR="${D}" install
593 -}
594 -
595 -multilib_src_install_all() {
596 - use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
597 -
598 - dodoc AUTHORS HACKING PLATFORMS README NEWS
599 -
600 - find "${D}" -name "*.la" -type f -delete || die
601 -}
602 -
603 -multilib_src_test() {
604 - emake check VALGRIND=
605 -}