diff options
Diffstat (limited to 'media-video/vlc/vlc-9999.ebuild')
-rw-r--r-- | media-video/vlc/vlc-9999.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index a93a385cb40e..bd6ded539cc6 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -3,6 +3,8 @@ EAPI=7 +LUA_COMPAT=( lua5-{1..2} ) + MY_PV="${PV/_/-}" MY_PV="${MY_PV/-beta/-test}" MY_P="${PN}-${MY_PV}" @@ -21,7 +23,7 @@ else fi KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86" fi -inherit autotools flag-o-matic toolchain-funcs virtualx xdg +inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg DESCRIPTION="Media player and framework with support for most multimedia files and streaming" HOMEPAGE="https://www.videolan.org/vlc/" @@ -46,6 +48,7 @@ REQUIRED_USE=" libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) + lua? ( ${LUA_REQUIRED_USE} ) skins? ( gui truetype X xml ) ssl? ( gcrypt ) vaapi? ( ffmpeg X ) @@ -54,6 +57,7 @@ REQUIRED_USE=" BDEPEND=" >=sys-devel/gettext-0.19.8 virtual/pkgconfig + lua? ( ${LUA_DEPS} ) amd64? ( dev-lang/yasm ) x86? ( dev-lang/yasm ) " @@ -144,7 +148,7 @@ RDEPEND=" lirc? ( app-misc/lirc ) live? ( media-plugins/live:= ) loudness? ( >=media-libs/libebur128-1.2.4:= ) - lua? ( >=dev-lang/lua-5.1:0= ) + lua? ( ${LUA_DEPS} ) mad? ( media-libs/libmad ) matroska? ( >=dev-libs/libebml-1.3.6:= @@ -229,6 +233,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164 + "${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch ) DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) |