From: "Victor Skovorodnikov" <victor3.14@yandex.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/dogecoin-qt/
Date: Sun, 7 Jul 2024 16:15:48 +0000 (UTC) [thread overview]
Message-ID: <1720368769.aa54c5c242b7de844aae88254b5ee74f5a998f41.victor3.14@gentoo> (raw)
commit: aa54c5c242b7de844aae88254b5ee74f5a998f41
Author: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com>
AuthorDate: Sun Jul 7 16:07:58 2024 +0000
Commit: Victor Skovorodnikov <victor3.14 <AT> yandex <DOT> com>
CommitDate: Sun Jul 7 16:12:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa54c5c2
net-p2p/dogecoin-qt: adding 'gui' USE flag
- new 'gui' gives the option to install Dogecoin Core without qt
component. This option can come in handy when installing Dogecoin
Core as a full node on a remote server, without the need for graphical
interface.
Signed-off-by: Victor Skovorodnikov <victor3.14 <AT> yandex.com>
net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild | 48 ++++++++++++++-------------
net-p2p/dogecoin-qt/metadata.xml | 1 +
2 files changed, 26 insertions(+), 23 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 b1bd4f31b..219356f52 100644
--- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild
+++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.7.ebuild
@@ -15,8 +15,8 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
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 ) )"
+IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse2 intel-avx2 dogecoind experimental +gui +pie +prune scrypt-sse2 +ssp tests utils +wallet zmq"
+REQUIRED_USE="!gui? ( dogecoind utils ) dogecoind? ( utils ) intel-avx2? ( experimental ) scrypt-sse2? ( experimental ) experimental? ( || ( intel-avx2 scrypt-sse2 ) )"
DOGEDIR="/opt/${PN}"
DEPEND="
sys-libs/db:"${DB_VER}"=[cxx]
@@ -25,13 +25,7 @@ DEPEND="
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:=
+ gui? ( 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.85.0
wallet? ( media-gfx/qrencode )
zmq? ( net-libs/cppzmq )
@@ -59,7 +53,6 @@ pkg_pretend() {
}
src_prepare() {
-
if use pie && use ssp ; then
PATCHES+=( "${FILESDIR}"/hardened-all.patch )
elif use pie && ! use ssp ; then
@@ -80,8 +73,8 @@ src_prepare() {
src_configure() {
local my_econf=(
--bindir="${DOGEDIR}/bin"
- --with-gui=qt5
--disable-bench
+ $(use_with gui qt5)
$(use_with intel-avx2 intel-avx2)
$(use_with dogecoind daemon)
$(use_with utils utils)
@@ -99,30 +92,39 @@ src_configure() {
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 gui ; then
+ insinto /usr/share/pixmaps
+ doins src/qt/res/icons/dogecoin.png
+ dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"
+
+ if use prune ; then
+ domenu "${FILESDIR}"/"${PN}-prune.desktop"
+ else
+ domenu "${FILESDIR}"/"${PN}.desktop"
+ fi
+ fi
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 gui ; then
+ 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}."
+ else
+ elog "Dogecoin Core ${PV} has been installed."
+ elog "Dogecoin Core binaries have been placed in ${DOGEDIR}/bin."
+ fi
if use dogecoind ; then
elog "dogecoin daemon has been symlinked with /usr/bin/dogecoind."
diff --git a/net-p2p/dogecoin-qt/metadata.xml b/net-p2p/dogecoin-qt/metadata.xml
index 5bde3916a..0c66e557e 100644
--- a/net-p2p/dogecoin-qt/metadata.xml
+++ b/net-p2p/dogecoin-qt/metadata.xml
@@ -14,6 +14,7 @@
<use>
<flag name="dogecoind">Build with dogecoind daemon</flag>
<flag name="experimental">Allow experimental features to be configured</flag>
+ <flag name="gui">Toggle graphical user interface features</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>
next reply other threads:[~2024-07-07 16:15 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-07 16:15 Victor Skovorodnikov [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-01 15:16 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/dogecoin-qt/ Victor Skovorodnikov
2024-08-12 16:26 Victor Skovorodnikov
2024-08-10 17:57 Victor Skovorodnikov
2024-08-09 15:40 Victor Skovorodnikov
2024-08-07 21:44 Victor Skovorodnikov
2024-08-03 14:40 Victor Skovorodnikov
2024-05-26 20:24 Victor Skovorodnikov
2024-03-02 17:34 Victor Skovorodnikov
2024-03-02 3:37 Victor Skovorodnikov
2024-03-02 3:23 Victor Skovorodnikov
2024-02-28 0:09 Victor Skovorodnikov
2024-02-27 20:13 Victor Skovorodnikov
2024-02-27 16:52 Victor Skovorodnikov
2024-02-27 16:52 Victor Skovorodnikov
2024-02-11 23:42 Victor Skovorodnikov
2023-10-27 22:13 Victor Skovorodnikov
2023-09-25 19:44 Victor Skovorodnikov
2023-07-24 20:26 Anna Vyalkova
2023-07-24 20:26 Anna Vyalkova
2023-07-24 19:47 Victor Skovorodnikov
2023-07-24 19:15 Victor Skovorodnikov
2023-07-20 18:28 Victor Skovorodnikov
2023-07-18 22:03 Victor Skovorodnikov
2023-07-17 21:30 Victor Skovorodnikov
2023-07-17 21:30 Victor Skovorodnikov
2023-07-16 0:27 Victor Skovorodnikov
2023-07-14 16:47 Victor Skovorodnikov
2023-07-13 23:41 Victor Skovorodnikov
2023-07-13 1:36 Victor Skovorodnikov
2023-07-12 4:58 Viorel Munteanu
2023-07-11 23:59 Victor Skovorodnikov
2023-07-11 23:28 Victor Skovorodnikov
2023-07-11 2:03 Victor Skovorodnikov
2023-07-06 22:36 Victor Skovorodnikov
2023-07-06 22:36 Victor Skovorodnikov
2023-07-06 18:48 Victor Skovorodnikov
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=1720368769.aa54c5c242b7de844aae88254b5ee74f5a998f41.victor3.14@gentoo \
--to=victor3.14@yandex.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