1 |
commit: e9ce8c858ccc214b8add8f3aafa2b8d351335445 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 21 14:29:03 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 21 14:45:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ce8c85 |
7 |
|
8 |
dev-libs/xapian: version bump to 1.4.17 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
dev-libs/xapian/Manifest | 1 + |
14 |
dev-libs/xapian/xapian-1.4.17.ebuild | 74 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest |
18 |
index d857dc0c98f..f557a0eaaf8 100644 |
19 |
--- a/dev-libs/xapian/Manifest |
20 |
+++ b/dev-libs/xapian/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST xapian-core-1.2.25.tar.xz 3253292 BLAKE2B a130e26188c949d0433d017e8d13e7ecf |
22 |
DIST xapian-core-1.4.14.tar.xz 2970624 BLAKE2B 5bfa5ab36ad4626fcc9a214427f88bdf55e60166939db3a65d3118b426b0ec6754efc10dbcf32456e033292eba3b29f7500679f69a49df15d40c4111322249ed SHA512 c08c9abe87e08491566b7cfa8cda9e2a80e4959a647428b6d82bce7af1c967b4cb463607ffb8976372a980c163923ced36117a66e0b5a1f35659393def3d371b |
23 |
DIST xapian-core-1.4.15.tar.xz 2988752 BLAKE2B d68d69cdc55c1b62a746620fc90f028819813bb98c0ad0cc130c399a4dd62231b920d24363b61e58d002f65a79a117598455779028de1b26b7a808367f5f2de4 SHA512 f28209acae12a42a345382668f7f7da7a2ce5a08362d0e2af63c9f94cb2adca95366499a7afa0bd9008fbfcca4fd1f2c9221e594fc2a2c740f5899e9f03ecad3 |
24 |
DIST xapian-core-1.4.16.tar.xz 3041132 BLAKE2B 2c009bcdec05542ceae9354e47e8ff9b971ec87d04caf8058711fd6952135620c353f2feabcd869313f55194409944bc7374ce69d626f948461963a7790c3953 SHA512 3d319ab672485e840019ee28b54b1c59bbd535c1802874f58593fb999681c19bff3e776dc19ab5d5bd97734bf01f1408f36ae49e21ca9706ca187db49f8a18a6 |
25 |
+DIST xapian-core-1.4.17.tar.xz 2997700 BLAKE2B 882bc28c9a55731212a5c3ac6da3ad2082e3345cb473eb2c09b80fdd05e700bb31cff6c9a0524b27da015b14655c30548e92a457b48af43279bfd3564cf3c3fa SHA512 3eaf45d31eb9318e292fa052b32b1d9e1035651bdd3c366a0134f4b39d03d987083c19426a3d4b10f60078190fc3388f05b332cba958263bab1abf236c7a3ca7 |
26 |
|
27 |
diff --git a/dev-libs/xapian/xapian-1.4.17.ebuild b/dev-libs/xapian/xapian-1.4.17.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..669d3eb246d |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/xapian/xapian-1.4.17.ebuild |
32 |
@@ -0,0 +1,74 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+inherit eutils multilib-minimal |
39 |
+ |
40 |
+MY_P="${PN}-core-${PV}" |
41 |
+ |
42 |
+DESCRIPTION="Xapian Probabilistic Information Retrieval library" |
43 |
+HOMEPAGE="https://www.xapian.org/" |
44 |
+SRC_URI="https://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 ~s390 ~sparc ~x86 ~x64-solaris" |
49 |
+IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +inmemory +remote" |
50 |
+ |
51 |
+DEPEND="sys-libs/zlib" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+ |
54 |
+S="${WORKDIR}/${MY_P}" |
55 |
+ |
56 |
+multilib_src_configure() { |
57 |
+ local myconf="" |
58 |
+ |
59 |
+ if use cpu_flags_x86_sse2; then |
60 |
+ myconf="${myconf} --enable-sse=sse2" |
61 |
+ else |
62 |
+ if use cpu_flags_x86_sse; then |
63 |
+ myconf="${myconf} --enable-sse=sse" |
64 |
+ else |
65 |
+ myconf="${myconf} --disable-sse" |
66 |
+ fi |
67 |
+ fi |
68 |
+ |
69 |
+ myconf="${myconf} $(use_enable static-libs static)" |
70 |
+ |
71 |
+ use inmemory || myconf="${myconf} --disable-backend-inmemory" |
72 |
+ use remote || myconf="${myconf} --disable-backend-remote" |
73 |
+ |
74 |
+ myconf="${myconf} --enable-backend-glass --enable-backend-chert --program-suffix=" |
75 |
+ |
76 |
+ ECONF_SOURCE=${S} econf $myconf |
77 |
+} |
78 |
+ |
79 |
+MULTILIB_WRAPPED_HEADERS=( |
80 |
+ /usr/include/xapian/postingsource.h |
81 |
+ /usr/include/xapian/attributes.h |
82 |
+ /usr/include/xapian/valuesetmatchdecider.h |
83 |
+ /usr/include/xapian/version.h |
84 |
+ /usr/include/xapian/version.h |
85 |
+ /usr/include/xapian/types.h |
86 |
+ /usr/include/xapian/positioniterator.h |
87 |
+ /usr/include/xapian/registry.h |
88 |
+) |
89 |
+ |
90 |
+multilib_src_test() { |
91 |
+ emake check VALGRIND= |
92 |
+} |
93 |
+ |
94 |
+multilib_src_install() { |
95 |
+ emake DESTDIR="${D}" install |
96 |
+} |
97 |
+ |
98 |
+multilib_src_install_all() { |
99 |
+ if use doc; then |
100 |
+ rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die |
101 |
+ fi |
102 |
+ |
103 |
+ dodoc AUTHORS HACKING PLATFORMS README NEWS |
104 |
+ |
105 |
+ find "${D}" -name "*.la" -type f -delete || die |
106 |
+} |