From 2140581df4f203a1b4e8c21c38cfe7e64f45513d Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 24 Dec 2020 19:23:51 -0500 Subject: [PATCH] media-video/vlc: avoid calling lua-single_pkg_setup when USE='-lua' Closes: https://bugs.gentoo.org/761535 Signed-off-by: Mike Gilbert --- media-video/vlc/vlc-3.0.11.1-r100.ebuild | 6 ++++++ media-video/vlc/vlc-3.0.9999.ebuild | 6 ++++++ media-video/vlc/vlc-9999.ebuild | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/media-video/vlc/vlc-3.0.11.1-r100.ebuild b/media-video/vlc/vlc-3.0.11.1-r100.ebuild index 23ebcaad281ad..1c18dbda43aeb 100644 --- a/media-video/vlc/vlc-3.0.11.1-r100.ebuild +++ b/media-video/vlc/vlc-3.0.11.1-r100.ebuild @@ -239,6 +239,12 @@ DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { xdg_src_prepare # bug 608256 diff --git a/media-video/vlc/vlc-3.0.9999.ebuild b/media-video/vlc/vlc-3.0.9999.ebuild index 2cd26034d19ad..eeb60b76f41a4 100644 --- a/media-video/vlc/vlc-3.0.9999.ebuild +++ b/media-video/vlc/vlc-3.0.9999.ebuild @@ -237,6 +237,12 @@ DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { xdg_src_prepare # bug 608256 diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index bd6ded539cc6a..97191e56c23df 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -240,6 +240,12 @@ DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { xdg_src_prepare # bug 608256