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: Sat, 28 Jan 2023 19:18:33 +0000 (UTC) [thread overview]
Message-ID: <1674933459.88d8862fddfa74db580893c61e26b6b4dada0802.adam.pimentel@gentoo> (raw)
commit: 88d8862fddfa74db580893c61e26b6b4dada0802
Author: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Sat Jan 28 19:17:39 2023 +0000
Commit: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
CommitDate: Sat Jan 28 19:17:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=88d8862f
net-p2p/feather: add version 2.2.3
Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com>
net-p2p/feather/feather-2.2.3.ebuild | 144 +++++++++++++++++++++++++++++++++++
1 file changed, 144 insertions(+)
diff --git a/net-p2p/feather/feather-2.2.3.ebuild b/net-p2p/feather/feather-2.2.3.ebuild
new file mode 100644
index 000000000..5052332ab
--- /dev/null
+++ b/net-p2p/feather/feather-2.2.3.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
+MONERO_DIST_COMIT="5e3c15637ed0ecbef44782247ce7364c2893a674"
+ MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
+ RANDOMX_DIST_COMIT="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
+ RAPIDJSON_DIST_COMIT="129d19ba7f496df5e33658527a7158c79b99c21c"
+ SUPERCOP_DIST_COMIT="633500ad8c8759995049ccd022107d1fa8a1bbc9"
+ TREZORCOMMON_DIST_COMIT="bff7fdfe436c727982cc553bdfb29a9021b423b0"
+
+DESCRIPTION="A free, open-source Monero wallet"
+HOMEPAGE="https://featherwallet.org"
+SRC_URI="https://github.com/feather-wallet/feather/archive/refs/tags/${PV}.tar.gz -> \
+${P}.tar.gz
+ https://github.com/itay-grudev/SingleApplication/archive/${SINGLEAPPLICATION_DIST_COMIT}.tar.gz -> \
+${P}-singleapplication.tar.gz
+ https://github.com/feather-wallet/monero/archive/${MONERO_DIST_COMIT}.tar.gz -> \
+${P}-monero.tar.gz
+ https://github.com/miniupnp/miniupnp/archive/${MINIUPNP_DIST_COMIT}.tar.gz -> \
+${P}-monero-miniupnp.tar.gz
+ https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMIT}.tar.gz -> \
+${P}-monero-randomx.tar.gz
+ https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_DIST_COMIT}.tar.gz -> \
+${P}-monero-rapidjson.tar.gz
+ https://github.com/monero-project/supercop/archive/${SUPERCOP_DIST_COMIT}.tar.gz -> \
+${P}-monero-supercop.tar.gz
+ https://github.com/trezor/trezor-common/archive/${TREZORCOMMON_DIST_COMIT}.tar.gz -> \
+${P}-monero-trezorcommon.tar.gz
+"
+
+# 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="qrcode xmrig localmonero"
+
+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/qtcore-5.15:5
+ >=dev-qt/qtwidgets-5.15:5
+ >=dev-qt/qtgui-5.15:5
+ >=dev-qt/qtnetwork-5.15:5
+ >=dev-qt/qtsvg-5.15:5
+ >=dev-qt/qtxml-5.15:5
+ >=dev-qt/qtwebsockets-5.15:5
+ >=dev-qt/qtmultimedia-5.15:5[widgets]
+ >=dev-qt/qtconcurrent-5.15:5
+ dev-libs/libgcrypt:=
+ sys-libs/zlib
+ dev-libs/openssl:=
+ net-dns/unbound:=[threads]
+ net-libs/czmq:=
+"
+RDEPEND="
+ ${DEPEND}
+ net-vpn/tor
+ xmrig? ( net-misc/xmrig )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${P}.tar.gz \
+ ${P}-singleapplication.tar.gz \
+ ${P}-monero.tar.gz \
+ ${P}-monero-miniupnp.tar.gz \
+ ${P}-monero-randomx.tar.gz \
+ ${P}-monero-rapidjson.tar.gz \
+ ${P}-monero-supercop.tar.gz \
+ ${P}-monero-trezorcommon.tar.gz
+ mv -T "${WORKDIR}"/SingleApplication-${SINGLEAPPLICATION_DIST_COMIT} \
+ "${WORKDIR}"/${P}/src/third-party/singleapplication || die
+ mv -T "${WORKDIR}"/monero-${MONERO_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero || die
+ mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero/external/miniupnp || die
+ mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero/external/randomx || die
+ mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero/external/rapidjson || die
+ mv -T "${WORKDIR}"/supercop-${SUPERCOP_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero/external/supercop || die
+ mv -T "${WORKDIR}"/trezor-common-${TREZORCOMMON_DIST_COMIT} \
+ "${WORKDIR}"/${P}/monero/external/trezor-common || die
+}
+
+src_prepare() {
+ default
+ echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${PF}/src/config-feather.h || die
+ echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${PF}/src/config-feather.h || die
+ eapply "${FILESDIR}"/feather_remove_cflags.patch
+ pushd monero || die
+ eapply "${FILESDIR}"/monero_add_some_includes.patch
+ popd || 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
+ -DLOCALMONERO=$(usex localmonero)
+ -DXMRIG=$(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"
+
+ doicon "${WORKDIR}"/${PF}/src/assets/images/feather.png
+ domenu "${WORKDIR}"/${PF}/src/assets/feather.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ einfo "Ensure that Tor is running with 'rc-service tor start' before"
+ einfo "using Feather."
+}
next reply other threads:[~2023-01-28 19:18 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-28 19:18 Adam Pimentel [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-22 23:02 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/feather/ Adam Pimentel
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 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=1674933459.88d8862fddfa74db580893c61e26b6b4dada0802.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