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: Thu, 27 Apr 2017 00:28:58
Message-Id: 1493252914.d5e30946024efcf46af1741cb7fd3565dfbb7ad5.blueness@gentoo
1 commit: d5e30946024efcf46af1741cb7fd3565dfbb7ad5
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 26 19:58:24 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 27 00:28:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e30946
7
8 dev-libs/xapian: version bump to 1.4.4
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-libs/xapian/Manifest | 1 +
13 dev-libs/xapian/xapian-1.4.4.ebuild | 78 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
17 index 6d997ea2b31..80a59f1e918 100644
18 --- a/dev-libs/xapian/Manifest
19 +++ b/dev-libs/xapian/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f1955008d7702f9966dec68608588527f SHA512 cb6bd565eb307f9bc8f801fc9cda0cc6ad5d7cb8bf0af2ab6e42d48ca4ea4169f08621db810ab87d15957d0f873bcb0336e16b12fdb6026375d9c0192781e0d6 WHIRLPOOL 580c16889a6c3e99a00f8bb791f878a08ff3522c3dffb18ace18d54575247332f0fff8866f46475513dde7544205fe08971cbd284ec3714ce0d6b9b445e8746e
22 DIST xapian-core-1.2.24.tar.xz 3210192 SHA256 57a82717ba07e9777958b6ef48d94b81ea41ac4c74d544f74da597fab1e1f87b SHA512 1f8ae5848f94b5f0bee03024f12ae8c336b6d85e58f7b36e885fe604f9fb962c0525e1f44e6cfcd183e811226c61b23f0f2fcc35c7d2e63544b19347a0f96c80 WHIRLPOOL fef6db7f393d4563828e1650eecd02e30d37f5837042b6a8992cfddb962593675f9c3af4eb5d387db71f99468235905bdbe5666f91975b260cb649fd422425ae
23 DIST xapian-core-1.4.3.tar.xz 2805964 SHA256 7d5295511ca2de70463a29e75f6a2393df5dc1485bf33074b778c66e1721e475 SHA512 f8da535c298a07828998d12a10c049eadcfbc36adf93c0744565bd6b4c7c49f4df3f402e50fb4abbe9384ccaeaf3499cce53bea90bf57d677ee5124e8621c74c WHIRLPOOL c36c97018ca7488229494583c42faea49a85d3b956947d7f0c0a106a1f870ef5458d45a37ddad7a96157a71d3bea0403f3c10a0c36f931c0ee0395e18c34fd1c
24 +DIST xapian-core-1.4.4.tar.xz 2807952 SHA256 a6a985a9841a452d75cf2169196b7ca6ebeef27da7c607078cd401ad041732d9 SHA512 dc88bab1d82c68b29d51c2113319ddb5d16840f3544b9d5fcc7a3671f97d58f16ddff58b865ad3521ea778cbaacf73fe7346bb514a1275f1f739283a4128d001 WHIRLPOOL f1b89b0a5ad47111eb4fe068a5aee29033b694fdd6405041972ebfcc81333662ce74bfc0251a37be9a0d04d7cc232681173e1443840277eedac814b46d9bc728
25
26 diff --git a/dev-libs/xapian/xapian-1.4.4.ebuild b/dev-libs/xapian/xapian-1.4.4.ebuild
27 new file mode 100644
28 index 00000000000..77434bc068b
29 --- /dev/null
30 +++ b/dev-libs/xapian/xapian-1.4.4.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +
37 +inherit eutils multilib-minimal
38 +
39 +MY_P="${PN}-core-${PV}"
40 +
41 +DESCRIPTION="Xapian Probabilistic Information Retrieval library"
42 +HOMEPAGE="http://www.xapian.org/"
43 +SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0/30" # ABI version of libxapian.so
47 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory"
49 +
50 +DEPEND="sys-libs/zlib"
51 +RDEPEND="${DEPEND}"
52 +
53 +REQUIRED_USE="inmemory? ( chert )"
54 +
55 +S="${WORKDIR}/${MY_P}"
56 +
57 +multilib_src_configure() {
58 + local myconf=""
59 +
60 + if use cpu_flags_x86_sse2; then
61 + myconf="${myconf} --enable-sse=sse2"
62 + else
63 + if use cpu_flags_x86_sse; then
64 + myconf="${myconf} --enable-sse=sse"
65 + else
66 + myconf="${myconf} --disable-sse"
67 + fi
68 + fi
69 +
70 + myconf="${myconf} $(use_enable static-libs static)"
71 +
72 + use glass || myconf="${myconf} --disable-backend-glass"
73 + use chert || myconf="${myconf} --disable-backend-chert"
74 + use inmemory || myconf="${myconf} --disable-backend-inmemory"
75 +
76 + myconf="${myconf} --enable-backend-remote --program-suffix="
77 +
78 + ECONF_SOURCE=${S} econf $myconf
79 +}
80 +
81 +MULTILIB_WRAPPED_HEADERS=(
82 + /usr/include/xapian/postingsource.h
83 + /usr/include/xapian/attributes.h
84 + /usr/include/xapian/valuesetmatchdecider.h
85 + /usr/include/xapian/version.h
86 + /usr/include/xapian/version.h
87 + /usr/include/xapian/types.h
88 + /usr/include/xapian/positioniterator.h
89 + /usr/include/xapian/registry.h
90 +)
91 +
92 +multilib_src_install() {
93 + emake DESTDIR="${D}" install
94 +}
95 +
96 +multilib_src_install_all() {
97 + # bug #573466
98 + ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3"
99 +
100 + use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
101 +
102 + dodoc AUTHORS HACKING PLATFORMS README NEWS
103 +
104 + prune_libtool_files --all
105 +}
106 +
107 +multilib_src_test() {
108 + emake check VALGRIND=
109 +}