mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #23189 from LnL7/darwin-mpv
mpv: disable drmSupport on darwin
This commit is contained in:
commit
70b610674e
@ -31,7 +31,7 @@
|
|||||||
, libpngSupport ? true, libpng ? null
|
, libpngSupport ? true, libpng ? null
|
||||||
, youtubeSupport ? true, youtube-dl ? null
|
, youtubeSupport ? true, youtube-dl ? null
|
||||||
, vaapiSupport ? true, libva ? null
|
, vaapiSupport ? true, libva ? null
|
||||||
, drmSupport ? true, libdrm ? null
|
, drmSupport ? !stdenv.isDarwin, libdrm ? null
|
||||||
, vapoursynthSupport ? false, vapoursynth ? null
|
, vapoursynthSupport ? false, vapoursynth ? null
|
||||||
, jackaudioSupport ? false, libjack2 ? null
|
, jackaudioSupport ? false, libjack2 ? null
|
||||||
|
|
||||||
@ -114,7 +114,9 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
ffmpeg_3_2 freetype libass libpthreadstubs
|
ffmpeg_3_2 freetype libass libpthreadstubs
|
||||||
lua lua5_sockets libuchardet
|
lua lua5_sockets libuchardet
|
||||||
] ++ optional alsaSupport alsaLib
|
] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
|
libiconv Cocoa CoreAudio ])
|
||||||
|
++ optional alsaSupport alsaLib
|
||||||
++ optional xvSupport libXv
|
++ optional xvSupport libXv
|
||||||
++ optional theoraSupport libtheora
|
++ optional theoraSupport libtheora
|
||||||
++ optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
@ -122,9 +124,6 @@ in stdenv.mkDerivation rec {
|
|||||||
++ optional bluraySupport libbluray
|
++ optional bluraySupport libbluray
|
||||||
++ optional jackaudioSupport libjack2
|
++ optional jackaudioSupport libjack2
|
||||||
++ optional pulseSupport libpulseaudio
|
++ optional pulseSupport libpulseaudio
|
||||||
++ optional stdenv.isDarwin libiconv
|
|
||||||
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
|
||||||
Cocoa CoreAudio ])
|
|
||||||
++ optional rubberbandSupport rubberband
|
++ optional rubberbandSupport rubberband
|
||||||
++ optional screenSaverSupport libXScrnSaver
|
++ optional screenSaverSupport libXScrnSaver
|
||||||
++ optional vdpauSupport libvdpau
|
++ optional vdpauSupport libvdpau
|
||||||
|
Loading…
Reference in New Issue
Block a user