Сравнение bitcoin-tx-0.21.0-r2 с bitcoin-tx-22.0-r2

/usr/portage/dev-util/bitcoin-tx/bitcoin-tx-22.0-r2.ebuild 2023-10-09 14:52:30.940368387 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit autotools bash-completion-r1
6
inherit autotools bash-completion-r1 flag-o-matic
7 7

  
8
BITCOINCORE_COMMITHASH="95ea54ba089610019a74c1176a2c7c0dba144b1c"
9
KNOTS_PV="${PV}.knots20210130"
8
BITCOINCORE_COMMITHASH="a0988140b71485ad12c3c3a4a9573f7c21b1eff8"
9
KNOTS_PV="${PV}.knots20211108"
10 10
KNOTS_P="bitcoin-${KNOTS_PV}"
11 11

  
12 12
DESCRIPTION="Command-line Bitcoin transaction tool"
13 13
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
14 14
SRC_URI="
15 15
	https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz
16
	https://bitcoinknots.org/files/$(ver_cut 1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
16
	https://bitcoinknots.org/files/$(ver_cut 1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
17 17
"
18 18

  
19 19
LICENSE="MIT"
......
21 21
KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
22 22
IUSE="knots"
23 23

  
24
DEPEND="
24
RDEPEND="
25 25
	dev-libs/boost:=
26 26
	>dev-libs/libsecp256k1-0.1_pre20200911:0/0[recovery,schnorr]
27 27
	!>=dev-libs/libsecp256k1-0.1_pre20210628
28 28
	>=dev-libs/univalue-1.0.4:=
29 29
"
30
RDEPEND="${DEPEND}"
30
DEPEND="${RDEPEND}"
31 31
BDEPEND="
32
	>=sys-devel/autoconf-2.69
33 32
	>=sys-devel/automake-1.13
33
	|| ( >=sys-devel/gcc-7[cxx] >=sys-devel/clang-5 )
34 34
"
35 35

  
36 36
DOCS=(
......
44 44
	if use knots; then
45 45
		elog "You are building ${PN} from Bitcoin Knots."
46 46
		elog "For more information, see:"
47
		elog "https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.desc.html"
47
		elog "https://bitcoinknots.org/files/22.x/${KNOTS_PV}/${KNOTS_P}.desc.html"
48 48
	else
49 49
		elog "You are building ${PN} from Bitcoin Core."
50 50
		elog "For more information, see:"
51
		elog "https://bitcoincore.org/en/2021/01/14/release-${PV}/"
51
		elog "https://bitcoincore.org/en/2021/09/13/release-${PV}/"
52
	fi
53

  
54
	if [[ ${MERGE_TYPE} != "binary" ]] ; then
55
		if ! test-flag-CXX -std=c++17 ; then
56
			die "Building ${CATEGORY}/${P} requires at least GCC 7 or Clang 5"
57
		fi
52 58
	fi
53 59
}
54 60

  
55 61
src_prepare() {
56 62
	local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/"
57 63

  
58
	eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch"
64
	eapply "${knots_patchdir}/${KNOTS_P}_p1-syslibs.patch"
65
	eapply "${FILESDIR}/${PV}-fix_build_without_leveldb.patch"
59 66

  
60 67
	if use knots; then
61
		eapply "${knots_patchdir}/${KNOTS_P}.f.patch"
62
		eapply "${knots_patchdir}/${KNOTS_P}.branding.patch"
63
		eapply "${knots_patchdir}/${KNOTS_P}.ts.patch"
68
		eapply "${knots_patchdir}/${KNOTS_P}_p2-fixes.patch"
69
		eapply "${knots_patchdir}/${KNOTS_P}_p3-features.patch"
70
		eapply "${knots_patchdir}/${KNOTS_P}_p4-branding.patch"
71
		eapply "${knots_patchdir}/${KNOTS_P}_p5-ts.patch"
64 72
	fi
65 73

  
66
	eapply_user
67

  
68
	echo '#!/bin/true' >share/genbuild.sh || die
69
	mkdir -p src/obj || die
70
	echo "#define BUILD_SUFFIX gentoo${PVR#${PV}}" >src/obj/build.h || die
74
	default
71 75

  
72 76
	eautoreconf
73 77
	rm -r src/leveldb src/secp256k1 || die
......
77 81
	local my_econf=(
78 82
		--disable-asm
79 83
		--without-qtdbus
84
		--disable-ebpf
85
		--without-natpmp
80 86
		--without-qrencode
81 87
		--without-miniupnpc
82 88
		--disable-tests
83 89
		--disable-wallet
84 90
		--disable-zmq
85 91
		--enable-util-tx
92
		--disable-util-util
86 93
		--disable-util-cli
87 94
		--disable-util-wallet
88 95
		--disable-bench
......
90 97
		--without-daemon
91 98
		--without-gui
92 99
		--disable-fuzz
100
		--disable-fuzz-binary
93 101
		--disable-ccache
94 102
		--disable-static
95 103
		--with-system-libsecp256k1
Спасибо!