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 0FC2D59CAF for ; Sat, 2 Apr 2016 23:04:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5890921C098; Sat, 2 Apr 2016 23:04:36 +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 C8D3921C098 for ; Sat, 2 Apr 2016 23:04:35 +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 71030340D8D for ; Sat, 2 Apr 2016 23:04:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99B9B77 for ; Sat, 2 Apr 2016 23:04:30 +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: <1459638668.87f18796ee2aa246b236443b075fdeb5bd572eda.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.5.ebuild X-VCS-Directories: dev-libs/xapian/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 87f18796ee2aa246b236443b075fdeb5bd572eda X-VCS-Branch: master Date: Sat, 2 Apr 2016 23:04:30 +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: abbc67aa-55ba-4965-8bcd-94df2bbb80c6 X-Archives-Hash: 144768cbcf6135189ad80de6f8807743 commit: 87f18796ee2aa246b236443b075fdeb5bd572eda Author: Anthony G. Basile gentoo org> AuthorDate: Sat Apr 2 22:55:21 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Apr 2 23:11:08 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f18796 dev-libs/xapian: version bump to 1.3.5 Package-Manager: portage-2.2.26 dev-libs/xapian/Manifest | 1 + dev-libs/xapian/xapian-1.3.5.ebuild | 72 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 5abebe8..7d969e7 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.4.tar.xz 2570240 SHA256 0a49da54a1eecb43de657f6341fde386f4c6e6bd1d2d64f77212adfc44bf67d4 SHA512 b616eb3532aaf7a00f58e6f21fa7309e434f9e598322793d2e81fe90da2a9d343518c9900bd30686594efeb24d370099f0df8f3a30afadb613ba19638f700617 WHIRLPOOL 167df88df4d12548e69e97e1163487f8a0eef93daedbac2c4a0bd4e4515dc2932c2bd044b2ec4905d251fdc69b460cb4ada67b511c2bfd8495eff8c5697b5271 +DIST xapian-core-1.3.5.tar.xz 2580788 SHA256 3ad99ff4e91a4ff997fd576377e7c8f0134ceb3695c49e8f7d78ebf3c19b70ad SHA512 9617ad41546c6e8107d0ce1d4ec010930627174004d22372badef96279d2c0da35d70e04225f901d88f256083ca1c880b79fa3cde1e00176fa6b07f01d47a237 WHIRLPOOL 8c39ecc2e0890fb96ec28ee947134fad0d9f164dec479323481d66502798eef90cf2818c9948f14f83070fd3cafe44924682e8dd6848b83494a45b4528739e12 diff --git a/dev-libs/xapian/xapian-1.3.5.ebuild b/dev-libs/xapian/xapian-1.3.5.ebuild new file mode 100644 index 0000000..45570fa --- /dev/null +++ b/dev-libs/xapian/xapian-1.3.5.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.6" # 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= +}