From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/dogecoin-qt/
Date: Wed, 28 Feb 2024 07:19:04 +0000 (UTC) [thread overview]
Message-ID: <1709052137.052e3fb57d33b6875b8def5f6a6bfd0abc9bd0ec.flow@gentoo> (raw)
commit: 052e3fb57d33b6875b8def5f6a6bfd0abc9bd0ec
Author: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com>
AuthorDate: Tue Feb 27 16:33:44 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 16:42:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=052e3fb5
net-p2p/dogecoin-qt: add 1.14.7
- adding unkeyworded 1.14.7 while its on 'dev' branch
Signed-off-by: Victor Skovorodnikov <victor3.14 <AT> yandex.com>
net-p2p/dogecoin-qt/Manifest | 1 +
net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild | 137 ++++++++++++++++++++++++++
net-p2p/dogecoin-qt/metadata.xml | 3 +
3 files changed, 141 insertions(+)
diff --git a/net-p2p/dogecoin-qt/Manifest b/net-p2p/dogecoin-qt/Manifest
index 8559d11a1e..1d42d0864e 100644
--- a/net-p2p/dogecoin-qt/Manifest
+++ b/net-p2p/dogecoin-qt/Manifest
@@ -1 +1,2 @@
DIST dogecoin-qt-v1.14.6.tar.gz 8162072 BLAKE2B e2d1abe7b60cc2f15998834ec1f23570ad3d471d80e9d05b8e5aa64d6e46b7196d7a13d134e6721fe57b6afd34811bd486de02c00b54ee8516313b81ae6821c2 SHA512 05f1142a22f36a04e65ef91c834b3e724280e29b930617bb66fac98777bb541ddca15771db4205f0cdc14389f3eb4e94fda550f7806b3e9863d909c063f38610
+DIST dogecoin-qt-v1.14.7.zip 12281952 BLAKE2B 501759b37256501495803af57fb458ba867b71d466108f12cb6287161e7818f428c4904c1d34c005ba3fe7a50512c461a5dfab1cd483e543d7ea56f3b79e86fe SHA512 ab848f4a19ca6c8ecc840a83592bea6e7bbdeccf2916c2f5bceb3e0a6ead0666610429a5fa6660d2950284115e4502088c72c6dfc7bf9f322506046b677402d8
diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild
new file mode 100644
index 0000000000..896238d00a
--- /dev/null
+++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+WANT_AUTOCONF="2.5"
+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/heads/1.14.7-dev.zip -> ${PN}-v${PV}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+DB_VER="5.3"
+IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse2 intel-avx2 dogecoind experimental +pie +prune scrypt-sse2 +ssp tests utils +wallet zmq"
+REQUIRED_USE="dogecoind? ( utils ) intel-avx2? ( experimental ) scrypt-sse2? ( experimental ) experimental? ( || ( intel-avx2 scrypt-sse2 ) )"
+DOGEDIR="/opt/${PN}"
+DEPEND="
+ sys-libs/db:"${DB_VER}"=[cxx]
+ dev-libs/libevent:=
+ dev-libs/protobuf
+ dev-libs/openssl
+ dev-build/libtool
+ dev-build/automake:=
+ dev-qt/qtcore
+ dev-qt/qtgui
+ dev-qt/qtwidgets
+ dev-qt/qtdbus
+ dev-qt/qtnetwork
+ dev-qt/qtprintsupport
+ dev-qt/linguist-tools:=
+ >=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}"
+BDEPEND="
+ dev-build/autoconf
+ dev-build/automake
+"
+
+WORKDIR_="${WORKDIR}/dogecoin-${PV}-dev"
+S=${WORKDIR_}
+
+pkg_pretend() {
+
+ if use intel-avx2 && [[ ! -e "${ROOT}"/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch ]]; then
+ eerror "${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb/remove_digest_init.patch does not exist!"
+ eerror "To build with avx2 intel support, please create ${ROOT}/etc/portage/patches/app-crypt/intel-ipsec-mb directory"
+ eerror "and copy patch from package net-p2p/dogecoin-qt/files/intel-ipsec-mb/remove_digest_init.patch into that directory"
+ die
+ fi
+}
+
+src_prepare() {
+
+ if use pie && use ssp ; then
+ PATCHES+=( "${FILESDIR}"/hardened-all.patch )
+ elif use pie && ! use ssp ; then
+ PATCHES+=( "${FILESDIR}"/hardened-no-ssp.patch )
+ elif use ssp && ! use pie ; then
+ PATCHES+=( "${FILESDIR}"/hardened-no-pie.patch )
+ else
+ PATCHES+=( "${FILESDIR}"/hardened-minimal.patch )
+ fi
+
+ default
+
+ einfo "Generating autotools files..."
+ eaclocal -I "${WORKDIR_}"
+ eautoreconf
+}
+
+src_configure() {
+ local my_econf=(
+ --bindir="${DOGEDIR}/bin"
+ --with-gui=qt5
+ --disable-bench
+ $(use_with intel-avx2 intel-avx2)
+ $(use_with dogecoind daemon)
+ $(use_with utils utils)
+ $(use_enable wallet)
+ $(use_enable zmq)
+ $(use_enable tests tests)
+ $(use_enable scrypt-sse2 scrypt-sse2)
+ $(use_enable experimental experimental)
+ )
+
+ append-cxxflags "-std=c++14"
+ econf "${my_econf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto "${DOGEDIR}/bin"
+ insinto /usr/share/pixmaps
+ doins src/qt/res/icons/dogecoin.png
+ 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
+
+ if use prune ; then
+ domenu "${FILESDIR}"/"${PN}-prune.desktop"
+ else
+ domenu "${FILESDIR}"/"${PN}.desktop"
+ fi
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ elog "Dogecoin Core Qt ${PV} has been installed."
+ elog "Dogecoin Core Qt binaries have been placed in ${DOGEDIR}/bin."
+ elog "${PN} has been symlinked with /usr/bin/${PN}."
+
+ if use dogecoind ; then
+ elog "dogecoin daemon has been symlinked with /usr/bin/dogecoind."
+ elog "dogecoin client utils have been symlinked with /usr/bin/dogecoin-cli."
+ fi
+
+ if ( ( use cpu_flags_x86_avx2 && ! use intel-avx2 ) && ( use cpu_flags_x86_sse2 && ! use scrypt-sse2 ) ); then
+ einfo "NOTE: If you wish to activate experimental avx2 or sse2 CPU support,"
+ einfo "you may do so with 'intel-avx2' and/or 'scrypt-sse2' USE flags, and"
+ einfo "with 'experimental' USE flag enabled for version ${PV}."
+ fi
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/net-p2p/dogecoin-qt/metadata.xml b/net-p2p/dogecoin-qt/metadata.xml
index 9c3d65e2c4..5d4926dfc3 100644
--- a/net-p2p/dogecoin-qt/metadata.xml
+++ b/net-p2p/dogecoin-qt/metadata.xml
@@ -13,8 +13,11 @@
</maintainer>
<use>
<flag name="dogecoind">Build with dogecoind daemon</flag>
+ <flag name="experimental">Allow experimental features to be configured</flag>
+ <flag name="intel-avx2">Build with intel avx2</flag>
<flag name="pie">Position Independent Executables - attempt to harden resulting executables, for extra security</flag>
<flag name="prune">Enables automatic pruning of old blocks to stay below 2.2GB target size (if ran from desktop)</flag>
+ <flag name="scrypt-sse2">Build with scrypt sse2 implementation</flag>
<flag name="ssp">Apply stack protector to all functions, for extra security</flag>
<flag name="tests">Build Dogecoin Core Qt with tests option</flag>
<flag name="utils">Build with client utilities dogecoin-cli and dogecoin-tx</flag>
next reply other threads:[~2024-02-28 7:19 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-28 7:19 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-18 14:01 [gentoo-commits] repo/proj/guru:master commit in: net-p2p/dogecoin-qt/ David Roman
2025-02-18 14:01 David Roman
2025-02-18 14:01 David Roman
2025-02-18 14:01 David Roman
2024-12-02 10:48 David Roman
2024-09-01 15:53 David Roman
2024-08-10 20:34 Lucio Sauer
2024-08-10 15:41 Lucio Sauer
2024-08-07 23:36 Lucio Sauer
2024-07-08 16:47 David Roman
2024-03-02 18:02 Julien Roy
2024-03-02 7:10 Arthur Zamarin
2024-03-02 7:10 Arthur Zamarin
2024-02-28 7:19 Florian Schmaus
2024-02-28 7:19 Florian Schmaus
2024-02-28 7:19 Florian Schmaus
2024-02-13 16:32 David Roman
2023-10-28 1:15 David Roman
2023-09-26 12:43 David Roman
2023-07-25 4:59 Haelwenn Monnier
2023-07-25 4:59 Haelwenn Monnier
2023-07-25 4:59 Haelwenn Monnier
2023-07-25 4:59 Haelwenn Monnier
2023-07-21 4:12 Viorel Munteanu
2023-07-19 8:49 Haelwenn Monnier
2023-07-18 9:14 Viorel Munteanu
2023-07-18 9:14 Viorel Munteanu
2023-07-16 6:18 Haelwenn Monnier
2023-07-16 6:18 Haelwenn Monnier
2023-07-13 9:42 David Roman
2023-07-12 5:39 Viorel Munteanu
2023-07-12 5:39 Viorel Munteanu
2023-07-12 4:58 [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-07-12 5:39 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
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=1709052137.052e3fb57d33b6875b8def5f6a6bfd0abc9bd0ec.flow@gentoo \
--to=flow@gentoo.org \
--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