media-video/mpv: install upstream Lua scripts with lua. USE in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 28 Aug 2016 04:49:40 +0000 (07:49 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 2 Sep 2016 17:09:22 +0000 (19:09 +0200)
These are tiny files and some of them are really handy.

Package-Manager: portage-2.3.0

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
media-video/mpv/mpv-9999.ebuild

index 15848692737a8a0cb3cda7343866af0dbcc7a966..67af384a0fc13fc978fe78671292fcf611217806 100644 (file)
@@ -259,6 +259,11 @@ src_configure() {
 src_install() {
        waf-utils_src_install
 
+       if use lua; then
+               insinto /usr/share/${PN}
+               doins -r TOOLS/lua
+       fi
+
        if use cli && use luajit; then
                pax-mark -m "${ED}"usr/bin/${PN}
        fi