public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Adam Pimentel" <adam.pimentel@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/feather/
Date: Thu, 22 Aug 2024 23:02:02 +0000 (UTC)	[thread overview]
Message-ID: <1724367621.34ff20169253ba61c19e29178f083239a954cc89.adam.pimentel@gentoo> (raw)

commit:     34ff20169253ba61c19e29178f083239a954cc89
Author:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Thu Aug 22 23:00:21 2024 +0000
Commit:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
CommitDate: Thu Aug 22 23:00:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34ff2016

net-p2p/feather: version bump, move upstream distribution files from github to upstream website, ask for donations in postinst because we're disabling them in the program

Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com>

 net-p2p/feather/Manifest             |   2 +
 net-p2p/feather/feather-2.6.8.ebuild | 110 +++++++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/net-p2p/feather/Manifest b/net-p2p/feather/Manifest
index 3d327bf92..e1757076e 100644
--- a/net-p2p/feather/Manifest
+++ b/net-p2p/feather/Manifest
@@ -1,2 +1,4 @@
 DIST feather-2.6.7.tar.gz 29105182 BLAKE2B efdeee978cccc859c8951440e2d32f5375d251963aa99d50b676a7c8dd753ee8eb8f8ee401f5d4045b277e8c8133c260a62b97450f32f8a6fe7db3563140237e SHA512 c304a45f3a6a5ec89805012d8c5a6b906387db329e58969d88f45a4743eba5875e1f5ba76fc3f2be14764efc28b0e63c7641378e20fe312deed53900c35c939d
 DIST feather-2.6.7.tar.gz.asc 833 BLAKE2B 337e7c41ad3c6e2d101470ef32d47ded55b5abb4c9451c66ccff55a62f49d19ed335371278fa1ef76d77e67e08b93dba2efd51855ebe7a7d2630c2a12937b269 SHA512 f9242645e7e2f591173f29949a87a31ec9eab5898e33179cde3031ad050441f03f9b4dff3eb1a72681f6873c84ecc198aef2e08a7224cd92d72de3c1b00b4618
+DIST feather-2.6.8.tar.gz 29100328 BLAKE2B 06eedce5317125163d6778076a3f4e49716eb4721381a5544db261d83c59227ccd612409537d997b2c4ca06086c2c8cb3858c4238baa822323379c46e2208277 SHA512 34786d8422fe96a680b2a47cc116a781551442e7b6b9909f0a203a0da46f496e90341b9564caff022948c1ab728afccfd04c7e067a550b5d02b0fcefc3eb54d2
+DIST feather-2.6.8.tar.gz.asc 833 BLAKE2B 7948b56047b597f196878ad209cfa1dec8e330e386b83e426f29d94ae171233c5ed5db0ac56842c4312cb397bb8c6be608591b8c47242eaec88769f6f0d8cbd2 SHA512 57dc435bdd4154f5937f503fc45d53e296a5338010cfa7b32ae8a7f2580d6df82686dc2c9da90127d32d81baecf96d2f96b19cb8472ca3800e2248bbdc45df73

diff --git a/net-p2p/feather/feather-2.6.8.ebuild b/net-p2p/feather/feather-2.6.8.ebuild
new file mode 100644
index 000000000..9550d3c74
--- /dev/null
+++ b/net-p2p/feather/feather-2.6.8.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop verify-sig xdg
+
+DESCRIPTION="A free, open-source Monero wallet"
+HOMEPAGE="https://featherwallet.org"
+SRC_URI="
+	https://featherwallet.org/files/releases/source/${P}.tar.gz
+	verify-sig? ( https://featherwallet.org/files/releases/source/${P}.tar.gz.asc )
+"
+
+# 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="~amd64"
+IUSE="bounties calc crowdfunding exchange home localmonero qrcode reddit revuo tickers xmrig"
+DEPEND="
+	dev-libs/libsodium:=
+	media-gfx/qrencode:=
+	media-gfx/zbar:=[v4l]
+	~dev-libs/polyseed-1.0.0
+	dev-libs/libzip:=
+	dev-libs/boost:=[nls]
+	>=dev-qt/qtbase-6.5.2:6
+	>=dev-qt/qtsvg-6.5.2:6
+	>=dev-qt/qtmultimedia-6.5.2:6
+	>=dev-qt/qtwebsockets-6.5.2:6
+	dev-libs/libgcrypt:=
+	sys-libs/zlib
+	dev-libs/openssl:=
+	net-dns/unbound:=[threads]
+	net-libs/czmq:=
+	qrcode? ( media-libs/zxing-cpp )
+"
+RDEPEND="
+	${DEPEND}
+	net-vpn/tor
+	xmrig? ( net-misc/xmrig )
+"
+BDEPEND="
+	virtual/pkgconfig
+	verify-sig? ( sec-keys/openpgp-keys-featherwallet )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/featherwallet.asc
+
+src_prepare() {
+	default
+	echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die
+	echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_BUILD_TYPE=Release
+		-DBUILD_SHARED_LIBS=OFF
+		-DARCH=x86-64
+		-DBUILD_TAG="linux-x64"
+		-DBUILD_64=ON
+		-DSELF_CONTAINED=OFF
+		-DWITH_PLUGIN_HOME=$(usex home)
+		-DWITH_PLUGIN_TICKERS=$(usex tickers)
+		-DWITH_PLUGIN_CROWDFUNDING=$(usex crowdfunding)
+		-DWITH_PLUGIN_BOUNTIES=$(usex bounties)
+		-DWITH_PLUGIN_REDDIT=$(usex reddit)
+		-DWITH_PLUGIN_REVUO=$(usex revuo)
+		-DWITH_PLUGIN_CALC=$(usex calc)
+		-DWITH_PLUGIN_EXCHANGE=$(usex exchange)
+		-DWITH_PLUGIN_LOCALMONERO=$(usex localmonero)
+		-DWITH_PLUGIN_XMRIG=$(usex xmrig)
+		-DCHECK_UPDATES=OFF
+		-DPLATFORM_INSTALLER=OFF
+		-DUSE_DEVICE_TREZOR=OFF
+		-DDONATE_BEG=OFF
+		-DWITH_SCANNER=$(usex qrcode)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_build feather
+}
+
+src_install() {
+	dobin "${BUILD_DIR}/bin/feather"
+
+	newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
+	newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
+	newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
+	newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
+	newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
+	newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
+	domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	einfo "Ensure that Tor is running with 'rc-service tor start' before"
+	einfo "using Feather."
+	einfo ""
+	einfo "Donation popup has been disabled in this build."
+	einfo "Consider donating to upstream developers here:"
+	einfo "https://docs.featherwallet.org/guides/donate"
+}


             reply	other threads:[~2024-08-22 23:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 23:02 Adam Pimentel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-28  0:19 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/feather/ Ronny Gutbrod
2024-07-16 15:55 Lucio Sauer
2024-07-16 15:46 Lucio Sauer
2024-07-16 15:46 Lucio Sauer
2024-07-16  3:10 Adam Pimentel
2024-07-16  3:10 Adam Pimentel
2024-05-27  5:26 Adam Pimentel
2024-01-03 16:54 [gentoo-commits] repo/proj/guru:master " David Roman
2024-01-03 16:53 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-01-03 16:53 David Roman
2024-01-03  4:23 Adam Pimentel
2024-01-03  3:55 Adam Pimentel
2023-12-31  1:00 Julien Roy
2023-10-26 15:17 Adam Pimentel
2023-10-12 22:15 Adam Pimentel
2023-10-11 18:29 Adam Pimentel
2023-10-11 18:26 Adam Pimentel
2023-10-10  2:52 Adam Pimentel
2023-10-09 19:47 Adam Pimentel
2023-06-05 19:22 Adam Pimentel
2023-05-30 12:26 Anna Vyalkova
2023-05-30  6:43 Adam Pimentel
2023-03-01 23:02 Adam Pimentel
2023-01-30  6:42 Adam Pimentel
2023-01-28 19:18 Adam Pimentel
2023-01-28  9:27 Adam Pimentel
2022-12-29 20:17 Florian Schmaus
2022-12-27  4:45 Adam Pimentel
2022-12-20  7:58 Adam Pimentel
2022-12-18  0:35 Adam Pimentel
2022-12-10  2:52 Adam Pimentel
2022-12-10  2:52 Adam Pimentel
2022-12-10  2:46 Adam Pimentel
2022-12-10  2:44 Adam Pimentel
2022-12-05 23:15 Adam Pimentel
2022-12-05 23:03 Adam Pimentel
2022-12-05 21:49 Adam Pimentel
2022-12-01 15:16 Adam Pimentel
2022-12-01 15:08 Adam Pimentel
2022-09-09 21:57 Adam Pimentel
2022-09-09 20:27 Adam Pimentel
2022-09-08 23:20 Adam Pimentel
2022-09-08 19:35 Adam Pimentel
2022-09-08 17:08 Adam Pimentel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724367621.34ff20169253ba61c19e29178f083239a954cc89.adam.pimentel@gentoo \
    --to=adam.pimentel@protonmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox