Diff libsecp256k1-0.1_pre20190401 with a libsecp256k1-0.1_pre20201028-r1

/usr/portage/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20201028-r1.ebuild 2023-10-09 14:52:29.528368351 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
8 8
MyPN=secp256k1
9 9
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
10 10
HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
11
COMMITHASH="b19c000063be11018b4d1a6b0a85871ab9d0bdcf"
11
COMMITHASH="3967d96bf184519eb98b766af665b4d4b072563e"
12 12
SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${PN}-v${PV}.tgz"
13 13

  
14 14
LICENSE="MIT"
15 15
SLOT="0"
16 16
KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
17
IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test-openssl"
17
IUSE="+asm ecdh +experimental +extrakeys gmp lowmem +recovery +schnorr test test-openssl valgrind"
18 18
RESTRICT="!test? ( test )"
19 19

  
20 20
REQUIRED_USE="
21 21
	asm? ( || ( amd64 arm ) arm? ( experimental ) )
22
	ecdh? ( experimental )
23
	java? ( ecdh )
22
	extrakeys? ( experimental )
23
	schnorr? ( experimental extrakeys )
24 24
	test-openssl? ( test )
25 25
"
26 26
RDEPEND="
27 27
	gmp? ( dev-libs/gmp:0= )
28 28
"
29 29
DEPEND="${RDEPEND}
30
	java? ( virtual/jdk )
31
	test-openssl? ( dev-libs/openssl:0 )
32
"
33
BDEPEND="
34
	java? ( virtual/jdk )
35 30
	virtual/pkgconfig
31
	test-openssl? ( dev-libs/openssl:0 )
32
	valgrind? ( dev-util/valgrind )
36 33
"
37 34

  
38 35
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
......
56 53
	econf \
57 54
		--disable-benchmark \
58 55
		$(use_enable experimental) \
59
		$(use_enable java jni) \
60 56
		$(use_enable test tests) \
57
		$(use_enable test exhaustive-tests) \
61 58
		$(use_enable test-openssl openssl-tests) \
62 59
		$(use_enable ecdh module-ecdh) \
63
		$(use_enable endomorphism)  \
64
		--with-asm=$asm_opt \
60
		$(use_enable extrakeys module-extrakeys) \
61
		--with-asm=${asm_opt} \
65 62
		--with-bignum=$(usex gmp gmp no) \
66 63
		$(use_enable recovery module-recovery) \
64
		$(use_enable schnorr module-schnorrsig) \
65
		$(usex lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2' '') \
66
		$(use_with valgrind) \
67 67
		--disable-static
68 68
}
69 69

  
Thank you!