diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 98050 -> 98371 bytes | |||
-rw-r--r-- | dev-libs/apache-arrow/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/apache-arrow/apache-arrow-15.0.2.ebuild | 134 | ||||
-rw-r--r-- | dev-libs/apache-arrow/apache-arrow-16.0.0.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch | 10 | ||||
-rw-r--r-- | dev-libs/apache-arrow/files/apache-arrow-15.0.1-32bit.patch | 57 | ||||
-rw-r--r-- | dev-libs/clog/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/clog/clog-2023.11.04.ebuild | 40 | ||||
-rw-r--r-- | dev-libs/clog/files/clog-2023.11.04-test.patch | 11 | ||||
-rw-r--r-- | dev-libs/clog/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/glib/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/glib/glib-2.78.4-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libgamin/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgamin/libgamin-0.1.10-r6.ebuild | 100 | ||||
-rw-r--r-- | dev-libs/libsecp256k1/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/mpdecimal/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/mpdecimal/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild | 61 |
19 files changed, 210 insertions, 312 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 05783213cd88..20e80382b8cc 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/apache-arrow/Manifest b/dev-libs/apache-arrow/Manifest index f1896094c6c2..e16b2d91d88c 100644 --- a/dev-libs/apache-arrow/Manifest +++ b/dev-libs/apache-arrow/Manifest @@ -1,12 +1,6 @@ AUX apache-arrow-11.0.0-shared-lz4.patch 456 BLAKE2B b6c8263ac0cf52e49004836ebd10095aa35e5261265f273d7c22dfc6b7a90ceae5882b9c4de51674f11e8b96e84f881141212e197a80dea9db567da7c033a3ea SHA512 11fab04e1c1da46b6407c52a3bfed12e7bffc36046dd8dc379d1a368010f01eaf7b5f791ecb9fb4d15dd778106b401663ea8c1aceb80e799201b71837c18203f -AUX apache-arrow-14.0.1-gcc14.patch 336 BLAKE2B 22517d03395a26f2a5089693e575cee794005d752b5531b436780c46d2fd7753cca7e7c129ee0a6699990afac2411892d64bb313bd1a370a7e9d496dcfd2f07c SHA512 8d22b1cafdb83933921e161cb12d2cc14c0244cfa570e52ec3c4061ab447c89469c1812ef94e0aba3a3fa862db6068d1c7ab098704ff03b06ef30873d5618e4d -AUX apache-arrow-15.0.1-32bit.patch 2331 BLAKE2B f27674662175d9b571a6151be7b735ab44022972dfece85f9b5bbda918ceb1b700c81436d6376752f90f28e5499220f35b8ea1d9599335cfa63552aaeea50b9e SHA512 b7fbcbc4bb18040e121a40ee2866272069c7733b216a0fb63b8c2248986a388ea92c8b6bc3c021ed16fdc577c1a42842cb34ef71e19f2c56b5ec765a9ffe9c4f -DIST apache-arrow-15.0.2.tar.gz 21503812 BLAKE2B 5a42b3409515d7a09daff33d30e72e828e1df2e009ed746f101f4d8e6dcadb2e9c305a6cb9799d4003e1421ba666d2a2e9ba182c11b0c538fbd1aee4b3ba10ff SHA512 6c83e3be1e5840c30387f088315b74aca8e7c2d060793af70a156effb496a71e3e6af0693188c0f46f8a4a061a263a47095912ef04a5dc8141abd59075b14c78 DIST apache-arrow-16.0.0.tar.gz 21695067 BLAKE2B aa5dfef3d8d46a53242075c165473635051d51ff28587ea8b80751232d5f75ee3ef89e0a027aa39bdc9dc03fa46ddb68e46ae2c7f40605258e47ff194f1d3979 SHA512 773f4f3eef603032c8ba0cfdc023bfd2a24bb5e41c82da354a22d7854ab153294ede1f4782cc32b27451cf1b58303f105bac61ceeb3568faea747b93e21d79e4 DIST apache-arrow-arrow-data-25d16511e8d42c2744a1d94d90169e3a36e92631.tar.gz 3571960 BLAKE2B c1c076bb3ff6427a45d1a157c60fb13c37786f97d213768c0bbe1ae073b5fb8d23cd402bdcfee303061df56bf3421ea8376f7c4ba9fec04c5cb35a85a32280f2 SHA512 abbc18da8f03b123a2d97eee709e929bbb5d567bf23219bbc63508c0e82ef99d7c0d71ca2d952566b63e968cffd96c5e1c62be9cb658323c949f229ff03234a8 -DIST apache-arrow-arrow-data-ad82a736c170e97b7c8c035ebd8a801c17eec170.tar.gz 3571641 BLAKE2B e3daae62938b54dbeb8ca9227eddfd2d59864cfafb54a7a7fd7aaa2b2cabd0f2dde58b77b2def086a1759b43c3b5834cb55462cc0b2886b2892329a957afdacb SHA512 ad6fd3343d8a3a6beb5b6269815bc207171905c102698fdb8ed7091e6d829dc51f354293c7686f845e3d49c4a828d9c77958447d965c9da4272260984fea4262 DIST apache-arrow-parquet-data-74278bc4a1122d74945969e6dec405abd1533ec3.tar.gz 1037654 BLAKE2B c9bb725a16f6706a3859bb36a60b700af62cb5f96546483ef1de0b65900b02b4f9013841d7b3dc70fd0f2fd8969b4d5c72d0fb68972568f61b4a6863a0df6f60 SHA512 18f8e2480079a0fd29eec2b8e5f753af1ee80255f6fc80af4acbf5c56e6dec08e2f9f54d8c5734c929ef901c63e4009c5d830325333fa6cc947d40ff5dcddfa3 -DIST apache-arrow-parquet-data-d69d979223e883faef9dc6fe3cf573087243c28a.tar.gz 1022547 BLAKE2B a36f950160a6e033c0ab4fb9ac391be6e71cdadf2bbb7d0210640cc41782921b0e0777425b811a1d688e03842684eb1bfe008ffe359b182bea0f80d3adf658fe SHA512 dfebeca5b99a72a4c069c1030102a6fdd35d4c58cb12fb640bcd0a623cc54e49363f1112fa45da14b16867630dc30bc94bdb2e4cc95f9379dcaa5d7f8f38a3ea -EBUILD apache-arrow-15.0.2.ebuild 3151 BLAKE2B 4d309aa8b3b8b8faa94e6888ed279b5b12b5372d72e2801ad4c875a13bb38d6fe8af1c7071b5cbfb4e28b275fea41cd33dcd17b60c819e711bb78fcdf78ca572 SHA512 abc3f986196fbbb12a0bfb95bd781d2e8dea10870c415fd706534933994e7643d959bf4ee315487015d26c77c972b2e52bfc7184da3c262cba53f7b3d2d23899 -EBUILD apache-arrow-16.0.0.ebuild 3050 BLAKE2B be7e8330ac83642281621755bfd0d247b0b37c6552d91574fa6be1958284632e0a7b69d65f4d3da029b6b6ea4db777f2b47ddebac39dfd6b77c8b9e700aea215 SHA512 fa7fe4fd25c3dd2c475891970eb38c75cafa6ad2fd4d6828bbd3f69b180b83d35eaa94f97ddf1c8c643f61994874ab14df36d8d55773f3cd7ce4a4b02a276232 +EBUILD apache-arrow-16.0.0.ebuild 3049 BLAKE2B f438fd6983f16626a4f62132345bc4c768c1349f43cec81a7a501bdc6b20b905a1602b961ca9b3ef6c975608b7d0a9af512da2416867f227252017c27b083f17 SHA512 c6164b633e0ea7b2fcdd95cb69b0e09ae031d323bafda63d6f5d5238a4528d59b94aff70361a964ae92f7a1557a3ec948798d3afa26870b52d42f3ee9290038e MISC metadata.xml 912 BLAKE2B bffeb1e6d52455313e89396d9b1821fd7d5064e887213d13ae933ef8185318a40095c1623f3793f62d296ecb1afed591614fadc2ca3f75332df1e5a2f5a28d84 SHA512 11fb4dfe0e8c938e6bf3e7e53d1dccee08d80ba32396ac454226827e7c4ed2db70c53812060a9478e359fb2c48c221a05b3632409d73f2659b2117b7c56e8e51 diff --git a/dev-libs/apache-arrow/apache-arrow-15.0.2.ebuild b/dev-libs/apache-arrow/apache-arrow-15.0.2.ebuild deleted file mode 100644 index 6b2586c3e32b..000000000000 --- a/dev-libs/apache-arrow/apache-arrow-15.0.2.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -# arrow.git: testing -ARROW_DATA_GIT_HASH=ad82a736c170e97b7c8c035ebd8a801c17eec170 -# arrow.git: cpp/submodules/parquet-testing -PARQUET_DATA_GIT_HASH=d69d979223e883faef9dc6fe3cf573087243c28a - -DESCRIPTION="A cross-language development platform for in-memory data." -HOMEPAGE=" - https://arrow.apache.org/ - https://github.com/apache/arrow/ -" -SRC_URI=" - mirror://apache/arrow/arrow-${PV}/${P}.tar.gz - test? ( - https://github.com/apache/parquet-testing/archive/${PARQUET_DATA_GIT_HASH}.tar.gz - -> ${PN}-parquet-data-${PARQUET_DATA_GIT_HASH}.tar.gz - https://github.com/apache/arrow-testing/archive/${ARROW_DATA_GIT_HASH}.tar.gz - -> ${PN}-arrow-data-${ARROW_DATA_GIT_HASH}.tar.gz - ) -" -S="${WORKDIR}/${P}/cpp" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 ~x86" -IUSE=" - +brotli bzip2 compute dataset +json lz4 +parquet re2 +snappy ssl - test zlib zstd -" -RESTRICT="!test? ( test )" - -RDEPEND=" - brotli? ( app-arch/brotli:= ) - bzip2? ( app-arch/bzip2:= ) - compute? ( dev-libs/libutf8proc:= ) - dataset? ( - dev-libs/libutf8proc:= - ) - lz4? ( app-arch/lz4:= ) - parquet? ( - dev-libs/libutf8proc:= - dev-libs/thrift:= - ssl? ( dev-libs/openssl:= ) - ) - re2? ( dev-libs/re2:= ) - snappy? ( app-arch/snappy:= ) - zlib? ( sys-libs/zlib:= ) - zstd? ( app-arch/zstd:= ) -" -DEPEND="${RDEPEND} - dev-cpp/xsimd - >=dev-libs/boost-1.81.0 - json? ( dev-libs/rapidjson ) - test? ( - dev-cpp/gflags - dev-cpp/gtest - ) -" - -REQUIRED_USE=" - test? ( - json - parquet? ( zstd ) - ) - ssl? ( json ) -" - -PATCHES=( - "${FILESDIR}/${PN}-11.0.0-shared-lz4.patch" - "${FILESDIR}/${PN}-14.0.1-gcc14.patch" - # upstream backports - "${FILESDIR}/${PN}-15.0.1-32bit.patch" -) - -src_prepare() { - # use Gentoo CXXFLAGS, specify docdir at src_configure. - sed -i \ - -e '/SetupCxxFlags/d' \ - -e '/set(ARROW_DOC_DIR.*)/d' \ - CMakeLists.txt \ - || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DARROW_BUILD_STATIC=OFF - -DARROW_BUILD_TESTS=$(usex test) - -DARROW_COMPUTE=$(usex compute) - -DARROW_CSV=ON - -DARROW_DATASET=$(usex dataset) - -DARROW_DEPENDENCY_SOURCE=SYSTEM - -DARROW_DOC_DIR=share/doc/${PF} - -DARROW_FILESYSTEM=ON - -DARROW_HDFS=ON - -DARROW_JEMALLOC=OFF - -DARROW_JSON=$(usex json) - -DARROW_PARQUET=$(usex parquet) - -DPARQUET_REQUIRE_ENCRYPTION=$(usex ssl) - -DARROW_USE_CCACHE=OFF - -DARROW_USE_SCCACHE=OFF - -DARROW_WITH_BROTLI=$(usex brotli) - -DARROW_WITH_BZ2=$(usex bzip2) - -DARROW_WITH_LZ4=$(usex lz4) - -DARROW_WITH_RE2=$(usex re2) - -DARROW_WITH_SNAPPY=$(usex snappy) - -DARROW_WITH_ZLIB=$(usex zlib) - -DARROW_WITH_ZSTD=$(usex zstd) - -DCMAKE_CXX_STANDARD=17 - ) - cmake_src_configure -} - -src_test() { - export PARQUET_TEST_DATA="${WORKDIR}/parquet-testing-${PARQUET_DATA_GIT_HASH}/data" - export ARROW_TEST_DATA="${WORKDIR}/arrow-testing-${ARROW_DATA_GIT_HASH}/data" - cmake_src_test -} - -src_install() { - cmake_src_install - if use test; then - cd "${D}"/usr/$(get_libdir) || die - rm -r cmake/ArrowTesting || die - rm libarrow_testing* || die - rm pkgconfig/arrow-testing.pc || die - fi -} diff --git a/dev-libs/apache-arrow/apache-arrow-16.0.0.ebuild b/dev-libs/apache-arrow/apache-arrow-16.0.0.ebuild index 9be18f6b6223..8b1d7dc7296d 100644 --- a/dev-libs/apache-arrow/apache-arrow-16.0.0.ebuild +++ b/dev-libs/apache-arrow/apache-arrow-16.0.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${P}/cpp" LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~riscv ~s390 ~x86" IUSE=" +brotli bzip2 compute dataset +json lz4 +parquet re2 +snappy ssl test zlib zstd diff --git a/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch b/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch deleted file mode 100644 index ccaf8cff0e98..000000000000 --- a/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/arrow/filesystem/util_internal.cc 2023-11-23 17:13:03.062791581 +0100 -+++ b/src/arrow/filesystem/util_internal.cc 2023-11-23 17:13:22.441459075 +0100 -@@ -18,6 +18,7 @@ - #include "arrow/filesystem/util_internal.h" - - #include <cerrno> -+#include <algorithm> - - #include "arrow/buffer.h" - #include "arrow/filesystem/path_util.h" diff --git a/dev-libs/apache-arrow/files/apache-arrow-15.0.1-32bit.patch b/dev-libs/apache-arrow/files/apache-arrow-15.0.1-32bit.patch deleted file mode 100644 index d268e565ab76..000000000000 --- a/dev-libs/apache-arrow/files/apache-arrow-15.0.1-32bit.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/gdb_arrow.py b/gdb_arrow.py -index 6c3af1680..ad40ec499 100644 ---- a/gdb_arrow.py -+++ b/gdb_arrow.py -@@ -304,7 +304,8 @@ def format_timestamp(val, unit): - seconds, subseconds = divmod(val, traits.multiplier) - try: - dt = datetime.datetime.utcfromtimestamp(seconds) -- except (ValueError, OSError): # value out of range for datetime.datetime -+ except (ValueError, OSError, OverflowError): -+ # value out of range for datetime.datetime - pretty = "too large to represent" - else: - pretty = dt.isoformat().replace('T', ' ') -diff --git a/src/arrow/io/file.cc b/src/arrow/io/file.cc -index 543fa90a8..3b18bb7b0 100644 ---- a/src/arrow/io/file.cc -+++ b/src/arrow/io/file.cc -@@ -36,6 +36,7 @@ - #include <cerrno> - #include <cstdint> - #include <cstring> -+#include <limits> - #include <memory> - #include <mutex> - #include <sstream> -@@ -560,17 +561,22 @@ class MemoryMappedFile::MemoryMap - RETURN_NOT_OK(::arrow::internal::FileTruncate(file_->fd(), initial_size)); - } - -- size_t mmap_length = static_cast<size_t>(initial_size); -- if (length > initial_size) { -- return Status::Invalid("mapping length is beyond file size"); -- } -- if (length >= 0 && length < initial_size) { -+ int64_t mmap_length = initial_size; -+ if (length >= 0) { - // memory mapping a file region -- mmap_length = static_cast<size_t>(length); -+ if (length > initial_size) { -+ return Status::Invalid("mapping length is beyond file size"); -+ } -+ mmap_length = length; -+ } -+ if (static_cast<int64_t>(static_cast<size_t>(mmap_length)) != mmap_length) { -+ return Status::CapacityError("Requested memory map length ", mmap_length, -+ " does not fit in a C size_t " -+ "(are you using a 32-bit build of Arrow?"); - } - -- void* result = mmap(nullptr, mmap_length, prot_flags_, map_mode_, file_->fd(), -- static_cast<off_t>(offset)); -+ void* result = mmap(nullptr, static_cast<size_t>(mmap_length), prot_flags_, map_mode_, -+ file_->fd(), static_cast<off_t>(offset)); - if (result == MAP_FAILED) { - return Status::IOError("Memory mapping file failed: ", - ::arrow::internal::ErrnoMessage(errno)); diff --git a/dev-libs/clog/Manifest b/dev-libs/clog/Manifest new file mode 100644 index 000000000000..6440c2698eeb --- /dev/null +++ b/dev-libs/clog/Manifest @@ -0,0 +1,4 @@ +AUX clog-2023.11.04-test.patch 396 BLAKE2B 41a231ff4920311887ab442d057dd0951d623a2b10087c0f73590f365c19bae058d98f32bdc02cdafb18853603d38f42cdf12e238610811ebb5f828568d9348c SHA512 543f32189db01008db49b09b14dccf7861a63be975c01c1e7c7aa8efce2d7a9ac51dd2083792b9ad759e4d2fd6c34dd1a06cb6c5b4ab375a99abaf668ba63cf1 +DIST cpuinfo-2023.11.04.tar.gz 3516672 BLAKE2B 4f99781081ae7c0736bac35d8f589918be1466763d57d0b0661c7cdf8a24fccee61d87acae314714bad09da2a15d96d9725b7c2b7a6a9945bb320f96c31b3eb7 SHA512 02dd70f0b95c2cb6d8af4e33072f63f5d72d2314796033ae68bb6b37cb7db18d43dd2cdfedafc896dec0614dbeec9ab507f765f3d958fbda8c0ab3e3a191a87c +EBUILD clog-2023.11.04.ebuild 861 BLAKE2B d43881712a21152c551fa311268e3b10a1c17f218c72c55e2efb4cca6f958d45ca34d7745526ba5a040979735ca30559761d40e91cac5a79e1b8ac9f67425f0d SHA512 c6bd4d614a27a56e9aef2fd4a7e95107b79faa0e5d55a66902cbc104ac33998cd2173c330c2c6da06af3af26a8457a6d279d8685c70a5a7538afac30f14fe292 +MISC metadata.xml 328 BLAKE2B 160050e4c013753fd69c5a153bf5c63d0627fb2dc96f170f5d2d4a9585b53771fb32866db5a99c27a878402c54c2f10ff43a56718acec5afd5e7b6827c8884d1 SHA512 032c753ed917179bba2cb457ee87b3a8ce6941032138d4cdf59ff764907da93c779fd1ff01a36778d99fefa89f0a2fdf43d1871a9db9e82d6ecfdcbe8bb198fe diff --git a/dev-libs/clog/clog-2023.11.04.ebuild b/dev-libs/clog/clog-2023.11.04.ebuild new file mode 100644 index 000000000000..c7655a4e2224 --- /dev/null +++ b/dev-libs/clog/clog-2023.11.04.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +CommitId=d6860c477c99f1fce9e28eb206891af3c0e1a1d7 + +DESCRIPTION="C-style (a-la printf) logging library" +HOMEPAGE="https://github.com/pytorch/cpuinfo/" +SRC_URI="https://github.com/pytorch/cpuinfo/archive/${CommitId}.tar.gz + -> cpuinfo-${PV}.tar.gz" + +S="${WORKDIR}"/clog + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="!<dev-libs/cpuinfo-${PV}" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +PATCHES=( "${FILESDIR}"/${P}-test.patch ) + +src_unpack() { + unpack "${A}" + mv cpuinfo-${CommitId}/deps/clog clog || die + rm -r cpuinfo-${CommitId} || die +} + +src_configure() { + local mycmakeargs=( + -DUSE_SYSTEM_LIBS=ON + -DUSE_SYSTEM_GOOGLETEST=ON + -DCLOG_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} diff --git a/dev-libs/clog/files/clog-2023.11.04-test.patch b/dev-libs/clog/files/clog-2023.11.04-test.patch new file mode 100644 index 000000000000..e8027d5962e4 --- /dev/null +++ b/dev-libs/clog/files/clog-2023.11.04-test.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2024-05-08 08:34:01.195300008 +0200 ++++ b/CMakeLists.txt 2024-05-08 08:34:19.850068094 +0200 +@@ -93,7 +93,7 @@ + + ADD_EXECUTABLE(clog-test test/clog.cc) + SET_TARGET_PROPERTIES(clog-test PROPERTIES +- CXX_STANDARD 11 ++ CXX_STANDARD 14 + CXX_EXTENSIONS NO) + CLOG_TARGET_RUNTIME_LIBRARY(clog-test) + TARGET_LINK_LIBRARIES(clog-test PRIVATE clog gtest gtest_main) diff --git a/dev-libs/clog/metadata.xml b/dev-libs/clog/metadata.xml new file mode 100644 index 000000000000..eec896ddc47d --- /dev/null +++ b/dev-libs/clog/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>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <upstream> + <remote-id type="github">pytorch/cpuinfo</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index 01f79f90f62e..d98f27d2280a 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -6,5 +6,5 @@ DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 6ef754b15e1ce4377eafdfc317025ac65c3d8010 DIST glib-2.78.4.tar.xz 5331892 BLAKE2B ada7134597d7d863e581a2bb1097ac07a63b27b53309aadab5b1d3686327ee718ad8c5c07af3fce5cc12328e728fc2c4df5fd9e69f431fa00dc634062ef7f926 SHA512 6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6 EBUILD glib-2.76.4.ebuild 10852 BLAKE2B fd5ef68de939553ae5523bc11fef106c720853175147746845b9c7171e01b2c8a56626c657ea1a1f98154f89d11a1f75c483123a958265251fee431b60ad736f SHA512 7fe4fe4f7742a1a2d12ba4ff030cc9a409ab8de45b8361e49b780f0a8865ccea2cdc9395f81ad67b07bc552a4b4bd04009c51b832d69197d8305991461806d56 EBUILD glib-2.78.3.ebuild 10852 BLAKE2B fd5ef68de939553ae5523bc11fef106c720853175147746845b9c7171e01b2c8a56626c657ea1a1f98154f89d11a1f75c483123a958265251fee431b60ad736f SHA512 7fe4fe4f7742a1a2d12ba4ff030cc9a409ab8de45b8361e49b780f0a8865ccea2cdc9395f81ad67b07bc552a4b4bd04009c51b832d69197d8305991461806d56 -EBUILD glib-2.78.4-r1.ebuild 11101 BLAKE2B 0ee5f7c4abcdf304943d9488ece418775d570593bf1be0c3f0da409c5b8a7b019b7c44dce9e636544bb418242a9d8c88209e9c68783c30ed20ee95902d14494b SHA512 97bc372d20b78d26f45e9783f100584c78ef3af0ee57a0d16fedeae0f12c4abc55bd6e3054557c244fceca37e2c7c2d177a61ef08b44045ecdbddfb6dcf090b7 +EBUILD glib-2.78.4-r1.ebuild 11097 BLAKE2B 36e0cfd571bf729138f97b4f59385942b41cc35383a52be2c2e6fbc72734edd1e48e7b74b153b0f828186f6b603e2d07e4f8e7a57429dbe5743eed6bed046db3 SHA512 19c6665c651ab8f6d264574b37b3e10f159c41484d967193a5914a3ec98af909595941c151f11466bbf425bd2931803552a75abe2711b74c7811b2eb3d30700e MISC metadata.xml 1358 BLAKE2B ca4bb1facd33c64aa2d8c2197c97a68e08425bf3bb7cc66b3867e208a8032029cbf3d9bf3b23d38c8268228553d80d0334eacfb61cee82e19f5a7604de26d76d SHA512 d89242c1102b798d82631c4179c362461cf19d12e33cb30afcc3551f2c9b2970ad5f3a594fae504b444de294659693fc76ea560c54794692e492d4eebe23b7b9 diff --git a/dev-libs/glib/glib-2.78.4-r1.ebuild b/dev-libs/glib/glib-2.78.4-r1.ebuild index 4e0a4c13ecd6..f3dbbeb1f18b 100644 --- a/dev-libs/glib/glib-2.78.4-r1.ebuild +++ b/dev-libs/glib/glib-2.78.4-r1.ebuild @@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test u RESTRICT="!test? ( test )" REQUIRED_USE="gtk-doc? ( test )" # Bug #777636 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" # * elfutils (via libelf) does not build on Windows. gresources are not embedded # within ELF binaries on that platform anyway and inspecting ELF binaries from diff --git a/dev-libs/libgamin/Manifest b/dev-libs/libgamin/Manifest index 2590d558e980..087eae2549c2 100644 --- a/dev-libs/libgamin/Manifest +++ b/dev-libs/libgamin/Manifest @@ -9,6 +9,5 @@ DIST gamin-0.1.10.tar.bz2 452194 BLAKE2B 75537862c2b90734b616630b80103499f549fba DIST gamin-0.1.9-freebsd.patch.bz2 4635 BLAKE2B ea27afc7b978e15e9e957cbc1129b5bc8f0dfea7571e7bbfda981bc319929f8702d6a823bababb97af2b1da95c8403e9189c5ecaf599275e063f71d370526b89 SHA512 a9d9a8e4d85b289df6f87bf2b966ff262281db0d7e6094deb4f2c179f12c6cc3e387c1e1c28306a9fb54f2eb2837f9bdd3a34b2bb68db8abfdbecc7492e9730b DIST libgamin-0.1.10-opensolaris.patch.bz2 16955 BLAKE2B a7c8466fbe9f6613108a6a1b450c47c69018f9f252c17647b07591cf9fba2ba3a08cc344ca54f4647a9c809cecaa18b42bf9f2eff9e253749518b68565024b48 SHA512 fd1cfc5a6b5ba429622f8d426cfba0e3c1c05c3677fb58c53af39b4030ae56f3f71caf63eb5ecb16169c2f7e8c79a32d7d440857c2c7fd3a259cf8312a9b2004 DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 -EBUILD libgamin-0.1.10-r6.ebuild 3037 BLAKE2B 267470ec86a6be954cb70a913ca88407f9e323e753ccecae41b6b2d5be4fe19a87b27dcbf022eb991276f7cbf15c258b302120ca402fcfe25faa7667fd86bbc8 SHA512 1ccea63a862c5c54b2e24b56f31ccd4cce3b2c2b021cf16389242fdf48876d9e2d27bc8cd41436cf2dee2eb81fba636558e139b29bc827e33efeff633b7918e3 EBUILD libgamin-0.1.10-r7.ebuild 3024 BLAKE2B 8b33e2a5b8b10b45971988f1a74674601b7483296659a6ed10fd741a0eb86314b9067c3530264bd25a281079597baed604cf2c6603ac19c2fcc4b0bc1fb7957c SHA512 8f1cd7d30e9c82e5607efec4cf577ecc818ddf1f857e702a9f28a54225cdc26097f9c940759d1f392efedd23c5d4ef7ea82a978f9614f23e46429f46acffaa60 MISC metadata.xml 225 BLAKE2B 293ebc97ac40be7df2825c558f7def8026a2c8b49af06c8a5fc0dfb58657ee3093306f2a6b90bce5f7fc10f9c3165eee3cd77b58fcea8d293dacff5ba2f04657 SHA512 6f3645f7fe9f5362268973d150b122dcaef666c61e30ddc96917485c617568105aadf7b8d78bf06e402f8592c90369fdc7d949832b9fda13258b4693f1c4c6f3 diff --git a/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild b/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild deleted file mode 100644 index 86fcb2f3bb8d..000000000000 --- a/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -GNOME_ORG_MODULE="gamin" -GNOME_TARBALL_SUFFIX="bz2" - -inherit autotools epatch gnome.org multilib-minimal - -DESCRIPTION="Library providing the FAM File Alteration Monitor API" -HOMEPAGE="https://www.gnome.org/~veillard/gamin/" -SRC_URI="${SRC_URI} - mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2 - https://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2 - https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="debug static-libs" - -RESTRICT="test" # needs gam-server - -RDEPEND=" - !app-admin/fam - !<app-admin/gamin-0.1.10" -DEPEND="${RDEPEND}" - -src_prepare() { - default - mv "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die - - # Fix QA warnings, bug #257281, upstream #466791 - epatch "${FILESDIR}"/${PN}-0.1.10-compilewarnings.patch - - if [[ ${CHOST} != *-solaris* ]] ; then - # Fix compile warnings; bug #188923 - epatch "${DISTDIR}"/gamin-0.1.9-freebsd.patch.bz2 - else - # (Open)Solaris necessary patches (changes configure.in), unfortunately - # conflicts with freebsd patch and breaks some linux installs so it must - # only be applied if on solaris. - epatch "${DISTDIR}"/${P}-opensolaris.patch.bz2 - fi - - # Fix collision problem due to intermediate library, upstream bug #530635 - epatch "${FILESDIR}"/${PN}-0.1.10-noinst-lib.patch - - # Fix compilation with latest glib, bug #382783 - epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch" - - # Fix crosscompilation issues, bug #267604 - epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch" - - # Enable linux specific features on armel, upstream bug #588338 - epatch "${FILESDIR}/${P}-armel-features.patch" - - # Fix possible server deadlock in ih_sub_cancel, upstream bug #667230 - epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch" - - # Fix musl build, upstream bug #588337 - epatch "${FILESDIR}/${PN}-0.1.10-musl-pthread.patch" - - # Drop DEPRECATED flags - sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die - - sed -i \ - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \ - -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \ - configure.in || die #466962 - - mv configure.in configure.ac || die - # autoconf is required as the user-cflags patch modifies configure.in - # however, elibtoolize is also required, so when the above patch is - # removed, replace the following call with a call to elibtoolize - AT_M4DIR="${WORKDIR}" eautoreconf -} - -multilib_src_configure() { - local myconf=( - $(use_enable static-libs static) - --disable-debug - --disable-server - $(use_enable kernel_linux inotify) - $(use_enable debug debug-api) - --without-python - ) - local ECONF_SOURCE=${S} - - econf "${myconf[@]}" -} - -multilib_src_install_all() { - DOCS=( AUTHORS ChangeLog README TODO NEWS doc/*txt ) - HTML_DOCS=( doc/*.{html,gif} ) - einstalldocs - - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest index deaf741e5034..09b751246076 100644 --- a/dev-libs/libsecp256k1/Manifest +++ b/dev-libs/libsecp256k1/Manifest @@ -5,6 +5,7 @@ DIST libsecp256k1-0.3.1.tar.gz 2560292 BLAKE2B 70ff57e222dd47d0e63a40653d4e7b4e7 DIST libsecp256k1-0.3.2.tar.gz 2566680 BLAKE2B bf0a5ac1edbc115247148912822a2cefe798651f6c6a480422eee90eba96ebbfba772d561e321ac2bf7a0f8261f8ccd9f3af0e66e196f1e861aa550ee1303f27 SHA512 18104b72dd5d1f5e776d72c31c36247e450736437b453b59cf6ec86f84fedeafcf231e266c1ddad727befd9864c65a779000d01e6cef4b9a6485850afebc8a81 DIST libsecp256k1-0.4.0.tar.gz 2607093 BLAKE2B abbd68580e5e35478d74cad13e0e55a175d2000a0a071dc0812655a47ee262572c1e6944d2d5c8f3dd2b798a72e90be7b64d76f7be25e85ba2471e03254a8fb0 SHA512 84cc115a74d39bc4173012f321ae13195ae92bb96f1dcdcb01fe8392fd5b2437addfa63a1654d07f70e67f0ea6e27978134196442b9ae25bc6f9159ee9ef6527 DIST libsecp256k1-0.4.1.tar.gz 2614189 BLAKE2B 50de3e2699afa6b80aa64b9c593a6eff98d779706fde3cbb9b54ae0b596c584538abfc9f6d03cdcfd92e6df46db287049a83609e4f5dbb197fd067202f728810 SHA512 68d057d6820ca77006a16d6997c1e8240480b2d6e8d6a4d68188c699c476b71a46850dd3bc217e53a2ebd518b4db37d669058d2104d89cb2a356ba54892ad447 +DIST libsecp256k1-0.5.0.tar.gz 1960832 BLAKE2B 118e3bb1d8e0a4493debae3b1feb68ff5a93348bbed32486779416cc2359dd65d8cfaa7bb47afca8b4ddb214b7ce05c9997896fd256ad73df35ec51a8966fe69 SHA512 b8511b0d8b581d371ee48f2c8a5a72930e7a0686a860200e56e83e2f58a63f2d781af75829d922e98f6648d361e20efde29abcf52c086b77647457c6c3586e78 DIST libsecp256k1-v0.1_pre20190401.tgz 166663 BLAKE2B 68c9fc3fda6af56452f32edeae5dcb5a92f68bc3fb39a397c532951c6392347df14ea0347bbe05cab43158512e0d9f5ea87bd8f69bece1b04440860ebb8065ee SHA512 8c4945e93cb5ff241482ba4426b25162a7ae3b26860edc10c91d06b1c396887202ad971f4d38e035828352531b87fc29087a12b675e43da44f23c9ea3b6c0cc8 DIST libsecp256k1-v0.1_pre20201028.tgz 200051 BLAKE2B 90d636049b411e02703feb2661006900a55f952f60e76e2b7147a5afe8e391a06a80d6ae1489b1e7f2382176c7ea831526465a85bca09156dc6d37b417fcb33b SHA512 54a0fa21b64dd6836e4227de51f3539afe06e0e2f352683397d6adb5dd0508af443d2e25f91e90e1ae366b261965fe7d438292314705baee799cf37421644958 EBUILD libsecp256k1-0.1_pre20190401.ebuild 1577 BLAKE2B f1472ea251a7f43a7c6a96aabcfcf34481d55b1f43afaca01293326c1d19cb0debf9d9a258250b6f045060d4827ada3b6f0644f2029e1d37ef7349833136dbc1 SHA512 ac2c63c0db252ca605ce4d2f99de32a66ffd24d6658eb23692d5380f02507e754b2135c5de562dcc98c689c32eea8edb85b6976ab3cb5c9814088f3e9cf5e8ac @@ -14,4 +15,5 @@ EBUILD libsecp256k1-0.3.1.ebuild 1717 BLAKE2B 2d58ce27e1d6d2d40f0d78d0aaf134a21a EBUILD libsecp256k1-0.3.2.ebuild 1719 BLAKE2B 0f177e6e84f100eb1430019fdc11fde9ceb40e2e9043c80317cfcc1a8e8d650366e3ffe7e9147aa3b88de904e1664f1f33e5cbc93f8823fcc0e9b9a00ebc10c5 SHA512 3485c09d6765345d95abf93ce17bd6e825ac599e9468a64dd6d9072e66bc738df1f3f9417d33b55edb6e75cc1d900b439d43275de9f74354889bc4a4a391e12a EBUILD libsecp256k1-0.4.0.ebuild 1762 BLAKE2B ea0cd297838bb6dc8a4ce5d9579b34f2c7db3a1d1a132f558f9aad444d20b6ca79a15ba106903c11a146a07b485084110ca4a4ffc52fd0f337da572949ee16dd SHA512 3b3d0ef5c6b2935057a19c630e7f488bae5afb792cdb56bcbab48c5e0c43a5760e1cd6c9628abe072963d8719c0ca896a953d5af0fe69f1ea1fc0ab22b088c70 EBUILD libsecp256k1-0.4.1.ebuild 1645 BLAKE2B 81e612be118cd8e5dda952ec9328f77c4a30bc432ff181a54186cfe2358d4f2e3e0b9a4ee6a982e4cde5f571d7ca259c57d9a8214a44b8ade923dbfe80676163 SHA512 597f0045f8458159d82b87539af759fdeeae5bd3cd62093acae2526713738497fba5aab337d20ed78e5afc97fb8208cd96c6cfeb1a406179ac8c38ef02285e5b +EBUILD libsecp256k1-0.5.0.ebuild 1639 BLAKE2B 9f652154a1566ac886a4f8400e46fc6112e893a3a7b435592e80f60bff3af4745be23160a983732bd49c66e1c9bd47a6e4bf07079591dac9177bfc9a757c9195 SHA512 2dacc320ecae95a63b632be04d476973bc9d518a3c197e3288357e44c23749df103488d7d5c1c15df53885ee72e0c925f0d2d4cbdc327cde33ea1c94fc69c9ba MISC metadata.xml 1179 BLAKE2B ec5305666568df781002de407712305ab58b474bfb982d708816ac375cae3474918c539a5d652dabf864edf6557bd92df5b182756293929784b2fccbbf943dec SHA512 950a0e56c67a3dedb6d38bc5e2c30b9fda03124a17e8e30b2c1eeb28a4cd5fd1414a223c1c85882e623c5945fbb2a0a05706c9ae15dfc8ea07b9698e9990345b diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild new file mode 100644 index 000000000000..8552fa52421f --- /dev/null +++ b/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MyPN=secp256k1 + +DESCRIPTION="Optimized C library for EC operations on curve secp256k1" +HOMEPAGE="https://github.com/bitcoin-core/secp256k1" +SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${MyPN}-${PV}" + +LICENSE="MIT" +SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+asm +ecdh +ellswift experimental +extrakeys lowmem +recovery +schnorr test valgrind" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + asm? ( || ( amd64 arm ) arm? ( experimental ) ) + schnorr? ( extrakeys ) +" +BDEPEND=" + dev-build/autoconf-archive + virtual/pkgconfig + valgrind? ( dev-debug/valgrind ) +" + +PATCHES=( + "${FILESDIR}/0.4.0-fix-cross-compile.patch" +) + +src_prepare() { + default + eautoreconf + + # Generate during build + rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die +} + +src_configure() { + local myeconfargs=( + --disable-benchmark + $(use_enable experimental) + $(use_enable test tests) + $(use_enable test exhaustive-tests) + $(use_enable {,module-}ecdh) + $(use_enable {,module-}ellswift) + $(use_enable {,module-}extrakeys) + $(use_enable {,module-}recovery) + $(use_enable schnorr module-schnorrsig) + $(use_with asm asm "$(usex arm arm32 auto)") + $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-kb=2') + $(use_with valgrind) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/mpdecimal/Manifest b/dev-libs/mpdecimal/Manifest new file mode 100644 index 000000000000..af272f4fd270 --- /dev/null +++ b/dev-libs/mpdecimal/Manifest @@ -0,0 +1,4 @@ +DIST dectest.zip 791733 BLAKE2B ba74ee96f6687ce34cac8406fd7fd1f743d72647a5f883f1054829d992d4dc0f61c9e3b88e2529f425cc2fbda14dfc372b3fbfafe6553baabb3244172fed712f SHA512 05f9d12aec1ebfc9ca211b01705b41c5cd1bbc54d9aa6c4799b40fb3ab1835433fd1a277735d26d2530c3793c58b107b3abb1c31f64340e5e9d7856d92c821cf +DIST mpdecimal-4.0.0.tar.gz 315325 BLAKE2B aed5b6d5c03b12017989bbac9a166366e800ce5ee8d2fad5a1b81def48877126233998df306968902c728776616b1c06ce0ef05ea066c07daf841a53541a09f9 SHA512 7610ac53ac79f7a8a33fa7a3e61515810444ec73ebca859df7a9ddc18e96b990c99323172810c9cc7f6d6e1502c0be308cd443d6c2d5d0c871648e4842e05d59 +EBUILD mpdecimal-4.0.0.ebuild 1054 BLAKE2B a288df9e213a4ada036ece13a17a188fe037a053cd586d1c1ac151585869d970f101406a5dc2a4c6d0f1d751261b7cad86167ee29f22ed5ae904081a704c0056 SHA512 79ff24e68d6cec9236355f3600d0ffc8ad2b7cd7bfd301893e5772d18bdb62fe7b198a1f65985be28ad6c74f99fe8fa2ce3e9c32f67c056cb655cbe75a179781 +MISC metadata.xml 248 BLAKE2B f308d2aa052d11e427850af58bbebf95e7773f5562ed221f39043474b4c3827d724d49667edf1874272a5586a13201159f40e8f5eafb7e400e79c6566e1a6ac2 SHA512 b875c838394523483ae7d93585207eb3c642a345bbb08e1dcef3ceb737c813fa779e2f5479d48cdcc30732b8a0a9e6ecc648df940def6731e4dff43b23786e6d diff --git a/dev-libs/mpdecimal/metadata.xml b/dev-libs/mpdecimal/metadata.xml new file mode 100644 index 000000000000..076793e3f54b --- /dev/null +++ b/dev-libs/mpdecimal/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild b/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild new file mode 100644 index 000000000000..e2b2f84cbcad --- /dev/null +++ b/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Correctly-rounded arbitrary precision decimal floating point arithmetic" +HOMEPAGE="https://www.bytereef.org/mpdecimal/" +SRC_URI=" + https://www.bytereef.org/software/mpdecimal/releases/${P}.tar.gz + test? ( + http://speleotrove.com/decimal/dectest.zip + ) +" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc" +IUSE="cxx test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-arch/unzip + ) +" + +src_unpack() { + unpack "${P}.tar.gz" + if use test; then + mkdir "${P}/tests/testdata" || die + cd "${P}/tests/testdata" || die + unpack dectest.zip + fi +} + +src_prepare() { + default + + # sigh + sed -i -e "s:/lib:/$(get_libdir):" lib*/.pc/*.pc.in || die +} + +src_configure() { + local myconf=( + # just COPYRIGHT.txt + --docdir=/removeme + $(use_enable cxx) + ) + + local -x LDXXFLAGS="${LDFLAGS}" + econf "${myconf[@]}" +} + +src_test() { + emake check +} + +src_install() { + default + rm -r "${ED}/removeme" || die +} |