From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB741138252 for ; Tue, 10 May 2016 17:12:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 622D6E0804; Tue, 10 May 2016 17:12:03 +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 C6C5CE0804 for ; Tue, 10 May 2016 17:12:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 62852340AB5 for ; Tue, 10 May 2016 17:12:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBCEB336 for ; Tue, 10 May 2016 17:11:54 +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: <1462895060.ea781c5bfb0cedeb296b7ff18695efe8f1717212.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.3.6.ebuild X-VCS-Directories: dev-libs/xapian/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: ea781c5bfb0cedeb296b7ff18695efe8f1717212 X-VCS-Branch: master Date: Tue, 10 May 2016 17:11:54 +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: fee71adf-c256-4dbc-a08c-7ca02b53faee X-Archives-Hash: 9b26adeb19b8474667996cfa0262d5b5 commit: ea781c5bfb0cedeb296b7ff18695efe8f1717212 Author: Anthony G. Basile gentoo org> AuthorDate: Tue May 10 15:44:20 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue May 10 15:44:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea781c5b dev-libs/xapian: version bump to 1.3.6 Package-Manager: portage-2.2.26 dev-libs/xapian/Manifest | 1 + dev-libs/xapian/xapian-1.3.6.ebuild | 72 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 07e3491..6298eec 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -2,3 +2,4 @@ DIST xapian-core-1.2.19.tar.xz 3175384 SHA256 4a78260388ff1b042f0ab5d18afdd524a5 DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f1955008d7702f9966dec68608588527f SHA512 cb6bd565eb307f9bc8f801fc9cda0cc6ad5d7cb8bf0af2ab6e42d48ca4ea4169f08621db810ab87d15957d0f873bcb0336e16b12fdb6026375d9c0192781e0d6 WHIRLPOOL 580c16889a6c3e99a00f8bb791f878a08ff3522c3dffb18ace18d54575247332f0fff8866f46475513dde7544205fe08971cbd284ec3714ce0d6b9b445e8746e DIST xapian-core-1.2.23.tar.xz 3206452 SHA256 9783aeae4e1a6d06e5636b270db4b458a7d0804a31da158269f57fa5dc86347d SHA512 df3fa71150575faf982d6b90f2364962d61012dd45ed7ef4945a0623ed7056c32ea3cbc423f2016415a80779251ecb5080b6a34c5b66b823cf8d92fe6b5b3d30 WHIRLPOOL a5498117b060218455946948c119e52ed0639a2c2d5f1fd60e416ab06ad2cd483814039801d1fa29e097a994927d482a2bd10ab18bca28a413198ea1adb4187b DIST xapian-core-1.3.5.tar.xz 2580788 SHA256 3ad99ff4e91a4ff997fd576377e7c8f0134ceb3695c49e8f7d78ebf3c19b70ad SHA512 9617ad41546c6e8107d0ce1d4ec010930627174004d22372badef96279d2c0da35d70e04225f901d88f256083ca1c880b79fa3cde1e00176fa6b07f01d47a237 WHIRLPOOL 8c39ecc2e0890fb96ec28ee947134fad0d9f164dec479323481d66502798eef90cf2818c9948f14f83070fd3cafe44924682e8dd6848b83494a45b4528739e12 +DIST xapian-core-1.3.6.tar.xz 2605652 SHA256 e952795a6619366e1de7d2bebf0e636c34123170fd41316878e28d693819da82 SHA512 a4a4c800d6b4708ba7793da7e413d91777ab30076526022ca12f2c497ab9b68dbf17b08abd4282c32f66778a4c7ad00cce37925fea36384960874a0327637ac1 WHIRLPOOL 2c6858f1b6dece7aacf2397beab3312681750c18559125771ef00a1768d2ae26eadcdc7aaac24f5121aeb634a36984e95b635965509f0e494d8c0d06971155d7 diff --git a/dev-libs/xapian/xapian-1.3.6.ebuild b/dev-libs/xapian/xapian-1.3.6.ebuild new file mode 100644 index 0000000..22db099 --- /dev/null +++ b/dev-libs/xapian/xapian-1.3.6.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/1.3.7" # ABI version of libxapian-1.3.so, prefixed with 1.3. +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +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 brass || myconf="${myconf} --disable-backend-brass" + 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= +}