summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-19 22:29:35 +0100
committerSam James <sam@gentoo.org>2023-07-19 22:33:43 +0100
commit50511cf04b1fbc205c81aa1ce5748899f20504a6 (patch)
treec377f96e9a9b80d8975d003aba86337fcf44da57 /media-video/vlc
parentacct-group/lidarr: add myself proxied (diff)
downloadgentoo-50511cf04b1fbc205c81aa1ce5748899f20504a6.tar.gz
gentoo-50511cf04b1fbc205c81aa1ce5748899f20504a6.tar.bz2
gentoo-50511cf04b1fbc205c81aa1ce5748899f20504a6.zip
media-video/vlc: fix vlc-cache-gen call in 9999
Thanks to josef64 for reporting. This.. seems to have changed years ago in https://code.videolan.org/videolan/vlc/-/commit/ba05ad61645b38ad206e23949a6352871ab59773. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/vlc')
-rw-r--r--media-video/vlc/vlc-9999.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index 712516931946..45d981062cd6 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -491,12 +491,12 @@ src_install() {
}
pkg_postinst() {
- if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then
- einfo "Running ${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/"
- "${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen" "${EROOT}/usr/$(get_libdir)/vlc/plugins/"
+ if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}"/usr/libexec/vlc/vlc-cache-gen ]] ; then
+ einfo "Running ${EPREFIX}/usr/libexec/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/"
+ "${EPREFIX}"/usr/libexec/vlc/vlc-cache-gen "${EROOT}/usr/$(get_libdir)/vlc/plugins/"
else
ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)"
- ewarn "Please run ${EPREFIX}/usr/$(get_libdir)/vlc/vlc-cache-gen manually"
+ ewarn "Please run ${EPREFIX}/usr/libexec/vlc/vlc-cache-gen manually"
ewarn "If you do not do it, vlc will take a long time to load."
fi