commit: 8d94a1de90974b7a69cf117304a0ea8675ef242f Author: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com> AuthorDate: Sat Mar 2 17:22:31 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Sat Mar 2 17:34:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d94a1de
net-p2p/dogecoin-qt: 1.14.7 keyword for ~arm64 - Tested on Raspberry Pi 400 for arm64 - Fixed 'NonsolvableDepsInStable' error for arm64 keyword by using nested RDEPEND condition so that 'intel-avx2' flag is considered only if cpu_flags_x86_avx2 support is available. - Fixed 'MissingPackageRevision' message to use 'any-of' app-crypt/intel-ipsec-mb-1.3 revision versions. - Cleanup of trailing whitespaces. Signed-off-by: Victor Skovorodnikov <victor3.14 <AT> yandex.com> net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild index 2a42d88d1a..e78d3224bd 100644 --- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild +++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild @@ -7,7 +7,7 @@ inherit autotools desktop xdg-utils flag-o-matic DESCRIPTION="Dogecoin Core Qt for desktop. Downloaded blockchain is under 2.2GB. Much secure." HOMEPAGE="https://github.com/dogecoin" SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" LICENSE="MIT" SLOT="0" DB_VER="5.3" @@ -31,10 +31,14 @@ DEPEND=" >=dev-libs/boost-1.84.0-r3 wallet? ( media-gfx/qrencode ) zmq? ( net-libs/cppzmq ) - intel-avx2? ( =app-crypt/intel-ipsec-mb-1.3 ) " -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} + cpu_flags_x86_avx2? ( + intel-avx2? ( ~app-crypt/intel-ipsec-mb-1.3 ) + ) +" + BDEPEND=" dev-build/autoconf dev-build/automake @@ -99,9 +103,9 @@ src_install() { dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" if use dogecoind ; then - dosym "${DOGEDIR}/bin/dogecoind" "/usr/bin/dogecoind" - dosym "${DOGEDIR}/bin/dogecoin-cli" "/usr/bin/dogecoin-cli" - fi + dosym "${DOGEDIR}/bin/dogecoind" "/usr/bin/dogecoind" + dosym "${DOGEDIR}/bin/dogecoin-cli" "/usr/bin/dogecoin-cli" + fi if use prune ; then domenu "${FILESDIR}"/"${PN}-prune.desktop" @@ -125,10 +129,10 @@ pkg_postinst() { fi if ( ( use cpu_flags_x86_avx2 && ! use intel-avx2 ) && ( use cpu_flags_x86_sse2 && ! use scrypt-sse2 ) ); then - einfo "NOTE: Experimental avx2 and sse2 CPU support in ${PV} can be" - einfo "activated using 'intel-avx2' and/or 'scrypt-sse2' USE flags, " - einfo "together with 'experimental' USE flag for this version." - fi + einfo "NOTE: Experimental avx2 and sse2 CPU support in ${PV} can be" + einfo "activated using 'intel-avx2' and/or 'scrypt-sse2' USE flags, " + einfo "together with 'experimental' USE flag for this version." + fi } pkg_postrm() {