1 |
commit: d67bc8a422f828c9fcde3716cf48b7e87bbee64e |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 13:57:43 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 13:58:08 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67bc8a4 |
7 |
|
8 |
dev-libs/xapian: version bump to 1.2.22 |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
dev-libs/xapian/Manifest | 1 + |
13 |
dev-libs/xapian/xapian-1.2.22.ebuild | 67 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest |
17 |
index 5c584a2..5fd94c8 100644 |
18 |
--- a/dev-libs/xapian/Manifest |
19 |
+++ b/dev-libs/xapian/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST xapian-core-1.2.19.tar.xz 3175384 SHA256 4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785 SHA512 5cd29b8c278b4fa652f947cd6689945bbe239c95425344d0fedb445bf1534198333844d91e6e59cf870043066f4dc511cd0268071916002e96bd38b59aa91c1b WHIRLPOOL 5d65982d47145addc6585b72a99494bf6d14277df2c796925fbe6284ddd08b89fbc147c1a29575d573afebb2e2f6eb6dc73d58161260404be7e5ceefe1371ffb |
22 |
DIST xapian-core-1.2.21.tar.xz 3202560 SHA256 63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f SHA512 a821043ea1686a09178bb91b14ed6a8cf00c50dfb0f066e420a40395edd3be085d7f89abb8f6a1151c847272c13601274e645055ede3548b07d5e912f0a70f81 WHIRLPOOL 9de8b2b70252b87da16a2502a831b46857f48cca8623a6ac411291bb6607bd61968ddd64a77c8685f300818abcbf91149a3f43af849a7843f67a5ebcc5130963 |
23 |
+DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f1955008d7702f9966dec68608588527f SHA512 cb6bd565eb307f9bc8f801fc9cda0cc6ad5d7cb8bf0af2ab6e42d48ca4ea4169f08621db810ab87d15957d0f873bcb0336e16b12fdb6026375d9c0192781e0d6 WHIRLPOOL 580c16889a6c3e99a00f8bb791f878a08ff3522c3dffb18ace18d54575247332f0fff8866f46475513dde7544205fe08971cbd284ec3714ce0d6b9b445e8746e |
24 |
DIST xapian-core-1.3.3.tar.xz 2543260 SHA256 2d273ca0df6af208c4b6904542a9dffed8a9520376522d650e1a2885b476a280 SHA512 8b0d0fce532748efc1c2705e3f6f45ff83ec97be7c1f5b54846a9ff94b9d416b67491262a157afdc40497c52e1c4aa94bd11a78b4494db4a1fb45ba6d18f7099 WHIRLPOOL bf9c2f1606ba72469f2306cc6edfff63834c58831ee75063e39445392460b85478c9c44ef7d2ec1fdfd63bad113544f8c1ba3eb01ee178abf63da3a7ae2d5b3b |
25 |
|
26 |
diff --git a/dev-libs/xapian/xapian-1.2.22.ebuild b/dev-libs/xapian/xapian-1.2.22.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..54e12ec |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/xapian/xapian-1.2.22.ebuild |
31 |
@@ -0,0 +1,67 @@ |
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 |
+ |
38 |
+inherit eutils |
39 |
+ |
40 |
+MY_P="${PN}-core-${PV}" |
41 |
+ |
42 |
+DESCRIPTION="Xapian Probabilistic Information Retrieval library" |
43 |
+HOMEPAGE="http://www.xapian.org/" |
44 |
+SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0/1.2.22" # ABI version of libxapian.so, prefixed with 1.2. |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
49 |
+IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +chert +inmemory" |
50 |
+ |
51 |
+DEPEND="sys-libs/zlib" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+ |
54 |
+S="${WORKDIR}/${MY_P}" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local myconf="" |
58 |
+ |
59 |
+ ewarn |
60 |
+ if use cpu_flags_x86_sse2; then |
61 |
+ ewarn "Using sse2" |
62 |
+ myconf="${myconf} --enable-sse=sse2" |
63 |
+ else |
64 |
+ if use cpu_flags_x86_sse; then |
65 |
+ ewarn "Using sse" |
66 |
+ myconf="${myconf} --enable-sse=sse" |
67 |
+ else |
68 |
+ ewarn "Disabling sse and sse2" |
69 |
+ myconf="${myconf} --disable-sse" |
70 |
+ fi |
71 |
+ fi |
72 |
+ ewarn |
73 |
+ |
74 |
+ myconf="${myconf} $(use_enable static-libs static)" |
75 |
+ |
76 |
+ use brass || myconf="${myconf} --disable-backend-brass" |
77 |
+ use chert || myconf="${myconf} --disable-backend-chert" |
78 |
+ use inmemory || myconf="${myconf} --disable-backend-inmemory" |
79 |
+ |
80 |
+ myconf="${myconf} --enable-backend-flint --enable-backend-remote" |
81 |
+ |
82 |
+ econf $myconf |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ emake DESTDIR="${D}" install |
87 |
+ |
88 |
+ mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}" || die |
89 |
+ use doc || rm -rf "${D}usr/share/doc/${PF}" |
90 |
+ |
91 |
+ dodoc AUTHORS HACKING PLATFORMS README NEWS |
92 |
+ |
93 |
+ prune_libtool_files --all |
94 |
+} |
95 |
+ |
96 |
+src_test() { |
97 |
+ emake check VALGRIND= |
98 |
+} |