1 |
commit: ec2c81c782672209f4e6dd3253a4ed26ea06a4cb |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 14 08:26:10 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 14 08:26:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec2c81c7 |
7 |
|
8 |
media-tv/plex-media-server: fix QA notes about .desktop file |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
media-tv/plex-media-server/plex-media-server-1.16.4.ebuild | 5 ++++- |
13 |
1 file changed, 4 insertions(+), 1 deletion(-) |
14 |
|
15 |
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 |
16 |
index 69d4dccad28..1fa5d4363cc 100644 |
17 |
--- a/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild |
18 |
+++ b/media-tv/plex-media-server/plex-media-server-1.16.4.ebuild |
19 |
@@ -32,7 +32,6 @@ RDEPEND=" |
20 |
acct-group/plex |
21 |
${PYTHON_DEPS}" |
22 |
|
23 |
-QA_DESKTOP_FILE="usr/share/applications/plexmediamanager.desktop" |
24 |
QA_PREBUILT="*" |
25 |
QA_MULTILIB_PATHS=( |
26 |
"usr/lib/${_APPNAME}/.*" |
27 |
@@ -60,6 +59,10 @@ src_install() { |
28 |
# Remove Debian specific files |
29 |
rm -r "usr/share/doc" || die |
30 |
|
31 |
+ # Fix QA warning about .desktop file. |
32 |
+ sed -i 's|Audio;Music;Video;Player;Media;|AudioVideo;Music;Player;|g' \ |
33 |
+ usr/share/applications/plexmediaserver.desktop || die |
34 |
+ |
35 |
# Copy main files over to image and preserve permissions so it is portable |
36 |
cp -rp usr/ "${ED}"/ || die |