commit:     0a3974a6b66b55ab70f1d1e3772217223cf4f25d
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 17:36:02 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 17:36:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3974a6

dev-libs/xapian: version bump to 1.4.14

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 dev-libs/xapian/Manifest             |  1 +
 dev-libs/xapian/xapian-1.4.14.ebuild | 74 ++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest
index 9b5552f6311..7fce3e39d8e 100644
--- a/dev-libs/xapian/Manifest
+++ b/dev-libs/xapian/Manifest
@@ -4,6 +4,7 @@ DIST xapian-core-1.4.10.tar.xz 2973780 BLAKE2B 
6ef86a4c02e6721f434e33ea27a37ddac
 DIST xapian-core-1.4.11.tar.xz 2975524 BLAKE2B 
c912e527ef1454c0b4b3e1aedd91a8a63d2e0b2dd186759eac00d6a0f64104669467c6c5b0bf3f132d4fa04bb2ef72d07ccfe92137a3360ba699e3420ee8bea4
 SHA512 
72ab7b0c774390f38319d241689b2dc3c2837fbbf933616574f6ad167f14a25c2eff747910022065508dc7c44f806dc2b71dae80a1b4f1f47e1675fb951bc785
 DIST xapian-core-1.4.12.tar.xz 2979052 BLAKE2B 
26b20b22105493679052827a5e6b2890da922cdaa97fca1266b26f6ddb3de6b76d491c37ca10210ef5119ce4250700d87fdd22553456958f6869bc3af51b78ae
 SHA512 
230b39e012366267cf5ea09d01d3b463818c0d05861b8c8643bc6fc238be21bd3f4862adeba864b4af2962b1c0748b3d380dfe845da467f5164b0d938288c430
 DIST xapian-core-1.4.13.tar.xz 2985532 BLAKE2B 
ffe40998f62625eb9b2ee0ebfecbbccaa1838d27229ff16e88a545a6ba514cb61d647c60560c5fcb425588511d1c03836eeda3dfd61a063e96e4bc88b9ca8692
 SHA512 
aa7b2262dd9d631339131e814f7c96acd85e386a4c4b6331eff86fc7227663589132779bd6b8c340a2b6f19bd66f8b53acbbe5bc985c74f9bdbe3ce3ccf4c1e7
+DIST xapian-core-1.4.14.tar.xz 2970624 BLAKE2B 
5bfa5ab36ad4626fcc9a214427f88bdf55e60166939db3a65d3118b426b0ec6754efc10dbcf32456e033292eba3b29f7500679f69a49df15d40c4111322249ed
 SHA512 
c08c9abe87e08491566b7cfa8cda9e2a80e4959a647428b6d82bce7af1c967b4cb463607ffb8976372a980c163923ced36117a66e0b5a1f35659393def3d371b
 DIST xapian-core-1.4.5.tar.xz 2810612 BLAKE2B 
7784e69e3ca064751d829173949fcde65661c2c2070fdc8392cf2b6d40874a3e5b1265e61f25dd39b33e179b3fe3842b67f33a55523c3a18e9b65528e6a23a1e
 SHA512 
cff97a856a406583ca81164ddb704a0eeae7d8d6f94ce3b3f53d5208d657423e87dd06bdc7acb5e5904765bce1cefbc98365cde315c1d46f7b18cfba7b022ae6
 DIST xapian-core-1.4.7.tar.xz 2874172 BLAKE2B 
917a35ca717ed4437f4a617ce0b6ac07d5936e07aac6bfa9d6878c12ed0c38e7ca994ad943b6dc7a5cd2fe131a445c5a7859f2286c2201dd048020569ce1a0bf
 SHA512 
9e77a78bd63036966ebb9bbed91e36fef17b37c9465c8d4b7dc8041f0e24b040e6520de645babfeeade952771d145176a204328718cfa8bc2291bb6fdbe840d2
 DIST xapian-core-1.4.8.tar.xz 2880432 BLAKE2B 
8468a33614d8c7617755cfe4cc79e72ab42612a79be9fb684525e268efe80c42ce902a60a44dc5548c70b719d752e15927ce24b4ab457905022ae806bffb1f11
 SHA512 
9ed1f34ec1bf53a4dc628ebb8d080af79a4ac6a315bf1ae52441f0ac3a63e5478ed02887382116b28157b926e685fdc730489426edce560aa4bba27cb7295e48

diff --git a/dev-libs/xapian/xapian-1.4.14.ebuild 
b/dev-libs/xapian/xapian-1.4.14.ebuild
new file mode 100644
index 00000000000..26a3827b326
--- /dev/null
+++ b/dev-libs/xapian/xapian-1.4.14.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit eutils multilib-minimal
+
+MY_P="${PN}-core-${PV}"
+
+DESCRIPTION="Xapian Probabilistic Information Retrieval library"
+HOMEPAGE="https://www.xapian.org/";
+SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0/30" # ABI version of libxapian.so
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~x64-solaris"
+IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +inmemory +remote"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+multilib_src_configure() {
+       local myconf=""
+
+       if use cpu_flags_x86_sse2; then
+               myconf="${myconf} --enable-sse=sse2"
+       else
+               if use cpu_flags_x86_sse; then
+                       myconf="${myconf} --enable-sse=sse"
+               else
+                       myconf="${myconf} --disable-sse"
+               fi
+       fi
+
+       myconf="${myconf} $(use_enable static-libs static)"
+
+       use inmemory || myconf="${myconf} --disable-backend-inmemory"
+       use remote || myconf="${myconf} --disable-backend-remote"
+
+       myconf="${myconf} --enable-backend-glass --enable-backend-chert 
--program-suffix="
+
+       ECONF_SOURCE=${S} econf $myconf
+}
+
+MULTILIB_WRAPPED_HEADERS=(
+       /usr/include/xapian/postingsource.h
+       /usr/include/xapian/attributes.h
+       /usr/include/xapian/valuesetmatchdecider.h
+       /usr/include/xapian/version.h
+       /usr/include/xapian/version.h
+       /usr/include/xapian/types.h
+       /usr/include/xapian/positioniterator.h
+       /usr/include/xapian/registry.h
+)
+
+multilib_src_test() {
+       emake check VALGRIND=
+}
+
+multilib_src_install() {
+       emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+       if use doc; then
+               rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
+       fi
+
+       dodoc AUTHORS HACKING PLATFORMS README NEWS
+
+       find "${D}" -name "*.la" -type f -delete || die
+}

Reply via email to