summaryrefslogtreecommitdiff
path: root/media-video/vlc/vlc-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
commit5b5df25227111ef465caf5c52bcfb66dac3219cd (patch)
tree31b713cac6188358125cbb66b8804030328740f0 /media-video/vlc/vlc-9999.ebuild
parent02e2208f46f4e2c00fb9743cbc47350bdd233bfa (diff)
gentoo resync : 19.01.2018
Diffstat (limited to 'media-video/vlc/vlc-9999.ebuild')
-rw-r--r--media-video/vlc/vlc-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index 86a7661c3f4d..d4545b0e1f96 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -267,6 +267,10 @@ src_prepare() {
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
fi
+ # Disable running of vlc-cache-gen, we do that in pkg_postinst
+ sed -e "/test.*build.*host/s/\$(host)/nothanks/" \
+ -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen"
+
eautoreconf
# Disable automatic running of tests.
@@ -473,6 +477,10 @@ pkg_postinst() {
}
pkg_postrm() {
+ if [[ -e /usr/lib64/vlc/plugins/plugins.dat ]]; then
+ rm /usr/lib64/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
+ fi
+
gnome2_icon_cache_update
xdg_mimeinfo_database_update
xdg_desktop_database_update