summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/Manifest.gzbin96112 -> 96106 bytes
-rw-r--r--dev-libs/libsecp256k1/Manifest2
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.2.0.ebuild79
-rw-r--r--dev-libs/serd/Manifest2
-rw-r--r--dev-libs/serd/serd-0.30.16.ebuild5
5 files changed, 84 insertions, 4 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz
index ef3eb56fe4e2..0cfaeadf42e9 100644
--- a/dev-libs/Manifest.gz
+++ b/dev-libs/Manifest.gz
Binary files differ
diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
index 58a09e8dd6ab..fa65f39789e4 100644
--- a/dev-libs/libsecp256k1/Manifest
+++ b/dev-libs/libsecp256k1/Manifest
@@ -1,5 +1,7 @@
+DIST libsecp256k1-0.2.0.tar.gz 2456096 BLAKE2B 9160ea9977ddc08daf8881cdcb98cd223024c938ab09c0dab9fc4cd67d355018f339bab7701bbb895345fa858e5673006ab81e027da109a7c9d470e2052eecdf SHA512 a345ffd69c5587777dc834a9f86f89971090158695507cf08cd12efc3b136ff5eff54a7bd789354a5e6e11229e1b2839f706458d64cdf7561519245c5be31a9f
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
EBUILD libsecp256k1-0.1_pre20201028.ebuild 1911 BLAKE2B 3d222fe811adfc6df26d7a7271c72b3d4d39c39742be1046e814028d1a97d68a2c3f5399ce13f3df04cb13cb46843be20b9218355e4ef105a305493d25d90e55 SHA512 b6daafabdb58adc46dc973ba56cdb50fe9cff927ae67b9fdfe5318c0a84ad473f33890fed8afc58247fe734359151468bfbc5225436bc11ddad5aa7631e56080
+EBUILD libsecp256k1-0.2.0.ebuild 1838 BLAKE2B dafa8d28ffc5eb75b87939cab70b7384f00dd08b7fd7d7c9cf892cbf6012500045070d941b3fce4315f7b7b232fb6920285bb4a34994582a3ff5b8d3e32ffabd SHA512 461059b103d5cda8c94ba491eac72569670e0c3f80d25c11b013db785b14d7cdae94b5f502d60e2f6523fddaf5005d42001035b3c335491d1c79ac914322f784
MISC metadata.xml 1369 BLAKE2B c1fe8fac34fe5181cf4f95bdceafa0d228e750eb731161a2a0938a0b72c5cac88a7d872b689d1fac264a44d93da7788b8ddab3785d4c71dd80f90f2a0b9f3d74 SHA512 614774e744a25199edd3ecc4b4beb6fe2fb550d2160594a6c9994e566987dde010d6f2bd4c09a14976ee5dae5a11a316d68b937fc20a84df2c3a415364be6bda
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.2.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.2.0.ebuild
new file mode 100644
index 000000000000..56a8ea20c441
--- /dev/null
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.2.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN=${PN##lib}
+
+DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
+HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
+if [[ ${PV} == *_p* ]] ; then
+ MY_COMMIT="3967d96bf184519eb98b766af665b4d4b072563e"
+ SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_PN}-${MY_COMMIT}
+else
+ SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+asm ecdh experimental +extrakeys lowmem precompute-ecmult +schnorr +recovery test valgrind"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ ?? ( lowmem precompute-ecmult )
+ asm? (
+ || ( amd64 arm )
+ )
+ schnorr? ( extrakeys )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? ( dev-libs/openssl )
+ valgrind? ( dev-util/valgrind )
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local asm_opt
+ if use asm; then
+ if use arm; then
+ asm_opt=arm
+ else
+ asm_opt=auto
+ fi
+ else
+ asm_opt=no
+ fi
+
+ local myeconfargs=(
+ --disable-benchmark
+ $(use_enable experimental)
+ $(use_enable test tests)
+ $(use_enable test exhaustive-tests)
+ $(use_enable ecdh module-ecdh)
+ $(use_enable extrakeys module-extrakeys)
+ --with-asm=${asm_opt}
+ $(use_enable recovery module-recovery)
+ $(use_enable schnorr module-schnorrsig)
+ $(usev lowmem '--with-ecmult-window=2 --with-ecmult-gen-precision=2')
+ $(usev precompute-ecmult '--with-ecmult-window=24 --with-ecmult-gen-precision=8')
+ $(use_with valgrind)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-libs/serd/Manifest b/dev-libs/serd/Manifest
index 7e7ffc8f3023..dc869eaf30d9 100644
--- a/dev-libs/serd/Manifest
+++ b/dev-libs/serd/Manifest
@@ -1,3 +1,3 @@
DIST serd-0.30.16.tar.xz 173932 BLAKE2B 0021125505bf23565a1cca24dc83eff3496fc11fe6b38dc07b68d800c7bd6a854923bc7c529161b659bd80cb7aa8c3b45e767f0841b57d4803d820e0016e2ed2 SHA512 1bc2e310027d52ea675aa261b52e89c4c1ccb622fa9fef11c874876de7821fe94672918ff58b9edcc7995daa70fc88b7ceb88fae61dd40f601285de1995b39ff
-EBUILD serd-0.30.16.ebuild 997 BLAKE2B 2f82aae79c0028b38fb9fe23ed237df97316b0a9e191edc9ce13ec728c68b48a004671343eeffa7ffb5d742376aa533ae3b2a8adefd2369d0bfe54d472a98148 SHA512 551f67b5fad485385c1095c20c8405f8d67ff3b48570a0007b3cb9389b03d69ac995df7de96be206dc947b5eaa6c3ae40274b494a477bf34f3321ec082e92fa3
+EBUILD serd-0.30.16.ebuild 951 BLAKE2B 915ea76aa317187cd03b3bc43202348eab96a117c34c7cc195088cd0f3ab8e95e4604fa355b960e80c81bb54b0535ab6ed1751f98186884b567bcafe4933bdcb SHA512 346849e44841ba397e6c63420d34b6d0c125f9fd5a837529f47392847bdfe407a68e3c28c5e96734b42afbf19ccd142c8e44472615f603ff47845580181b3d31
MISC metadata.xml 739 BLAKE2B 09a901f48745f4516a7eec8d70fb78bde4c11c3c96b97118f23de06b2b9ddfcf6b32c35edc60cb02061158f72fe433102f7298708676f65f9c5bdca7851e1f91 SHA512 e387f00d2f73f6caa983c8abd7a6003b1bccc78276eeef427e137d89fdd76d18df7dc3f07bd7178d2745da7828670145cad6610e706f59f3a757f216c2f45b69
diff --git a/dev-libs/serd/serd-0.30.16.ebuild b/dev-libs/serd/serd-0.30.16.ebuild
index f4c0029a5c75..ed9fa2986c49 100644
--- a/dev-libs/serd/serd-0.30.16.ebuild
+++ b/dev-libs/serd/serd-0.30.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="doc static-libs test +tools"
+IUSE="doc test +tools"
RESTRICT="!test? ( test )"
BDEPEND="
@@ -33,7 +33,6 @@ src_prepare() {
multilib_src_configure() {
local emesonargs=(
$(meson_native_use_feature doc docs)
- $(meson_use static-libs static)
$(meson_feature test tests)
$(meson_feature tools)
)