Merge pull request #54315 from adisbladis/mpv-mujs
mpv: Add javascript support
This commit is contained in:
commit
2031aaff07
2 changed files with 9 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, fetchFromGitHub, makeWrapper
|
||||
, docutils, perl, pkgconfig, python3, which, ffmpeg_4
|
||||
, freefont_ttf, freetype, libass, libpthreadstubs
|
||||
, freefont_ttf, freetype, libass, libpthreadstubs, mujs
|
||||
, lua, luasocket, libuchardet, libiconv ? null, darwin
|
||||
|
||||
, waylandSupport ? false
|
||||
|
@ -139,7 +139,7 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
ffmpeg_4 freetype libass libpthreadstubs
|
||||
lua luasocket libuchardet
|
||||
lua luasocket libuchardet mujs
|
||||
] ++ optional alsaSupport alsaLib
|
||||
++ optional archiveSupport libarchive
|
||||
++ optional bluraySupport libbluray
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
{ stdenv, fetchgit, clang }:
|
||||
{ stdenv, fetchurl, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mujs-2017-01-24";
|
||||
name = "mujs-${version}";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://git.ghostscript.com/mujs.git;
|
||||
rev = "4006739a28367c708dea19aeb19b8a1a9326ce08";
|
||||
sha256 = "0wvjl8lkh0ga6fkmxgjqq77yagncbv1bdy6hpnxq31x3mkwn1s51";
|
||||
src = fetchurl {
|
||||
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
|
||||
sha256 = "02cqrfnww2s3ylcvqin1951f2c5nzpby8gxb207p2hbrivbg8f0l";
|
||||
};
|
||||
|
||||
buildInputs = [ clang ];
|
||||
buildInputs = [ readline ];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue