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: Fri, 22 Feb 2019 23:51:22
Message-Id: 1550879453.3e8c59dc4f73ce19023cc9ae4ecf80aee512fee4.blueness@gentoo
1 commit: 3e8c59dc4f73ce19023cc9ae4ecf80aee512fee4
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 22 23:50:53 2019 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 22 23:50:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8c59dc
7
8 dev-libs/xapian: restore 1.4.5
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12 RepoMan-Options: --force
13
14 dev-libs/xapian/Manifest | 1 +
15 dev-libs/xapian/xapian-1.4.5.ebuild | 78 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 79 insertions(+)
17
18 diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
19 index 40aca9f2164..ca5761c012f 100644
20 --- a/dev-libs/xapian/Manifest
21 +++ b/dev-libs/xapian/Manifest
22 @@ -1,5 +1,6 @@
23 DIST xapian-core-1.2.25.tar.xz 3253292 BLAKE2B a130e26188c949d0433d017e8d13e7ecf6241a232d00125699ba8ed63eab9cb1651e02182fcc152f960f4e122709958632779daaaf5760fe50953a3b5b07a243 SHA512 a15b5d9b5770337519f671732f53f0642b31f08206824500d589ba309c9e91a05a30353d66ebf70a4c1cb1824b44e1c7b7630e799de3b15d645cf951a6017bfe
24 DIST xapian-core-1.4.10.tar.xz 2973780 BLAKE2B 6ef86a4c02e6721f434e33ea27a37ddac9cee62f0c9eed8c6334cadb62dd544be66405dd359dd944cf1ab12742c10e786b7300c4987e33ce33da9d9df4e428d4 SHA512 fa716d6f8c04edb297d99dad4d7835f7874837ab3c39d7017e43708cde6992c596e579418be17b79772e002bd23b94169812523a1abd9519b1dd3df474f027d9
25 +DIST xapian-core-1.4.5.tar.xz 2810612 BLAKE2B 7784e69e3ca064751d829173949fcde65661c2c2070fdc8392cf2b6d40874a3e5b1265e61f25dd39b33e179b3fe3842b67f33a55523c3a18e9b65528e6a23a1e SHA512 cff97a856a406583ca81164ddb704a0eeae7d8d6f94ce3b3f53d5208d657423e87dd06bdc7acb5e5904765bce1cefbc98365cde315c1d46f7b18cfba7b022ae6
26 DIST xapian-core-1.4.7.tar.xz 2874172 BLAKE2B 917a35ca717ed4437f4a617ce0b6ac07d5936e07aac6bfa9d6878c12ed0c38e7ca994ad943b6dc7a5cd2fe131a445c5a7859f2286c2201dd048020569ce1a0bf SHA512 9e77a78bd63036966ebb9bbed91e36fef17b37c9465c8d4b7dc8041f0e24b040e6520de645babfeeade952771d145176a204328718cfa8bc2291bb6fdbe840d2
27 DIST xapian-core-1.4.8.tar.xz 2880432 BLAKE2B 8468a33614d8c7617755cfe4cc79e72ab42612a79be9fb684525e268efe80c42ce902a60a44dc5548c70b719d752e15927ce24b4ab457905022ae806bffb1f11 SHA512 9ed1f34ec1bf53a4dc628ebb8d080af79a4ac6a315bf1ae52441f0ac3a63e5478ed02887382116b28157b926e685fdc730489426edce560aa4bba27cb7295e48
28 DIST xapian-core-1.4.9.tar.xz 2880024 BLAKE2B 25272128fbbd7cb23dab92c87be03fee8dae5b742f26a66b9c51c649a7826639e52124f5f0748d3c12cce81a7875ed217931ddbe2b04303a08709c4a773a617f SHA512 1af23815ff9358d6407723d1a7d3dc00df8f45f4808ccaa4c57f38197763fdc2d62cb7b080fab737408db42ced85707021eac881d80767248ea22aff8a2e4aa3
29
30 diff --git a/dev-libs/xapian/xapian-1.4.5.ebuild b/dev-libs/xapian/xapian-1.4.5.ebuild
31 new file mode 100644
32 index 00000000000..fbedbb7f3c9
33 --- /dev/null
34 +++ b/dev-libs/xapian/xapian-1.4.5.ebuild
35 @@ -0,0 +1,78 @@
36 +# Copyright 1999-2019 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI="6"
40 +
41 +inherit eutils multilib-minimal
42 +
43 +MY_P="${PN}-core-${PV}"
44 +
45 +DESCRIPTION="Xapian Probabilistic Information Retrieval library"
46 +HOMEPAGE="http://www.xapian.org/"
47 +SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0/30" # ABI version of libxapian.so
51 +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~x64-solaris"
52 +IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
53 +
54 +DEPEND="sys-libs/zlib"
55 +RDEPEND="${DEPEND}"
56 +
57 +REQUIRED_USE="inmemory? ( chert )"
58 +
59 +S="${WORKDIR}/${MY_P}"
60 +
61 +multilib_src_configure() {
62 + local myconf=""
63 +
64 + if use cpu_flags_x86_sse2; then
65 + myconf="${myconf} --enable-sse=sse2"
66 + else
67 + if use cpu_flags_x86_sse; then
68 + myconf="${myconf} --enable-sse=sse"
69 + else
70 + myconf="${myconf} --disable-sse"
71 + fi
72 + fi
73 +
74 + myconf="${myconf} $(use_enable static-libs static)"
75 +
76 + use glass || myconf="${myconf} --disable-backend-glass"
77 + use chert || myconf="${myconf} --disable-backend-chert"
78 + use inmemory || myconf="${myconf} --disable-backend-inmemory"
79 +
80 + myconf="${myconf} --enable-backend-remote --program-suffix="
81 +
82 + ECONF_SOURCE=${S} econf $myconf
83 +}
84 +
85 +MULTILIB_WRAPPED_HEADERS=(
86 + /usr/include/xapian/postingsource.h
87 + /usr/include/xapian/attributes.h
88 + /usr/include/xapian/valuesetmatchdecider.h
89 + /usr/include/xapian/version.h
90 + /usr/include/xapian/version.h
91 + /usr/include/xapian/types.h
92 + /usr/include/xapian/positioniterator.h
93 + /usr/include/xapian/registry.h
94 +)
95 +
96 +multilib_src_install() {
97 + emake DESTDIR="${D}" install
98 +}
99 +
100 +multilib_src_install_all() {
101 + # bug #573466
102 + ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3"
103 +
104 + use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
105 +
106 + dodoc AUTHORS HACKING PLATFORMS README NEWS
107 +
108 + prune_libtool_files --all
109 +}
110 +
111 +multilib_src_test() {
112 + emake check VALGRIND=
113 +}