tfeather-9999.ebuild - parlay - yet another gentoo overlay
HTML git clone https://git.parazyd.org/parlay
DIR Log
DIR Files
DIR Refs
DIR README
---
tfeather-9999.ebuild (1536B)
---
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=7
5
6 inherit cmake git-r3
7
8 DESCRIPTION="A free, open-source Monero wallet"
9 HOMEPAGE="https://featherwallet.org"
10 SRC_URI=""
11 EGIT_REPO_URI="https://git.wownero.com/feather/feather.git"
12
13 # Feather is released under the terms of the BSD license, but it vendors
14 # code from Monero and Tor too.
15 LICENSE="BSD MIT"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="libressl xmrig +xmrto"
19
20 DEPEND="
21 dev-libs/boost:=[nls,threads]
22 dev-libs/libgcrypt:=
23 dev-libs/libsodium:=
24 dev-libs/monero-seed
25 >=dev-qt/qtcore-5.15
26 >=dev-qt/qtgui-5.15
27 >=dev-qt/qtnetwork-5.15
28 >=dev-qt/qtsvg-5.15
29 >=dev-qt/qtwebsockets-5.15
30 >=dev-qt/qtwidgets-5.15
31 >=dev-qt/qtxml-5.15
32 media-gfx/qrencode:=
33 net-dns/unbound:=[threads]
34 net-libs/czmq:=
35 !libressl? ( dev-libs/openssl:= )
36 libressl? ( dev-libs/libressl:= )
37 "
38 RDEPEND="
39 ${DEPEND}
40 net-vpn/tor
41 "
42 BDEPEND="virtual/pkgconfig"
43
44 src_configure() {
45 local mycmakeargs=(
46 -DARCH=x86_64
47 -DBUILD_64=ON
48 -DBUILD_SHARED_LIBS=Off # Vendored Monero libs collision
49 -DBUILD_TAG="linux-x64"
50 -DBUILD_TESTS=OFF
51 -DBUILD_TOR=OFF
52 -DDONATE_BEG=OFF
53 -DINSTALL_VENDORED_LIBUNBOUND=OFF
54 -DMANUAL_SUBMODULES=1
55 -DSTATIC=OFF
56 -DUSE_DEVICE_TREZOR=OFF
57 -DXMRTO=$(usex xmrto)
58 -DXMRig=$(usex xmrig)
59 )
60
61 cmake_src_configure
62 }
63
64 src_compile() {
65 cmake_build feather
66 }
67
68 src_install() {
69 dobin "${BUILD_DIR}/bin/feather"
70 }
71
72 pkg_postinst() {
73 einfo "Ensure that Tor is running with 'rc-service tor start' before"
74 einfo "using Feather."
75 }