mpv: fix cocoa backend
This commit is contained in:
parent
86af0de552
commit
9fa6557a71
@ -1,4 +1,4 @@
|
|||||||
{ config, stdenv, fetchurl, fetchFromGitHub, makeWrapper
|
{ config, stdenv, fetchurl, fetchFromGitHub, makeWrapper, fetchpatch
|
||||||
, addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
|
, addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
|
||||||
, ffmpeg_4, freefont_ttf, freetype, libass, libpthreadstubs, mujs
|
, ffmpeg_4, freefont_ttf, freetype, libass, libpthreadstubs, mujs
|
||||||
, nv-codec-headers, lua, libuchardet, libiconv ? null
|
, nv-codec-headers, lua, libuchardet, libiconv ? null
|
||||||
@ -191,6 +191,14 @@ in stdenv.mkDerivation rec {
|
|||||||
--prefix PYTHONPATH : "${vapoursynth}/lib/${python3.libPrefix}/site-packages:$PYTHONPATH"
|
--prefix PYTHONPATH : "${vapoursynth}/lib/${python3.libPrefix}/site-packages:$PYTHONPATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
# Fix cocoa backend. Remove with the next release
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/mpv-player/mpv/commit/188169854313b99d01da8f69fe129f0a487eb7c4.patch";
|
||||||
|
sha256 = "062sz4666prb2wg1rn5q8brqkzlq6lxn8sxic78a8lb0125c01f7";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Use a standard font
|
# Use a standard font
|
||||||
mkdir -p $out/share/mpv
|
mkdir -p $out/share/mpv
|
||||||
|
Loading…
Reference in New Issue
Block a user