1 |
commit: d06708b5b602d4fece8c89fd212b07370b0070b5 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 21:12:19 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 23:28:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06708b5 |
7 |
|
8 |
dev-libs/xapian: version bump to 1.4.2, add multilib support |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-libs/xapian/Manifest | 1 + |
13 |
dev-libs/xapian/xapian-1.4.2.ebuild | 84 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 85 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest |
17 |
index 86dc0d3..df0ed80 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.1.tar.xz 2793644 SHA256 c5f2534de73c067ac19eed6d6bec65b7b2c1be00131c8867da9e1dfa8bce70eb SHA512 b1bb28e78609565a2690ef147231237dcfdd3b7f6108964962260a2678ab6483a4e1f2a795d2a3595e9d0a1567d6223b0cbe6ed9d95a455437f7f5c40e49389d WHIRLPOOL ebca0a39a1f60aa1dbe09d3e3ccb7d53a23f0ef78c0ed6b7723d1c73079426003c59388ec9138b27f30d84ed5169c4d88df5de771e85efeccaec7228b28dbbc1 |
24 |
+DIST xapian-core-1.4.2.tar.xz 2799492 SHA256 aec2c4352998127a2f2316218bf70f48cef0a466a87af3939f5f547c5246e1ce SHA512 2ea189068837c295b9c2065f06bdf5c4078114c0a07d5ea94f396baab806c038e0e8e8ae6b7702322255b2bc8a84025c0c03d20b87dd3de7c6854666b1c753a3 WHIRLPOOL 9cda96c0317dfe9206155815ba66c20780ad2c40500710f9fd66848f76f9893d35459b0c29dbacdbdc8426ee0dcdf63524b299a82146a01ef58bcae6c22e5201 |
25 |
|
26 |
diff --git a/dev-libs/xapian/xapian-1.4.2.ebuild b/dev-libs/xapian/xapian-1.4.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..939b434 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/xapian/xapian-1.4.2.ebuild |
31 |
@@ -0,0 +1,84 @@ |
32 |
+# Copyright 1999-2016 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 |
+ ewarn |
62 |
+ if use cpu_flags_x86_sse2; then |
63 |
+ ewarn "Using sse2" |
64 |
+ myconf="${myconf} --enable-sse=sse2" |
65 |
+ else |
66 |
+ if use cpu_flags_x86_sse; then |
67 |
+ ewarn "Using sse" |
68 |
+ myconf="${myconf} --enable-sse=sse" |
69 |
+ else |
70 |
+ ewarn "Disabling sse and sse2" |
71 |
+ myconf="${myconf} --disable-sse" |
72 |
+ fi |
73 |
+ fi |
74 |
+ ewarn |
75 |
+ |
76 |
+ myconf="${myconf} $(use_enable static-libs static)" |
77 |
+ |
78 |
+ use glass || myconf="${myconf} --disable-backend-glass" |
79 |
+ use chert || myconf="${myconf} --disable-backend-chert" |
80 |
+ use inmemory || myconf="${myconf} --disable-backend-inmemory" |
81 |
+ |
82 |
+ myconf="${myconf} --enable-backend-remote --program-suffix=" |
83 |
+ |
84 |
+ ECONF_SOURCE=${S} econf $myconf |
85 |
+} |
86 |
+ |
87 |
+MULTILIB_WRAPPED_HEADERS=( |
88 |
+ /usr/include/xapian/postingsource.h |
89 |
+ /usr/include/xapian/attributes.h |
90 |
+ /usr/include/xapian/valuesetmatchdecider.h |
91 |
+ /usr/include/xapian/version.h |
92 |
+ /usr/include/xapian/version.h |
93 |
+ /usr/include/xapian/types.h |
94 |
+ /usr/include/xapian/positioniterator.h |
95 |
+ /usr/include/xapian/registry.h |
96 |
+) |
97 |
+ |
98 |
+multilib_src_install() { |
99 |
+ emake DESTDIR="${D}" install |
100 |
+} |
101 |
+ |
102 |
+multilib_src_install_all() { |
103 |
+ # bug #573466 |
104 |
+ ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3" |
105 |
+ |
106 |
+ use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}" |
107 |
+ |
108 |
+ dodoc AUTHORS HACKING PLATFORMS README NEWS |
109 |
+ |
110 |
+ prune_libtool_files --all |
111 |
+} |
112 |
+ |
113 |
+multilib_src_test() { |
114 |
+ emake check VALGRIND= |
115 |
+} |