Skip to content

Commit

Permalink
media-video/orion: fix 1.4.0 desktop file
Browse files Browse the repository at this point in the history
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
iDarkTemplar authored and voyageur committed Sep 20, 2017
1 parent a60a784 commit 56815af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion media-video/orion/orion-1.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
Expand Down

0 comments on commit 56815af

Please sign in to comment.