net-p2p/bitcoin-qt-0.16.3: Use desktop eclass newmenu
authorLuke Dashjr <luke-jr+git@utopios.org>
Mon, 30 Sep 2019 03:36:35 +0000 (03:36 +0000)
committerCraig Andrews <candrews@gentoo.org>
Sat, 7 Mar 2020 21:15:14 +0000 (16:15 -0500)
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild

index 95339d5b90b1582d9857813e720a0cca0cf1f835..3b8b474b8ef98b16a86efd39abbe8ec29785c927 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 
 DB_VER="4.8"
-inherit autotools bash-completion-r1 db-use gnome2-utils xdg-utils
+inherit autotools bash-completion-r1 db-use desktop gnome2-utils xdg-utils
 
 BITCOINCORE_COMMITHASH="49e34e288005a5b144a642e197b628396f5a0765"
 KNOTS_PV="${PV}.knots20180918"
@@ -139,8 +139,7 @@ src_install() {
                newins src/qt/res/src/bitcoin.svg bitcoinknots.svg
        fi
 
-       insinto /usr/share/applications
-       newins "contrib/debian/bitcoin-qt.desktop" "org.bitcoin.bitcoin-qt.desktop"
+       newmenu "contrib/debian/bitcoin-qt.desktop" "org.bitcoin.bitcoin-qt.desktop"
 
        use libevent && dodoc doc/REST-interface.md doc/tor.md