mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
net-p2p/feather: new package, add 2.1.0, 9999
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
76
net-p2p/feather/feather-9999.ebuild
Normal file
76
net-p2p/feather/feather-9999.ebuild
Normal file
@@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="A free, open-source Monero wallet"
|
||||
HOMEPAGE="https://featherwallet.org"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.featherwallet.org/feather/feather.git"
|
||||
|
||||
# Feather is released under the terms of the BSD license, but it vendors
|
||||
# code from Monero and Tor too.
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="qrcode xmrig"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/libgcrypt:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/libzip:=
|
||||
dev-libs/monero-seed
|
||||
dev-libs/openssl:=
|
||||
>=dev-qt/qtcore-5.15
|
||||
>=dev-qt/qtgui-5.15
|
||||
>=dev-qt/qtnetwork-5.15
|
||||
>=dev-qt/qtsvg-5.15
|
||||
>=dev-qt/qtwebsockets-5.15
|
||||
>=dev-qt/qtwidgets-5.15
|
||||
>=dev-qt/qtxml-5.15
|
||||
media-gfx/qrencode:=
|
||||
net-dns/unbound:=[threads]
|
||||
net-libs/czmq:=
|
||||
qrcode? ( media-gfx/zbar:=[v4l] )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
net-vpn/tor
|
||||
xmrig? ( net-misc/xmrig )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DARCH=x86-64
|
||||
-DBUILD_64=ON
|
||||
-DBUILD_SHARED_LIBS=Off # Vendored Monero libs collision
|
||||
-DBUILD_TAG="linux-x64"
|
||||
-DBUILD_TESTS=OFF
|
||||
-DDONATE_BEG=OFF
|
||||
-DINSTALL_VENDORED_LIBUNBOUND=OFF
|
||||
-DMANUAL_SUBMODULES=1
|
||||
-DSTATIC=OFF
|
||||
-DUSE_DEVICE_TREZOR=OFF
|
||||
-DXMRIG=$(usex xmrig)
|
||||
-DWITH_SCANNER=$(usex qrcode)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build feather
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}/bin/feather"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Ensure that Tor is running with 'rc-service tor start' before"
|
||||
einfo "using Feather."
|
||||
}
|
||||
Reference in New Issue
Block a user