1 |
commit: a313f64b6c2c1dae64e9d4a5c04f5c24b9d269d6 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 19:47:17 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 20:02:08 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a313f64b |
7 |
|
8 |
dev-libs/xapian: version bump to 1.4.0 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-libs/xapian/Manifest | 1 + |
13 |
dev-libs/xapian/xapian-1.4.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest |
17 |
index d02e880..6e868ae 100644 |
18 |
--- a/dev-libs/xapian/Manifest |
19 |
+++ b/dev-libs/xapian/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f19 |
21 |
DIST xapian-core-1.2.23.tar.xz 3206452 SHA256 9783aeae4e1a6d06e5636b270db4b458a7d0804a31da158269f57fa5dc86347d SHA512 df3fa71150575faf982d6b90f2364962d61012dd45ed7ef4945a0623ed7056c32ea3cbc423f2016415a80779251ecb5080b6a34c5b66b823cf8d92fe6b5b3d30 WHIRLPOOL a5498117b060218455946948c119e52ed0639a2c2d5f1fd60e416ab06ad2cd483814039801d1fa29e097a994927d482a2bd10ab18bca28a413198ea1adb4187b |
22 |
DIST xapian-core-1.3.6.tar.xz 2605652 SHA256 e952795a6619366e1de7d2bebf0e636c34123170fd41316878e28d693819da82 SHA512 a4a4c800d6b4708ba7793da7e413d91777ab30076526022ca12f2c497ab9b68dbf17b08abd4282c32f66778a4c7ad00cce37925fea36384960874a0327637ac1 WHIRLPOOL 2c6858f1b6dece7aacf2397beab3312681750c18559125771ef00a1768d2ae26eadcdc7aaac24f5121aeb634a36984e95b635965509f0e494d8c0d06971155d7 |
23 |
DIST xapian-core-1.3.7.tar.xz 2607044 SHA256 cfbbd8d42512690bc9867ed88a6a80723fe4193b6c4b97597f8fdf49026b94e7 SHA512 c12714fa77afd524fea084758006a00d2ff74ca23925cff3f4313024f7e103e12e2fd525480c1f9ec707c3282ee4de85c45cd38d5cc8244bf2a60f7d6e703069 WHIRLPOOL 4425d1e9ac9b73b255e1abdcf7d69f5fd70f547519fa448a4876f953e330ebb2abb7ad08b16da360ca7ced50c6d60e6ea2bec127d788f44f0725ac84bb41f3f6 |
24 |
+DIST xapian-core-1.4.0.tar.xz 2613272 SHA256 10584f57112aa5e9c0e8a89e251aecbf7c582097638bfee79c1fe39a8b6a6477 SHA512 e37868e80187718995fd5b0f92a47c801b76c7bef129e01928d1de925b5f655ffe7c6907218809469ad4b89bf81c67ce9c9b5cc0646f2b8d629d6afd629a621e WHIRLPOOL 8d25bfbc4f872bed8e3512c85db568ab9a53166bc82a40874d61bad4599b6a4c23bbc16897c674669413a52c329bc718c00298392f19e1c99130b931c5d0b6ef |
25 |
|
26 |
diff --git a/dev-libs/xapian/xapian-1.4.0.ebuild b/dev-libs/xapian/xapian-1.4.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..380d289 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/xapian/xapian-1.4.0.ebuild |
31 |
@@ -0,0 +1,72 @@ |
32 |
+# Copyright 1999-2016 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/30" # ABI version of libxapian.so |
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 |
+REQUIRED_USE="inmemory? ( chert )" |
55 |
+ |
56 |
+S="${WORKDIR}/${MY_P}" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local myconf="" |
60 |
+ |
61 |
+ ewarn |
62 |
+ if use cpu_flags_x86_sse2; then |
63 |
+ ewarn "Using sse2" |
64 |
+ myconf="${myconf} --enable-sse=sse2" |
65 |
+ else |
66 |
+ if use cpu_flags_x86_sse; then |
67 |
+ ewarn "Using sse" |
68 |
+ myconf="${myconf} --enable-sse=sse" |
69 |
+ else |
70 |
+ ewarn "Disabling sse and sse2" |
71 |
+ myconf="${myconf} --disable-sse" |
72 |
+ fi |
73 |
+ fi |
74 |
+ ewarn |
75 |
+ |
76 |
+ myconf="${myconf} $(use_enable static-libs static)" |
77 |
+ |
78 |
+ use brass || myconf="${myconf} --disable-backend-brass" |
79 |
+ use chert || myconf="${myconf} --disable-backend-chert" |
80 |
+ use inmemory || myconf="${myconf} --disable-backend-inmemory" |
81 |
+ |
82 |
+ myconf="${myconf} --enable-backend-remote --program-suffix=" |
83 |
+ |
84 |
+ econf $myconf |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ emake DESTDIR="${D}" install |
89 |
+ |
90 |
+ # bug #573466 |
91 |
+ ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3" |
92 |
+ |
93 |
+ mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}" || die |
94 |
+ use doc || rm -rf "${D}usr/share/doc/${PF}" |
95 |
+ |
96 |
+ dodoc AUTHORS HACKING PLATFORMS README NEWS |
97 |
+ |
98 |
+ prune_libtool_files --all |
99 |
+} |
100 |
+ |
101 |
+src_test() { |
102 |
+ emake check VALGRIND= |
103 |
+} |