From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02BD115800A for ; Thu, 13 Jul 2023 01:36:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26295E084F; Thu, 13 Jul 2023 01:36:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00B60E084F for ; Thu, 13 Jul 2023 01:36:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF698335CA6 for ; Thu, 13 Jul 2023 01:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05054ACE for ; Thu, 13 Jul 2023 01:36:38 +0000 (UTC) From: "Victor Skovorodnikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Victor Skovorodnikov" Message-ID: <1689212189.215f621f4ab14f99625ea0c8d62f4bef724b2ab8.victor3.14@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/dogecoin-qt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild X-VCS-Directories: net-p2p/dogecoin-qt/ X-VCS-Committer: victor3.14 X-VCS-Committer-Name: Victor Skovorodnikov X-VCS-Revision: 215f621f4ab14f99625ea0c8d62f4bef724b2ab8 X-VCS-Branch: dev Date: Thu, 13 Jul 2023 01:36:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63377126-ef61-4b67-ab01-3a986698184f X-Archives-Hash: b66a50d4a4a787c36aa8e77e11b9001d commit: 215f621f4ab14f99625ea0c8d62f4bef724b2ab8 Author: Victor Skovorodnikov yandex com> AuthorDate: Thu Jul 13 01:34:48 2023 +0000 Commit: Victor Skovorodnikov yandex com> CommitDate: Thu Jul 13 01:36:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=215f621f net-p2p/dogecoin-qt: unkeyword 1.14.6 for ~x86 Signed-off-by: Victor Skovorodnikov yandex.com> net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild index d9c9c4623..f40ab04a1 100644 --- a/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild +++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.14.6.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop +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." HOMEPAGE="https://github.com/dogecoin" SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" @@ -76,19 +76,29 @@ src_install() { insinto "${DOGEDIR}/bin" insinto /usr/share/pixmaps doins src/qt/res/icons/dogecoin.png - dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" - + dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}" + if use prune ; then domenu "${FILESDIR}"/"${PN}-prune.desktop" fi - + if ! use prune ; then domenu "${FILESDIR}"/"${PN}.desktop" - fi + 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}." } + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} +