commit: 56815afbf71e1e978c13779549b0e2a29c7536a9 Author: i.Dark_Templar <darktemplar <AT> dark-templar-archives <DOT> net> AuthorDate: Fri Sep 15 20:03:40 2017 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Wed Sep 20 20:40:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56815afb
media-video/orion: fix 1.4.0 desktop file Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> media-video/orion/orion-1.4.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/media-video/orion/orion-1.4.0.ebuild b/media-video/orion/orion-1.4.0.ebuild index 0bf1ef367d3..804460e26d8 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
