1 |
commit: 856e74702b43e2c70147f231536174eeb3c6fbc9 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 27 13:58:47 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 27 14:17:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856e7470 |
7 |
|
8 |
dev-libs/xapian: version bump to 1.4.8 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
dev-libs/xapian/Manifest | 1 + |
14 |
dev-libs/xapian/xapian-1.4.8.ebuild | 78 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest |
18 |
index 7cd3757e1b2..cf986a25763 100644 |
19 |
--- a/dev-libs/xapian/Manifest |
20 |
+++ b/dev-libs/xapian/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST xapian-core-1.4.4.tar.xz 2807952 BLAKE2B 92f30c063dca4bd7806c1ab025d6b75564 |
22 |
DIST xapian-core-1.4.5.tar.xz 2810612 BLAKE2B 7784e69e3ca064751d829173949fcde65661c2c2070fdc8392cf2b6d40874a3e5b1265e61f25dd39b33e179b3fe3842b67f33a55523c3a18e9b65528e6a23a1e SHA512 cff97a856a406583ca81164ddb704a0eeae7d8d6f94ce3b3f53d5208d657423e87dd06bdc7acb5e5904765bce1cefbc98365cde315c1d46f7b18cfba7b022ae6 |
23 |
DIST xapian-core-1.4.6.tar.xz 2839964 BLAKE2B ab35e3098d8cf99656539968171073683811dc9a98b7d26e389c0cb1e8d1b70f9007e0ba61defe496713cb0f304a0fed7afa253174e900c0756084ab40721573 SHA512 f08168eba26a24ea00c2219d2cdfac1d904b51162fdd98d437564786375245e00010986a7d6e9c8c7548ae19aab80434b5cb0051252f902b40db2976b1008fe2 |
24 |
DIST xapian-core-1.4.7.tar.xz 2874172 BLAKE2B 917a35ca717ed4437f4a617ce0b6ac07d5936e07aac6bfa9d6878c12ed0c38e7ca994ad943b6dc7a5cd2fe131a445c5a7859f2286c2201dd048020569ce1a0bf SHA512 9e77a78bd63036966ebb9bbed91e36fef17b37c9465c8d4b7dc8041f0e24b040e6520de645babfeeade952771d145176a204328718cfa8bc2291bb6fdbe840d2 |
25 |
+DIST xapian-core-1.4.8.tar.xz 2880432 BLAKE2B 8468a33614d8c7617755cfe4cc79e72ab42612a79be9fb684525e268efe80c42ce902a60a44dc5548c70b719d752e15927ce24b4ab457905022ae806bffb1f11 SHA512 9ed1f34ec1bf53a4dc628ebb8d080af79a4ac6a315bf1ae52441f0ac3a63e5478ed02887382116b28157b926e685fdc730489426edce560aa4bba27cb7295e48 |
26 |
|
27 |
diff --git a/dev-libs/xapian/xapian-1.4.8.ebuild b/dev-libs/xapian/xapian-1.4.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..311fd46fc56 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/xapian/xapian-1.4.8.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+inherit eutils multilib-minimal |
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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-solaris" |
49 |
+IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +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 |
+multilib_src_configure() { |
59 |
+ local myconf="" |
60 |
+ |
61 |
+ if use cpu_flags_x86_sse2; then |
62 |
+ myconf="${myconf} --enable-sse=sse2" |
63 |
+ else |
64 |
+ if use cpu_flags_x86_sse; then |
65 |
+ myconf="${myconf} --enable-sse=sse" |
66 |
+ else |
67 |
+ myconf="${myconf} --disable-sse" |
68 |
+ fi |
69 |
+ fi |
70 |
+ |
71 |
+ myconf="${myconf} $(use_enable static-libs static)" |
72 |
+ |
73 |
+ use glass || myconf="${myconf} --disable-backend-glass" |
74 |
+ use chert || myconf="${myconf} --disable-backend-chert" |
75 |
+ use inmemory || myconf="${myconf} --disable-backend-inmemory" |
76 |
+ |
77 |
+ myconf="${myconf} --enable-backend-remote --program-suffix=" |
78 |
+ |
79 |
+ ECONF_SOURCE=${S} econf $myconf |
80 |
+} |
81 |
+ |
82 |
+MULTILIB_WRAPPED_HEADERS=( |
83 |
+ /usr/include/xapian/postingsource.h |
84 |
+ /usr/include/xapian/attributes.h |
85 |
+ /usr/include/xapian/valuesetmatchdecider.h |
86 |
+ /usr/include/xapian/version.h |
87 |
+ /usr/include/xapian/version.h |
88 |
+ /usr/include/xapian/types.h |
89 |
+ /usr/include/xapian/positioniterator.h |
90 |
+ /usr/include/xapian/registry.h |
91 |
+) |
92 |
+ |
93 |
+multilib_src_install() { |
94 |
+ emake DESTDIR="${D}" install |
95 |
+} |
96 |
+ |
97 |
+multilib_src_install_all() { |
98 |
+ # bug #573466 |
99 |
+ ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3" |
100 |
+ |
101 |
+ use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}" |
102 |
+ |
103 |
+ dodoc AUTHORS HACKING PLATFORMS README NEWS |
104 |
+ |
105 |
+ prune_libtool_files --all |
106 |
+} |
107 |
+ |
108 |
+multilib_src_test() { |
109 |
+ emake check VALGRIND= |
110 |
+} |