commit:     cd3a1177c9d1608328e0c97d1ea7d16d2b2a8219
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 04:49:40 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Sep  2 17:09:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3a1177

media-video/mpv: install upstream Lua scripts with lua. USE in 9999

These are tiny files and some of them are really handy.

Package-Manager: portage-2.3.0

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 media-video/mpv/mpv-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 1584869..67af384 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -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

Reply via email to