summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2019-12-14 10:26:10 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-12-14 10:26:10 +0200
commitec2c81c782672209f4e6dd3253a4ed26ea06a4cb (patch)
tree6f8d4c5e5326f8b5846267a40f919802774899b4 /media-tv/plex-media-server
parentmedia-tv/plex-media-server: 1.61.4 bump (diff)
downloadgentoo-ec2c81c782672209f4e6dd3253a4ed26ea06a4cb.tar.gz
gentoo-ec2c81c782672209f4e6dd3253a4ed26ea06a4cb.tar.bz2
gentoo-ec2c81c782672209f4e6dd3253a4ed26ea06a4cb.zip
media-tv/plex-media-server: fix QA notes about .desktop file
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv/plex-media-server')
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.16.4.ebuild5
1 files changed, 4 insertions, 1 deletions
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