From d473a706836012853193afc7000922601e4ada61 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 19 Oct 2017 17:57:29 +0100 Subject: gentoo resync : 19.10.2017 --- dev-libs/xapian/Manifest | 2 + dev-libs/xapian/xapian-1.4.5.ebuild | 78 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 dev-libs/xapian/xapian-1.4.5.ebuild (limited to 'dev-libs/xapian') diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index b053c4494543..bd52eb62fd20 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -2,10 +2,12 @@ DIST xapian-core-1.2.22.tar.xz 3204096 SHA256 269b87ca3faf79d444e8bb82ed58a96f19 DIST xapian-core-1.2.24.tar.xz 3210192 SHA256 57a82717ba07e9777958b6ef48d94b81ea41ac4c74d544f74da597fab1e1f87b SHA512 1f8ae5848f94b5f0bee03024f12ae8c336b6d85e58f7b36e885fe604f9fb962c0525e1f44e6cfcd183e811226c61b23f0f2fcc35c7d2e63544b19347a0f96c80 WHIRLPOOL fef6db7f393d4563828e1650eecd02e30d37f5837042b6a8992cfddb962593675f9c3af4eb5d387db71f99468235905bdbe5666f91975b260cb649fd422425ae DIST xapian-core-1.2.25.tar.xz 3253292 SHA256 7c77ff259bc92414c620015d6798f5f3e2c52907936096ec97c23c17fc0d6403 SHA512 a15b5d9b5770337519f671732f53f0642b31f08206824500d589ba309c9e91a05a30353d66ebf70a4c1cb1824b44e1c7b7630e799de3b15d645cf951a6017bfe WHIRLPOOL 6b6335fcf2beff23930ea20822fdd1251307d095f09424b36734a9ba001cecbf7398d525022c37b1d8b8d7d612f509946469dcbacc207cd51e68ce8bb75ce3d1 DIST xapian-core-1.4.4.tar.xz 2807952 SHA256 a6a985a9841a452d75cf2169196b7ca6ebeef27da7c607078cd401ad041732d9 SHA512 dc88bab1d82c68b29d51c2113319ddb5d16840f3544b9d5fcc7a3671f97d58f16ddff58b865ad3521ea778cbaacf73fe7346bb514a1275f1f739283a4128d001 WHIRLPOOL f1b89b0a5ad47111eb4fe068a5aee29033b694fdd6405041972ebfcc81333662ce74bfc0251a37be9a0d04d7cc232681173e1443840277eedac814b46d9bc728 +DIST xapian-core-1.4.5.tar.xz 2810612 SHA256 85b5f952de9df925fd13e00f6e82484162fd506d38745613a50b0a2064c6b02b SHA512 cff97a856a406583ca81164ddb704a0eeae7d8d6f94ce3b3f53d5208d657423e87dd06bdc7acb5e5904765bce1cefbc98365cde315c1d46f7b18cfba7b022ae6 WHIRLPOOL 287fa5a952a492da4b9f00a43e32474e40a0d6b3efc0c7585e5842f0f3d219aa87c0c29561d1ee0dd77db680e6f2bc2b755ac4a140c8b7e4bde63ff62717165c EBUILD xapian-1.2.22.ebuild 1543 SHA256 d8d5e9588a329f378a575734db321251b0f85c08b0fef9e8cad08c1cb7dfaf0a SHA512 635579b3e91fb76c1298a96696ccf1087bcd389b0cda6e9f90809b0d7e856f63e03c4915769a14786a2efeecd903b684f46172ebb3904b022806589e6e493587 WHIRLPOOL 7985b6a1f758809945b7c52c6c02be13a6311ff7b3326bdfbefed0e6bfcd3b5504959802d751c33ab71cdfe34ebbcb77dde453f5f0d6e57b2d36abd0047f3258 EBUILD xapian-1.2.24.ebuild 1553 SHA256 1b2879d68f0c7488bee3eabcaf2a85ec2a9a6daa7f1f0a165211085a79302776 SHA512 9e7f9ed40d9087f3c1fcb1cfe32e30646d2041e4abcc4f5f26940356b40e6d8bf9a80d7d57c86d3f4ecae369d974bbc0f141628fae831903f16d0b81ca336a48 WHIRLPOOL 45470d9154bb763e1f4d60c350adffa4c12bced8b2542f32075f1530ce1783ffbc664738304afa47e2e03372b6ed42664a9b43ebd2002304acf27f9cd54235be EBUILD xapian-1.2.25.ebuild 1827 SHA256 32a045351d12aa7bc9add0d60e24fda64cf1d1ceea02d2f15471426540e8ca33 SHA512 32bf0df37b927f5c1a470d6706d0097edf4b270e7e5251a614eb12fba11068caffaef31ee77cfeb9098c2e5c737642bfebd1f7fbc70736144de6523c8dbbda6f WHIRLPOOL fe7cdec882b94a70d452adcca762c2e26b1e2f143783e6b9518294c187f5df6950972a35b140d86dc8bb593b4cbc4eec0eac6dca9dacfb46fe7afbc79947c588 EBUILD xapian-1.4.4.ebuild 1910 SHA256 5955c7ca711775119ed6326d618eb01268c5aec98765eb3194f48700fd576059 SHA512 e245e1f967b8406db8b22202b8f9ad80fbe1ac62e48b9827bdc3fcd46021244c95c518ca510aeb7593295477984cc33f7eb5c1cddb602ddeb14d74ac69094c61 WHIRLPOOL a2f9f2d487e82f0c85df7b9ef628e9fb7b2a5748e80e6c7d760d9801d8d81a9993cde59d81a8192bb92580c7ce80940d536f548a96a3d4ee7dfe8d6944a6b0a7 +EBUILD xapian-1.4.5.ebuild 1917 SHA256 dff6d8ef52cf58f8347fdc34297b28de263f11201518e1f2f53899bbc59955f3 SHA512 3f79edf51f75c48b71aaf2a3237e38950311a3ffdbffbb1f7da1a5fc26cab22861906ae89e26fc30129220bdb8fd92f57cabbfdc7839d9172b6fc059a9bc9cfe WHIRLPOOL 10f059ebc7eaf0b58382e3a8eca057b6ef0d5a67c531911eb564f6a7914eac06c8a8df54500ee8802280027ce8bf2df6da3670ab2140703b1efc19df86871d9e MISC ChangeLog 10740 SHA256 d501364fba184cd4b69e3b41a93b270d3bd2ac1a328a434244e39d9328b0bf0b SHA512 a9d2d7d7517bc17180b2126b7b25c7b8cd17a41abec311369278a8868fc9f5cb6d110feec566f9c72cfd113b013cedf2e1b72d309284f76921def22a33715e4b WHIRLPOOL 2fc3f21e650192e5706f59a994e8efbdbd14970b1e3572bc0ad26581a0195d444a6684a10b3b640ae0fc7b15ca715c141b0500331cbb8e64f84f2c84ce05f039 MISC ChangeLog-2015 18399 SHA256 4ec59d93f69a3a6d6b2f12b4681491c47cbfa0ab76c36468c85eb068bf313b7b SHA512 d68b4744298b0b7d2d50b2566a3973f38d1a872c212f518e349e9cc430ff07d84e88936cdc4c64eb73a0e18c2b050a86ec7cb77e4bcf557b975304ac48d59289 WHIRLPOOL 9202377b975231581e203c2465d79d63d9be89d61b46e36f7edd111845d4cf14fd71ede513b224a9abf8ad21490f848349729ebf0568ef1163f8d7aa3c546ab5 MISC metadata.xml 932 SHA256 03b9e9abce010472b1f897186892927631c52e07d64b54b2b9321c436b114ad6 SHA512 874335952e31a9da1d105b82eac0c209259a85dfcdc8b7171cc1ff7d48694838bf9c3037fc4ff0450298b3c6b6fbb143ecfe7497727e8f18b684ff630caeb49c WHIRLPOOL 316e8e386ef87cb45a8786d324f9e89a73c82443f92cd14b504e1172efad9624849c7ece9d0f013adb7a3879072a4b95c46b6040c9a532f21586158ffa1cdb1e diff --git a/dev-libs/xapian/xapian-1.4.5.ebuild b/dev-libs/xapian/xapian-1.4.5.ebuild new file mode 100644 index 000000000000..923b057a6bef --- /dev/null +++ b/dev-libs/xapian/xapian-1.4.5.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils multilib-minimal + +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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-solaris" +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}" + +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 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_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_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + # bug #573466 + ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3" + + use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}" + + dodoc AUTHORS HACKING PLATFORMS README NEWS + + prune_libtool_files --all +} + +multilib_src_test() { + emake check VALGRIND= +} -- cgit v1.2.3