commit:     2c4dc3ebc1e65c7eed8187ac4922c36f3806c4cf
Author:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Thu Sep  8 23:18:44 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Sep  8 23:20:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c4dc3eb

net-p2p/feather: add desktop icons

Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com>

 net-p2p/feather/feather-2.1.0.ebuild | 5 ++++-
 net-p2p/feather/feather-9999.ebuild  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-p2p/feather/feather-2.1.0.ebuild 
b/net-p2p/feather/feather-2.1.0.ebuild
index c9324c8e6..7b74b4158 100644
--- a/net-p2p/feather/feather-2.1.0.ebuild
+++ b/net-p2p/feather/feather-2.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake desktop
 
 #Note: this is like a tree, with dependencies-of-dependencies
 #You need to update all of these recursively every version bump.
@@ -104,6 +104,9 @@ src_compile() {
 
 src_install() {
        dobin "${BUILD_DIR}/bin/feather"
+
+       doicon "${WORKDIR}"/${PF}/src/assets/images/feather.png
+       domenu "${WORKDIR}"/${PF}/src/assets/feather.desktop
 }
 
 pkg_postinst() {

diff --git a/net-p2p/feather/feather-9999.ebuild 
b/net-p2p/feather/feather-9999.ebuild
index 15e38dd01..351455e57 100644
--- a/net-p2p/feather/feather-9999.ebuild
+++ b/net-p2p/feather/feather-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake git-r3
+inherit cmake git-r3 desktop
 
 DESCRIPTION="A free, open-source Monero wallet"
 HOMEPAGE="https://featherwallet.org";
@@ -69,6 +69,9 @@ src_compile() {
 
 src_install() {
        dobin "${BUILD_DIR}/bin/feather"
+
+       doicon "${WORKDIR}"/${PF}/src/assets/images/feather.png
+       domenu "${WORKDIR}"/${PF}/src/assets/feather.desktop
 }
 
 pkg_postinst() {

Reply via email to