commit:     a8f738ba1fd385b9d033a0e05bafe03fdffe13c6
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue Jul 18 20:54:12 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 13:24:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f738ba

media-video/mpv: add javascript USE to 9999

Upstream-commit: 
https://github.com/mpv-player/mpv/commit/d223a63bc5de423bca7337795fe165678cf6d236
Upstream-commit: 
https://github.com/mpv-player/mpv/commit/071118e4d27afb4759bc098c7c70d0bd041dc1f5
Package-Manager: Portage-2.3.6, Repoman-2.3.2

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

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 6678f10566e..4e4b5d7534d 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -28,9 +28,9 @@ DOCS+=( README.md DOCS/{client-api,interface}-changes.rst )
 LICENSE="LGPL-2.1+ GPL-2+ BSD ISC samba? ( GPL-3+ )"
 SLOT="0"
 IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb
-       dvd +egl encode gbm +iconv jack jpeg lcms +libass libav libcaca libmpv 
+lua
-       luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl
-       selinux test tools +uchardet v4l vaapi vdpau wayland +X +xv zlib
+       dvd +egl encode gbm +iconv jack javascript jpeg lcms +libass libav 
libcaca
+       libmpv +lua luajit openal +opengl oss pulseaudio raspberry-pi rubberband
+       samba sdl selinux test tools +uchardet v4l vaapi vdpau wayland +X +xv 
zlib
        zsh-completion"
 
 REQUIRED_USE="
@@ -75,6 +75,7 @@ COMMON_DEPEND="
                uchardet? ( app-i18n/uchardet )
        )
        jack? ( virtual/jack )
+       javascript? ( >=dev-lang/mujs-1.0.0 )
        jpeg? ( virtual/jpeg:0 )
        lcms? ( >=media-libs/lcms-2.6:2 )
        libass? (
@@ -185,6 +186,7 @@ src_configure() {
                $(use_enable samba libsmbclient)
                $(use_enable lua)
                $(usex luajit '--lua=luajit' '')
+               $(use_enable javascript)
                $(use_enable libass)
                $(use_enable libass libass-osd)
                $(use_enable zlib)

Reply via email to