diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-10-23 13:25:53 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-10-23 13:59:17 -0400 |
commit | 41f72a5d089068e7c5f4bba6aaeec62f294c706d (patch) | |
tree | ff8b4f281cf91858bde8c7c5a8b8376c04a228b2 /dev-libs/xapian | |
parent | dev-libs/quazip: 0.7.2 version bump, switch to cmake, multibuild (diff) | |
download | gentoo-41f72a5d089068e7c5f4bba6aaeec62f294c706d.tar.gz gentoo-41f72a5d089068e7c5f4bba6aaeec62f294c706d.tar.bz2 gentoo-41f72a5d089068e7c5f4bba6aaeec62f294c706d.zip |
dev-libs/xapian: version bump to 1.4.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/xapian')
-rw-r--r-- | dev-libs/xapian/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/xapian/xapian-1.4.1.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 4c23ec6e968e..16a1b7851bfb 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -3,3 +3,4 @@ DIST xapian-core-1.2.23.tar.xz 3206452 SHA256 9783aeae4e1a6d06e5636b270db4b458a7 DIST xapian-core-1.2.24.tar.xz 3210192 SHA256 57a82717ba07e9777958b6ef48d94b81ea41ac4c74d544f74da597fab1e1f87b SHA512 1f8ae5848f94b5f0bee03024f12ae8c336b6d85e58f7b36e885fe604f9fb962c0525e1f44e6cfcd183e811226c61b23f0f2fcc35c7d2e63544b19347a0f96c80 WHIRLPOOL fef6db7f393d4563828e1650eecd02e30d37f5837042b6a8992cfddb962593675f9c3af4eb5d387db71f99468235905bdbe5666f91975b260cb649fd422425ae DIST xapian-core-1.3.7.tar.xz 2607044 SHA256 cfbbd8d42512690bc9867ed88a6a80723fe4193b6c4b97597f8fdf49026b94e7 SHA512 c12714fa77afd524fea084758006a00d2ff74ca23925cff3f4313024f7e103e12e2fd525480c1f9ec707c3282ee4de85c45cd38d5cc8244bf2a60f7d6e703069 WHIRLPOOL 4425d1e9ac9b73b255e1abdcf7d69f5fd70f547519fa448a4876f953e330ebb2abb7ad08b16da360ca7ced50c6d60e6ea2bec127d788f44f0725ac84bb41f3f6 DIST xapian-core-1.4.0.tar.xz 2613272 SHA256 10584f57112aa5e9c0e8a89e251aecbf7c582097638bfee79c1fe39a8b6a6477 SHA512 e37868e80187718995fd5b0f92a47c801b76c7bef129e01928d1de925b5f655ffe7c6907218809469ad4b89bf81c67ce9c9b5cc0646f2b8d629d6afd629a621e WHIRLPOOL 8d25bfbc4f872bed8e3512c85db568ab9a53166bc82a40874d61bad4599b6a4c23bbc16897c674669413a52c329bc718c00298392f19e1c99130b931c5d0b6ef +DIST xapian-core-1.4.1.tar.xz 2793644 SHA256 c5f2534de73c067ac19eed6d6bec65b7b2c1be00131c8867da9e1dfa8bce70eb SHA512 b1bb28e78609565a2690ef147231237dcfdd3b7f6108964962260a2678ab6483a4e1f2a795d2a3595e9d0a1567d6223b0cbe6ed9d95a455437f7f5c40e49389d WHIRLPOOL ebca0a39a1f60aa1dbe09d3e3ccb7d53a23f0ef78c0ed6b7723d1c73079426003c59388ec9138b27f30d84ed5169c4d88df5de771e85efeccaec7228b28dbbc1 diff --git a/dev-libs/xapian/xapian-1.4.1.ebuild b/dev-libs/xapian/xapian-1.4.1.ebuild new file mode 100644 index 000000000000..ebc2634c8f23 --- /dev/null +++ b/dev-libs/xapian/xapian-1.4.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +MY_P="${PN}-core-${PV}" + +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +HOMEPAGE="http://www.xapian.org/" +SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/30" # ABI version of libxapian.so +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +glass +chert +inmemory" + +DEPEND="sys-libs/zlib" +RDEPEND="${DEPEND}" + +REQUIRED_USE="inmemory? ( chert )" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local myconf="" + + ewarn + if use cpu_flags_x86_sse2; then + ewarn "Using sse2" + myconf="${myconf} --enable-sse=sse2" + else + if use cpu_flags_x86_sse; then + ewarn "Using sse" + myconf="${myconf} --enable-sse=sse" + else + ewarn "Disabling sse and sse2" + myconf="${myconf} --disable-sse" + fi + fi + ewarn + + myconf="${myconf} $(use_enable static-libs static)" + + use glass || myconf="${myconf} --disable-backend-glass" + use chert || myconf="${myconf} --disable-backend-chert" + use inmemory || myconf="${myconf} --disable-backend-inmemory" + + myconf="${myconf} --enable-backend-remote --program-suffix=" + + econf $myconf +} + +src_install() { + emake DESTDIR="${D}" install + + # bug #573466 + ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3" + + mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}" || die + use doc || rm -rf "${D}usr/share/doc/${PF}" + + dodoc AUTHORS HACKING PLATFORMS README NEWS + + prune_libtool_files --all +} + +src_test() { + emake check VALGRIND= +} |