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: Sun, 29 Jan 2017 18:40:09
Message-Id: 1485715182.707768839a4b285a0be7f7c5515db84b42615122.blueness@gentoo
1 commit: 707768839a4b285a0be7f7c5515db84b42615122
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 17:04:15 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 18:39:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70776883
7
8 dev-libs/xapian: version bump to 1.4.3
9
10 Package-Manager: portage-2.3.3
11
12 dev-libs/xapian/Manifest | 1 +
13 dev-libs/xapian/xapian-1.4.3.ebuild | 79 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
17 index df0ed80..17c55fd 100644
18 --- a/dev-libs/xapian/Manifest
19 +++ b/dev-libs/xapian/Manifest
20 @@ -2,3 +2,4 @@ DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f19
21 DIST xapian-core-1.2.24.tar.xz 3210192 SHA256 57a82717ba07e9777958b6ef48d94b81ea41ac4c74d544f74da597fab1e1f87b SHA512 1f8ae5848f94b5f0bee03024f12ae8c336b6d85e58f7b36e885fe604f9fb962c0525e1f44e6cfcd183e811226c61b23f0f2fcc35c7d2e63544b19347a0f96c80 WHIRLPOOL fef6db7f393d4563828e1650eecd02e30d37f5837042b6a8992cfddb962593675f9c3af4eb5d387db71f99468235905bdbe5666f91975b260cb649fd422425ae
22 DIST xapian-core-1.4.1.tar.xz 2793644 SHA256 c5f2534de73c067ac19eed6d6bec65b7b2c1be00131c8867da9e1dfa8bce70eb SHA512 b1bb28e78609565a2690ef147231237dcfdd3b7f6108964962260a2678ab6483a4e1f2a795d2a3595e9d0a1567d6223b0cbe6ed9d95a455437f7f5c40e49389d WHIRLPOOL ebca0a39a1f60aa1dbe09d3e3ccb7d53a23f0ef78c0ed6b7723d1c73079426003c59388ec9138b27f30d84ed5169c4d88df5de771e85efeccaec7228b28dbbc1
23 DIST xapian-core-1.4.2.tar.xz 2799492 SHA256 aec2c4352998127a2f2316218bf70f48cef0a466a87af3939f5f547c5246e1ce SHA512 2ea189068837c295b9c2065f06bdf5c4078114c0a07d5ea94f396baab806c038e0e8e8ae6b7702322255b2bc8a84025c0c03d20b87dd3de7c6854666b1c753a3 WHIRLPOOL 9cda96c0317dfe9206155815ba66c20780ad2c40500710f9fd66848f76f9893d35459b0c29dbacdbdc8426ee0dcdf63524b299a82146a01ef58bcae6c22e5201
24 +DIST xapian-core-1.4.3.tar.xz 2805964 SHA256 7d5295511ca2de70463a29e75f6a2393df5dc1485bf33074b778c66e1721e475 SHA512 f8da535c298a07828998d12a10c049eadcfbc36adf93c0744565bd6b4c7c49f4df3f402e50fb4abbe9384ccaeaf3499cce53bea90bf57d677ee5124e8621c74c WHIRLPOOL c36c97018ca7488229494583c42faea49a85d3b956947d7f0c0a106a1f870ef5458d45a37ddad7a96157a71d3bea0403f3c10a0c36f931c0ee0395e18c34fd1c
25
26 diff --git a/dev-libs/xapian/xapian-1.4.3.ebuild b/dev-libs/xapian/xapian-1.4.3.ebuild
27 new file mode 100644
28 index 00000000..9ead7d8
29 --- /dev/null
30 +++ b/dev-libs/xapian/xapian-1.4.3.ebuild
31 @@ -0,0 +1,79 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
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 +}