diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97856 -> 98008 bytes | |||
-rw-r--r-- | dev-libs/npth/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/npth/npth-1.7-r1.ebuild (renamed from dev-libs/npth/npth-1.7.ebuild) | 3 | ||||
-rw-r--r-- | dev-libs/simde/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/simde/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/simde/simde-0.7.6.ebuild | 32 | ||||
-rw-r--r-- | dev-libs/xapian-bindings/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xapian-bindings/xapian-bindings-1.4.24.ebuild | 346 | ||||
-rw-r--r-- | dev-libs/xapian/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xapian/xapian-1.4.24.ebuild | 63 |
10 files changed, 462 insertions, 2 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 95402cb0b13b..d86fb5b8b849 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/npth/Manifest b/dev-libs/npth/Manifest index 035ad7e4ff11..11075461d144 100644 --- a/dev-libs/npth/Manifest +++ b/dev-libs/npth/Manifest @@ -2,5 +2,5 @@ DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10 DIST npth-1.7.tar.bz2 313213 BLAKE2B 39bc5857fb61a4264bef6ff23c28755d2a3b3ceef93034aefd5cf1c2ad905adf696c6753ebd5cea5e0a875df4ecb97db03e023a50a27f51ec0641bbc36b54089 SHA512 8893023bcf953a3f7c490cf8116bed323a9d4af2bea35277e919f437916fda8b8e68ded28ec1777717cf9187c504892556159cbdb8bc02ed4a8b30b3d897d244 EBUILD npth-1.6-r1.ebuild 1026 BLAKE2B e547f6fd629ea0aa193776e73327eff3cdcd0cdbcc3b693985f814477e34cc3db67786dad076380bb8b753a342eaad4d1cfe7548613c279b57425cc984643042 SHA512 c5568a25e529ca1af2a1a0d99f4b4c37d45bc3bc073617ba5ec712063176dcdea61b6be280783d8a00d830244f4acc26e6bbc9eaf6f105fe308ca80e575090c7 EBUILD npth-1.6-r2.ebuild 792 BLAKE2B 7942cb2e49768d80be40fcb76e2c8ca3ac9f0325de06541e3b22d1521e4f181e3b2f76fa784e0ffbaac329eb3e3a86974fbe83367dc8a2f807de27565a2b487d SHA512 df08937672e778acb4838b8fe323b42807fbc9b92aeb3f828547538fc6ebb1dafa7fa72daa6abe73bcaa28c83f8f02c78c9d4f44281f7bd978238fb495f70eb6 -EBUILD npth-1.7.ebuild 792 BLAKE2B 7942cb2e49768d80be40fcb76e2c8ca3ac9f0325de06541e3b22d1521e4f181e3b2f76fa784e0ffbaac329eb3e3a86974fbe83367dc8a2f807de27565a2b487d SHA512 df08937672e778acb4838b8fe323b42807fbc9b92aeb3f828547538fc6ebb1dafa7fa72daa6abe73bcaa28c83f8f02c78c9d4f44281f7bd978238fb495f70eb6 +EBUILD npth-1.7-r1.ebuild 825 BLAKE2B ec5b769ade3991e3a3b04e5b80f8ca879e2c263360c4654cd3e2628759f82ba394dcd0284f60707bffbd71c28915990ee06b41da538629407ff28b484805f391 SHA512 259e938633d30fe6f111d9f4d1ba6893d01f2b34f7d4bf0ee181cdd03356f96219963c8d96794080c8e00570e97972d2cbbf8e09f5ec90b797061af9f291fc25 MISC metadata.xml 248 BLAKE2B 8635d7e87f0f2de85f967cadf3324aecfe013decb6f6dbc4338f2bdbb3fad5b61b5a58780f4c6d4759ec51a1b89af067b689b716ad34c71b6f09887536da1493 SHA512 fb771f3d411fc1ab3e5600af41fc51d254b7c2c4d057e80e582fcf2f355f35204e7f61dba852bed35f21c87f2063d7ee0d3a5628395e4ed945955a818deeb37c diff --git a/dev-libs/npth/npth-1.7.ebuild b/dev-libs/npth/npth-1.7-r1.ebuild index 71d952cdae8c..d390d9c7bb59 100644 --- a/dev-libs/npth/npth-1.7.ebuild +++ b/dev-libs/npth/npth-1.7-r1.ebuild @@ -23,7 +23,8 @@ src_prepare() { src_configure() { append-ldflags $(test-flags-CCLD -Wl,--undefined-version) - econf $(use_enable test tests) + econf $(use_enable test tests) \ + --enable-install-npth-config } src_install() { diff --git a/dev-libs/simde/Manifest b/dev-libs/simde/Manifest new file mode 100644 index 000000000000..2f9857e477e9 --- /dev/null +++ b/dev-libs/simde/Manifest @@ -0,0 +1,3 @@ +DIST simde-0.7.6.tar.gz 6125123 BLAKE2B 96378e81a2e2a2d797289d26b3d0c1ea72288b51094e8c5fde75ecbef34a0c1d4dc029d5974281e2f9f938b190b4a648225fcb486205cc496ba57b1ec528cee4 SHA512 de17fca563c4db6766881e1c73142ad129a57febe55fa8ea1ae780226e60a84891b13d387e75574f2722d77e4013176e3c7dfaf17bccd8682b7d3d3ec8e92a54 +EBUILD simde-0.7.6.ebuild 776 BLAKE2B 9988810834a8355addbd78a8382a1678950048c8c3e3288e46f125423be823397f269b7d067ab500b09df6989421d521c73a787aa6701de8dc211afc6b8f63f1 SHA512 a1a01b5f5019feed17ad08eeb21652e2ed59d62937205db2615c0e05fb9c48079b2c0c049dfafcae1b227a356e8a3851533adeeb34d415a89305f3cd81b9cad8 +MISC metadata.xml 332 BLAKE2B d617fc3761fcdd13bfb89430ff299ebfff73c7ddf292c6695256e2a9b20b20e91830ce968e10df506cafd6ec61d863ecaa9bb0aad54b48025ba5e0bcfb07b1f5 SHA512 47c6c2b56e6299057413cb698bf78cd566843507df12215d1b359fff33ee004efad2b9194f830c3ede2f88dcc1dbf8206fc833172cfc5e1db71560c709b2d5bb diff --git a/dev-libs/simde/metadata.xml b/dev-libs/simde/metadata.xml new file mode 100644 index 000000000000..f92dc4d96537 --- /dev/null +++ b/dev-libs/simde/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <upstream> + <remote-id type="github">simd-everywhere/simde</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/simde/simde-0.7.6.ebuild b/dev-libs/simde/simde-0.7.6.ebuild new file mode 100644 index 000000000000..8d8a8be32a7a --- /dev/null +++ b/dev-libs/simde/simde-0.7.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Header-only library providing implementations of SIMD instruction sets" +HOMEPAGE="https://simd-everywhere.github.io/blog/" +SRC_URI=" + https://github.com/simd-everywhere/simde/archive/refs/tags/v${PV/_/-}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + # *FLAGS are only used for tests (nothing that is installed), and + # upstream tests with specific *FLAGS and is otherwise flaky with + # -march=native, -mno-*, and such -- unset to be spared headaches. + unset {C,CPP,CXX,LD}FLAGS + + local emesonargs=( + $(meson_use test tests) + ) + + meson_src_configure +} diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest index 309add792b28..bca5c3ca5bcb 100644 --- a/dev-libs/xapian-bindings/Manifest +++ b/dev-libs/xapian-bindings/Manifest @@ -2,6 +2,8 @@ AUX xapian-bindings-1.4.22-fix-java-installation.patch 462 BLAKE2B 7a938410063dc AUX xapian-bindings-1.4.22-remove-precompiled-python.patch 774 BLAKE2B c6c75b017867f7460b426a3adcfc83f00f2705c0e20c967db2a561dd83bdde95d872d739033c0ee83e0959e9e7eb405b3f8aec852ffb4ab3c755844a81a789d7 SHA512 25712eb39d9297a727284d4d12bfd4affcaa6acb71e345e52229246ef4db5269d30d61f4c990f4d5f9fcdbc9781577afb46d0223edbc9225e5ffb375f09c95b4 DIST xapian-bindings-1.4.22.tar.xz 1074840 BLAKE2B 49c71ece1a159a21b95ff8b6d30c5786e6fd2d1744f0a2e27427b83a85ebced6106ab57655715f6e2089bc3e56da32d6f2ad3d71303a1b75316c7d1a61f84cd0 SHA512 0d1b615646d1bdf383e4e32ae152c1493a23ad173232929c8153bb311b3f5b6c6728f29f46f703854c9249ffb35cb620eda1d68cf742c2150f628c19ed55c10f DIST xapian-bindings-1.4.23.tar.xz 1076480 BLAKE2B 521563f86d3be88458cee220065cbdbf27633f87535b1702c8c3484860533dc9395060c72582420e32b854601c1ee1eb424e03a9251965215de834f2b130b154 SHA512 25ac17baf1f288dedce70b983cba294d4ce100f6f5b607c76f5b697c04f6b08c276a55ccd5b9cc9c429664e1bb86f0fc31d88c72481a9cc951942efdfa9726a2 +DIST xapian-bindings-1.4.24.tar.xz 1112744 BLAKE2B 1910ad8b78c9ae011b51001e90d74eaa2ecc9ff0c44dae34e1a63a3de79e041dd25e6c0aff06e1cf954aecd0a2ab899f7474c25fddc55676dcad6bf8d12eae14 SHA512 e3d178679aaaf99efa1a19f764014f835783e72b057cb8c8a83eb4cb610e93bd4e6756410321770f6d7fa14986c71be19aaa140fb8267a848d4c8c96cc26d540 EBUILD xapian-bindings-1.4.22.ebuild 6976 BLAKE2B ea23791aa486a3b066a8da0b3695c0bdd0b66de3272ab3c25205f9fe2ccd8d73c4ecf15b525acf62495c319f1098da6f0744f1be6710c51e649b12984bdeef92 SHA512 1d4ca57739273a4e2e1ae3a3c511c35cd1132d3d44419388213dc1285fd00af822fc52a17901cf792043ec90999d904c5b862d56710c8c127932ecee093b9671 EBUILD xapian-bindings-1.4.23.ebuild 6998 BLAKE2B f61ba4fc7c25795b6462d0ffcc3295bb8614a078cae3e3d6924055f0552cdaf5c6c9a4f2c7decbbd2ca62c2168bfb1c6fd4a6b4be3ac8371b7452c398597892b SHA512 36950daac189c644d5ec77c6c653b96125c42720744fa692a1e793c15f298db97141aabc1d7eff8a0a6e52fdd00f1e524bb39a12371b29b74959ce1a259ffb74 +EBUILD xapian-bindings-1.4.24.ebuild 6993 BLAKE2B 59cfb88061fe1b91ed3b611d43ffa5c61f1c529f4f9aa63f0218e8f5fdc3146a9d455eb41c2e54f18a8f9c6b8be5a38423bde575543fdfb290c827fdf8fa672e SHA512 6637e2f96890c161f54c0871ac0fd9dcce19f855421b03205967a132954061f15aefba896a1e93ddab7cb246e8a5436a63415b6581c0eb8b31416a17ede529b4 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.4.24.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.4.24.ebuild new file mode 100644 index 000000000000..bc39434724f1 --- /dev/null +++ b/dev-libs/xapian-bindings/xapian-bindings-1.4.24.ebuild @@ -0,0 +1,346 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +USE_PHP="php8-1 php8-2" + +PHP_EXT_NAME="xapian" +PHP_EXT_INI="yes" +PHP_EXT_OPTIONAL_USE="php" + +USE_RUBY="ruby31 ruby32" +RUBY_OPTIONAL="yes" + +# mono-env does not support EAPI 8 +inherit autotools java-pkg-opt-2 lua mono-env multibuild php-ext-source-r3 python-r1 ruby-ng + +DESCRIPTION="SWIG and JNI bindings for Xapian" +HOMEPAGE="https://xapian.org/" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" +S="${WORKDIR}/${P}" # need this here, some inherited eclasses change it + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="java lua mono perl php python ruby tcl" +REQUIRED_USE=" + || ( java lua mono perl php python ruby tcl ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( || ( $(ruby_get_use_targets) ) ) +" + +COMMON_DEPEND=" + ~dev-libs/xapian-${PV} + lua? ( ${LUA_DEPS} ) + mono? ( dev-lang/mono ) + perl? ( dev-lang/perl:= ) + php? ( dev-lang/php:=[-threads] ) + python? ( + dev-python/sphinx[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) + ruby? ( $(ruby_implementations_depend) ) + tcl? ( dev-lang/tcl:= ) +" +DEPEND=" + ${COMMON_DEPEND} + virtual/pkgconfig + java? ( >=virtual/jdk-1.8:* ) +" +RDEPEND=" + ${COMMON_DEPEND} + java? ( >=virtual/jre-1.8:* ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.22-remove-precompiled-python.patch + "${FILESDIR}"/${PN}-1.4.22-fix-java-installation.patch +) + +has_basic_bindings() { + # Update this list if new bindings are added that are not built + # multiple times for multiple versions like lua, php, python and ruby are + return $(use mono || use java || use perl || use tcl) +} + +php_copy_sources() { + local MULTIBUILD_VARIANTS=($(php_get_slots)) + multibuild_copy_sources +} + +php_foreach_impl() { + local MULTIBUILD_VARIANTS=($(php_get_slots)) + multibuild_foreach_variant "$@" +} + +ruby_copy_sources() { + local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) + multibuild_copy_sources +} + +ruby_foreach_impl() { + local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) + multibuild_foreach_variant "$@" +} + +pkg_setup() { + use mono && mono-env_pkg_setup + use java && java-pkg-opt-2_pkg_setup +} + +src_unpack() { + default + + if use php; then + local php_slot + for php_slot in $(php_get_slots); do + # Unfortunately required for php-ext-source-r3_createinifiles(). + mkdir "${WORKDIR}/${php_slot}" + done + fi +} + +src_prepare() { + eapply "${PATCHES[@]}" + eautoreconf + + use java && java-pkg-opt-2_src_prepare + + # https://trac.xapian.org/ticket/702 + export XAPIAN_CONFIG="/usr/bin/xapian-config" + + if use lua; then + lua_copy_sources + fi + + if use php; then + php_copy_sources + fi + + if use python; then + python_copy_sources + fi + + if use ruby; then + ruby_copy_sources + fi + + eapply_user +} + +src_configure() { + # Needed to get e.g. test failure details + MAKEOPTS+=" VERBOSE=1" + + if has_basic_bindings ; then + local conf=( + --disable-documentation + $(use_with mono csharp) + $(use_with java) + $(use_with perl) + $(use_with tcl) + --without-lua + --without-php + --without-python + --without-python3 + --without-ruby + ) + + if use java; then + local -x CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" + fi + + if use perl; then + local -x PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" + local -x PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" + fi + + econf "${conf[@]}" + fi + + lua_configure() { + local myconf=( + --disable-documentation + --without-csharp + --without-java + --without-perl + --without-tcl + --without-php + --without-python + --without-python3 + --without-ruby + --with-lua + ) + + local -x LUA_INC="$(lua_get_include_dir)" + local -x LUA_LIB="$(lua_get_cmod_dir)" + + econf "${myconf[@]}" + + } + + if use lua; then + lua_foreach_impl run_in_build_dir lua_configure + fi + + php_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-python + --without-python3 + --without-ruby + --without-tcl + --with-php + ) + local -x PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${MULTIBUILD_VARIANT/-/.}/bin/php-config" + + econf "${myconf[@]}" + } + + if use php; then + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/mib_indexes + + php_foreach_impl run_in_build_dir php_configure + fi + + python_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-php + --without-ruby + --without-tcl + --with-python3 + ) + + # Avoid sandbox failures when compiling modules + addpredict "$(python_get_sitedir)" + + econf "${myconf[@]}" + } + + if use python; then + python_foreach_impl run_in_build_dir python_configure + fi + + ruby_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-php + --without-python + --without-python3 + --with-ruby + --without-tcl + ) + local -x RUBY="${EPREFIX}/usr/bin/${MULTIBUILD_VARIANT}" + + econf "${myconf[@]}" + } + + if use ruby; then + ruby_foreach_impl run_in_build_dir ruby_configure + fi +} + +src_compile() { + if has_basic_bindings ; then + default + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake + fi + + if use php; then + php_foreach_impl run_in_build_dir emake + fi + + if use python; then + unset PYTHONDONTWRITEBYTECODE + python_foreach_impl run_in_build_dir emake + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake + fi +} + +src_test() { + if has_basic_bindings ; then + default + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake check + fi + + if use php; then + php_foreach_impl run_in_build_dir emake check + fi + + if use python; then + python_foreach_impl run_in_build_dir emake check + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake check + fi +} + +src_install() { + if has_basic_bindings ; then + emake DESTDIR="${D}" install + fi + + if use java; then + java-pkg_dojar java/built/xapian.jar + java-pkg_doso java/.libs/libxapian_jni.so + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + fi + + if use php; then + php_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + php-ext-source-r3_createinifiles + # php-ext-source-r3_createinifiles() changes current directory. + cd "${S}" + fi + + if use python; then + python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + python_foreach_impl python_optimize + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + find "${ED}"/usr/share/doc/${PF}/ruby/rdocs/js -name \*.gz -delete || die + fi + + # For some USE combinations this directory is not created + if [[ -d "${ED}/usr/share/doc/xapian-bindings" ]]; then + mv "${ED}/usr/share/doc/xapian-bindings" "${ED}/usr/share/doc/${PF}" || die + fi + + dodoc AUTHORS HACKING NEWS TODO README +} diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index f23892d335a2..3c5f928ad6bd 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -1,5 +1,7 @@ DIST xapian-core-1.4.22.tar.xz 3019608 BLAKE2B f4aec86cd5f63f6f1825a4f8f427ea23be2092ffb4ca11a2fdf20bdf652e7b9f768b1155bcf7ee5e5c5313206c92e1725d1b4d562e3074539a2e8f9901c44f8e SHA512 60d66adbacbd59622d25e392060984bd1dc6c870f9031765f54cb335fb29f72f6d006d27af82a50c8da2cfbebd08dac4503a8afa8ad51bc4e6fa9cb367a59d29 DIST xapian-core-1.4.23.tar.xz 3024644 BLAKE2B e26a9fd5e79daf553b474e3c794178df2cdcd83ce7d7a45ae112dde624d6e7add157c76fda3a333afce6103b2edaf7e3c928e78c47aa1fd19821c3c73926442f SHA512 52dffc93301f99aa150dda8ecd5fb7cc7d0f2ce30e60f393b1058055ade24281af16cf5b5c0e6b08e4754e3d18c39bb5bc068b19330a294ad460ef8a6bc56380 +DIST xapian-core-1.4.24.tar.xz 3194164 BLAKE2B fc3484df448d2102d47005b2819eea8eee3fdb4337a42967e2b535187e4b7be9841a8e12b19291f29bdef52b3270529f94376fe91d5e4c70afebaf690a23b18f SHA512 2b156dd90784264d6bf64e66aca559578f946c013bb52e14e56fcd96e9c2fece71c236735b13d2baad0d7f2d410dea3ae54c94cd80f735baf1071bafe2e5c01c EBUILD xapian-1.4.22.ebuild 1398 BLAKE2B 6e07efec41d17aed2bad9aeb396297a541143eed799dec4fddb0b07f98a2dab9a910ee94f02a3ada2fba4d4d21795477d22132738f6a232333a7dcc9d8c20e6c SHA512 13dca9f8cc0c0e91612540d39042b7928026c4fdeb5bedf624c83dec045d82fcdedeaac18dbc3235f9d2702777cb68923ed86e560f79984cad503620c78a2785 EBUILD xapian-1.4.23.ebuild 1405 BLAKE2B 09494d14f4d2655ac5c159ec16c5e5bd3b4bb1e044037f434c1205e511108b4159eb22a77b0624a7145dceceab89225f70a73577089f98609c426c252db0e25c SHA512 d39ede4bc59862166324c994c01af32a17731619b85ca4da832c40b1262fb1c971c321702015e9b4b08f16dc4446856bd3e20b1392a3814a2883a1ba0f6c0904 +EBUILD xapian-1.4.24.ebuild 1524 BLAKE2B d76e93f55f218b1ec6328c996d8dd56b2a49a396a18b9fc5fb341836a4bb357bcf696e9df9280d1ff4d8518209a6c4cd22d9390f50b0434c0962b9e1e13218b8 SHA512 ecdc47a3a92d964ab9a17a15d4bc9da46caa0fe61c3d3bef297dfeec2c7c0d244865b228e0c5cdfb4414b23494c675bc02e881873f1a2fb2a802d675e6ff2a64 MISC metadata.xml 728 BLAKE2B 7873e39dfb724c6f3268a7de74226d86dea77e6dd53b21aa0df104db1d30efa5c24c18b8e6597acc45b4b6bb39f1f069b7944ef0ebc2906e75a2b5efeed02ebc SHA512 5f582793cee9b74f5b36f57d6997120cf61c4f4204c49694d07b9ace813a9821710a812df2db315e9effa4913fa3b62ab069be96399369f46cc7c811b6d728ba diff --git a/dev-libs/xapian/xapian-1.4.24.ebuild b/dev-libs/xapian/xapian-1.4.24.ebuild new file mode 100644 index 000000000000..dc4d3f009870 --- /dev/null +++ b/dev-libs/xapian/xapian-1.4.24.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${PN}-core-${PV}" +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +HOMEPAGE="https://xapian.org/" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0/30" # ABI version of libxapian.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 debug static-libs" + +DEPEND=" + sys-libs/zlib:= + !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux ) ) + elibc_SunOS? ( sys-libs/libuuid ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS HACKING PLATFORMS README NEWS ) + +src_configure() { + tc-export_build_env BUILD_CC + local -x CC_FOR_BUILD="${BUILD_CC}" + + # skip certain autoconf checks + local -x VALGRIND= + local -x EATMYDATA= + + local -a myconf=( + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html + --disable-werror + --enable-backend-chert + --enable-backend-glass + --enable-backend-inmemory + --enable-backend-remote + --program-suffix= + $(use_enable debug assertions) + $(use_enable debug log) + $(use_enable static-libs static) + ) + + if use cpu_flags_x86_sse2; then + myconf+=( --enable-sse=sse2 ) + elif use cpu_flags_x86_sse; then + myconf+=( --enable-sse=sse ) + else + myconf+=( --disable-sse ) + fi + + econf "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +} |