Merge pull request #40289 from yegortimoshenko/mpv-bump

mpv: 0.27.2 -> 0.28.2
This commit is contained in:
xeji
2018-05-10 18:21:38 +02:00
committed by GitHub
4 changed files with 21 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, ...
}@args:
callPackage ./generic.nix (args // rec {
version = "${branch}";
branch = "4.0";
sha256 = "1f3k8nz5ag6szsfhlrz66qm8s1yxk1vphqvcfr4ps4690vckk2ii";
darwinFrameworks = [ Cocoa CoreMedia ];
})

View File

@@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
"--enable-ffmpeg"
"--disable-ffplay"
(ifMinVer "0.6" "--enable-ffprobe")
"--disable-ffserver"
(if reqMin "4" then null else "--disable-ffserver")
# Libraries
(ifMinVer "0.6" "--enable-avcodec")
(ifMinVer "0.6" "--enable-avdevice")