Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/monero/
Date: Tue, 29 Dec 2020 10:41:48
Message-Id: 1609238123.6d827547f7ea8dc12308edd30dc99cdd53f948c4.telans@gentoo
1 commit: 6d827547f7ea8dc12308edd30dc99cdd53f948c4
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Tue Dec 29 08:28:49 2020 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Tue Dec 29 10:35:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d827547
7
8 net-p2p/monero: remove hw-wallet use flag
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
12
13 net-p2p/monero/Manifest | 1 -
14 net-p2p/monero/metadata.xml | 4 ----
15 net-p2p/monero/monero-0.17.1.7.ebuild | 13 ++-----------
16 3 files changed, 2 insertions(+), 16 deletions(-)
17
18 diff --git a/net-p2p/monero/Manifest b/net-p2p/monero/Manifest
19 index 8dc5d5af..d313f0a4 100644
20 --- a/net-p2p/monero/Manifest
21 +++ b/net-p2p/monero/Manifest
22 @@ -1,4 +1,3 @@
23 DIST monero-0.17.1.7.tar.gz 10598750 BLAKE2B 03a80f3c38bc1b643d8d9ddba4ee1de59e0f4c6d66cfc5dcb700d19659a5cb66add4fcf1320c1ed2b7dfa15fdfe9548eb758e67661832f9da7bd0e173b5a0ae1 SHA512 b049a738eb5752a620fc19dfafd5e2996d3f33d89737774264a5ef69b7fcfcd9fe852b89e35187486f48fdc8bb73c2010a1917d1ed7fcb4f1f87b18a6bb4c2d5
24 DIST monero-randomx-0.17.1.7.tar.gz 163581 BLAKE2B d1a4021a652c95d0af9c6bf2fdab2470641206e908778daafa2640e986d5635bdddfa39f44a6a9542d0c17284cf0551eac3be68a24176f1ba7106611517a080f SHA512 626cc83aa22015049c82811be5d66e96f3d14a413d9cb3eee3c28464fbdef71889b97a6385f24c7cac5fc5a9cada197ba887ae2c0782cec0d3e29debad0f3e91
25 DIST monero-supercop-0.17.1.7.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
26 -DIST monero-trezor-common-0.17.1.7.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
27
28 diff --git a/net-p2p/monero/metadata.xml b/net-p2p/monero/metadata.xml
29 index b865c6e7..d4e99387 100644
30 --- a/net-p2p/monero/metadata.xml
31 +++ b/net-p2p/monero/metadata.xml
32 @@ -14,10 +14,6 @@
33 <flag name="daemon">
34 Build the Monero daemon used to connect to the P2P network.
35 </flag>
36 - <flag name="hw-wallet">
37 - Enable if you want to use a hardware wallet like a Trezor or
38 - Ledger.
39 - </flag>
40 <flag name="tools">
41 Build tools used to manipulate the blockchain as it is stored on
42 disk.
43
44 diff --git a/net-p2p/monero/monero-0.17.1.7.ebuild b/net-p2p/monero/monero-0.17.1.7.ebuild
45 index 63a2009b..11f61385 100644
46 --- a/net-p2p/monero/monero-0.17.1.7.ebuild
47 +++ b/net-p2p/monero/monero-0.17.1.7.ebuild
48 @@ -7,7 +7,6 @@ inherit cmake systemd
49
50 MY_RANDOMX_REV="5ce5f4906c1eb166be980f6d83cc80f4112ffc2a"
51 MY_SUPERCOP_REV="633500ad8c8759995049ccd022107d1fa8a1bbc9"
52 -MY_TREZORCOMMON_REV="bff7fdfe436c727982cc553bdfb29a9021b423b0"
53
54 DESCRIPTION="The secure, private, untraceable cryptocurrency"
55 HOMEPAGE="https://github.com/monero-project/monero"
56 @@ -15,13 +14,12 @@ SRC_URI="
57 https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz
58 https://github.com/tevador/RandomX/archive/${MY_RANDOMX_REV}.tar.gz -> ${PN}-randomx-${PV}.tar.gz
59 https://github.com/monero-project/supercop/archive/${MY_SUPERCOP_REV}.tar.gz -> ${PN}-supercop-${PV}.tar.gz
60 - hw-wallet? ( https://github.com/trezor/trezor-common/archive/${MY_TREZORCOMMON_REV}.tar.gz -> ${PN}-trezor-common-${PV}.tar.gz )
61 "
62
63 LICENSE="BSD MIT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
66 -IUSE="+daemon hw-wallet libressl readline tools +wallet-cli +wallet-rpc"
67 +IUSE="+daemon libressl readline tools +wallet-cli +wallet-rpc"
68 REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )"
69
70 DEPEND="
71 @@ -33,11 +31,6 @@ DEPEND="
72 net-dns/unbound:=[threads]
73 net-libs/czmq:=
74 net-libs/miniupnpc
75 - hw-wallet? (
76 - dev-libs/hidapi
77 - dev-libs/protobuf:=
78 - virtual/libusb:1
79 - )
80 !libressl? ( dev-libs/openssl:= )
81 libressl? ( dev-libs/libressl:= )
82 readline? ( sys-libs/readline:0= )
83 @@ -52,7 +45,6 @@ src_unpack() {
84 rmdir "${S}"/external/{randomx,supercop,trezor-common} || die
85 mv "${WORKDIR}"/RandomX-${MY_RANDOMX_REV} "${S}"/external/randomx || die
86 mv "${WORKDIR}"/supercop-${MY_SUPERCOP_REV} "${S}"/external/supercop || die
87 - use hw-wallet && (mv "${WORKDIR}"/trezor-common-${MY_TREZORCOMMON_REV} "${S}"/external/trezor-common || die)
88 }
89
90 src_prepare() {
91 @@ -67,11 +59,10 @@ src_prepare() {
92
93 src_configure() {
94 local mycmakeargs=(
95 - # Monero's liblmdb conflicts with the system liblmdb :(
96 -DBUILD_SHARED_LIBS=OFF
97 -DMANUAL_SUBMODULES=ON
98 -DMONERO_PARALLEL_LINK_JOBS=1
99 - -DUSE_DEVICE_TREZOR=$(usex hw-wallet 1 0)
100 + -DUSE_DEVICE_TREZOR=OFF
101 )
102
103 cmake_src_configure