From: i.Dark_Templar Date: Fri, 15 Sep 2017 20:03:40 +0000 (+0300) Subject: media-video/orion: fix 1.4.0 desktop file X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56815afbf71e1e978c13779549b0e2a29c7536a9;p=gentoo.git media-video/orion: fix 1.4.0 desktop file Signed-off-by: Bernard Cafarelli --- diff --git a/media-video/orion/orion-1.4.0.ebuild b/media-video/orion/orion-1.4.0.ebuild index 0bf1ef367d3d..804460e26d8f 100644 --- a/media-video/orion/orion-1.4.0.ebuild +++ b/media-video/orion/orion-1.4.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit qmake-utils +inherit qmake-utils eutils DESCRIPTION="Cross-platform Twitch client" HOMEPAGE="https://alamminsalo.github.io/orion/" @@ -21,6 +21,14 @@ DEPEND="dev-qt/qtquickcontrols:5 RDEPEND="${DEPEND} !mpv? ( media-plugins/gst-plugins-hls )" +src_prepare() { + sed -i \ + -e 's:^Icon=/usr/local/share/icons/orion.svg$:Icon=/usr/share/icons/hicolor/scalable/apps/orion.svg:' \ + -e 's:^Categories=Games$:Categories=Game;:' \ + distfiles/*.desktop + eapply_user +} + src_configure() { # TODO: also supports qtav, not yet in portage local PLAYER