From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E948F138A80 for ; Sun, 23 Oct 2016 17:59:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD6A9E0804; Sun, 23 Oct 2016 17:59:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E179E0804 for ; Sun, 23 Oct 2016 17:59:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8F3234166C for ; Mon, 24 Oct 2016 09:28:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09F2EA7 for ; Sun, 23 Oct 2016 17:59:25 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1477245557.41f72a5d089068e7c5f4bba6aaeec62f294c706d.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xapian/Manifest dev-libs/xapian/xapian-1.4.1.ebuild X-VCS-Directories: dev-libs/xapian/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 41f72a5d089068e7c5f4bba6aaeec62f294c706d X-VCS-Branch: master Date: Sun, 23 Oct 2016 17:59:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 19014598-ce16-4800-883a-9751160a19eb X-Archives-Hash: 833183b09b2997a7254792d95fba4489 commit: 41f72a5d089068e7c5f4bba6aaeec62f294c706d Author: Anthony G. Basile gentoo org> AuthorDate: Sun Oct 23 17:25:53 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sun Oct 23 17:59:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f72a5d dev-libs/xapian: version bump to 1.4.1 Package-Manager: portage-2.2.28 dev-libs/xapian/Manifest | 1 + dev-libs/xapian/xapian-1.4.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 4c23ec6..16a1b78 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 00000000..ebc2634 --- /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= +}