Skip to content

Commit

Permalink
net-p2p/dogecoin-qt: Addressing bug 910245 and shortened DESCRIPTION
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Skovorodnikov <victor3.14@yandex.com>
  • Loading branch information
victorsk2019 committed Jul 13, 2023
1 parent 25e2524 commit 7e397a5
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit desktop xdg-utils
DESCRIPTION="Dogecoin Core Qt 1.14.6 (with Graphical User Interface) with ultra-low transaction fees. Fast and lightweight; the default installation for desktop keeps downloaded blockchain size below 2.2GB, making it ideal for daily transactions, even on systems where disk space could be limited."
WANT_AUTOCONF="2.5"
inherit autotools desktop xdg-utils
DESCRIPTION="Dogecoin Core Qt-GUI for desktop. Keeps downloaded blockchain size below 2.2GB."
HOMEPAGE="https://github.com/dogecoin"
SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"

Expand Down Expand Up @@ -51,9 +52,15 @@ BDEPEND="
WORKDIR_="${WORKDIR}/dogecoin-${PV}"
S=${WORKDIR_}

src_prepare() {
default

einfo "Generating autotools files..."
eaclocal -I "${WORKDIR_}"
eautoreconf
}

src_configure() {
chmod 755 ./autogen.sh
./autogen.sh || die "autogen failed"
local my_econf=(
--enable-cxx
$(use_with cpu_flags_x86_avx2 intel-avx2)
Expand All @@ -79,11 +86,11 @@ src_install() {
dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"

if use prune ; then
domenu "${FILESDIR}"/"${PN}-prune.desktop"
domenu "${FILESDIR}"/"${PN}-prune.desktop"
fi

if ! use prune ; then
domenu "${FILESDIR}"/"${PN}.desktop"
domenu "${FILESDIR}"/"${PN}.desktop"
fi

find "${ED}" -type f -name '*.la' -delete || die
Expand All @@ -101,4 +108,3 @@ pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

1 comment on commit 7e397a5

@victorsk2019
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on issue reported in Bug 910245

Please sign in to comment.