commit:     ee5a8dacc289e957c9ef6f1a0cb224b4ef1b07dc
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 12:50:53 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 16:42:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee5a8dac

media-sound/spotify-tray: drop desktop file

launching is now handled in spotify launch script from spotify ebuild

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 .../{spotify-tray-1.3.2.ebuild => spotify-tray-1.3.2-r1.ebuild}   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-sound/spotify-tray/spotify-tray-1.3.2.ebuild 
b/media-sound/spotify-tray/spotify-tray-1.3.2-r1.ebuild
similarity index 81%
rename from media-sound/spotify-tray/spotify-tray-1.3.2.ebuild
rename to media-sound/spotify-tray/spotify-tray-1.3.2-r1.ebuild
index 5de180e44e4e..dc3be566510a 100644
--- a/media-sound/spotify-tray/spotify-tray-1.3.2.ebuild
+++ b/media-sound/spotify-tray/spotify-tray-1.3.2-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2019-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools xdg
 
@@ -29,3 +29,9 @@ src_prepare() {
        sed -i -e 's/Icon=spotify/Icon=spotify-client/g' 
spotify-tray.desktop.in || die
        eautoreconf
 }
+
+src_install() {
+       default
+       # remove desktop file, launching is handled in spotify ebuild
+       rm "${ED}/usr/share/applications/spotify-tray.desktop" || die
+}

Reply via email to