From: Joonas Niilola Date: Sat, 14 Dec 2019 08:26:10 +0000 (+0200) Subject: media-tv/plex-media-server: fix QA notes about .desktop file X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec2c81c782672209f4e6dd3253a4ed26ea06a4cb;p=gentoo.git media-tv/plex-media-server: fix QA notes about .desktop file Signed-off-by: Joonas Niilola --- diff --git a/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild b/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild index 69d4dccad281..1fa5d4363cc5 100644 --- a/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild +++ b/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild @@ -32,7 +32,6 @@ RDEPEND=" acct-group/plex ${PYTHON_DEPS}" -QA_DESKTOP_FILE="usr/share/applications/plexmediamanager.desktop" QA_PREBUILT="*" QA_MULTILIB_PATHS=( "usr/lib/${_APPNAME}/.*" @@ -60,6 +59,10 @@ src_install() { # Remove Debian specific files rm -r "usr/share/doc" || die + # Fix QA warning about .desktop file. + sed -i 's|Audio;Music;Video;Player;Media;|AudioVideo;Music;Player;|g' \ + usr/share/applications/plexmediaserver.desktop || die + # Copy main files over to image and preserve permissions so it is portable cp -rp usr/ "${ED}"/ || die