gst_all_1.gst-plugins-bad: libva/v4l2codecs are Linux-only. Fixes #104062

This commit is contained in:
Niklas Hambüchen 2020-11-17 22:36:07 +01:00
parent 2a0fbf08da
commit 691e6e4c26

View File

@ -161,7 +161,6 @@ in stdenv.mkDerivation rec {
soundtouch soundtouch
srtp srtp
fluidsynth fluidsynth
libva
libvdpau libvdpau
libwebp libwebp
xvidcore xvidcore
@ -180,6 +179,7 @@ in stdenv.mkDerivation rec {
faac faac
] ++ optionals stdenv.isLinux [ ] ++ optionals stdenv.isLinux [
bluez bluez
libva # vaapi requires libva -> libdrm -> libpciaccess, which is Linux-only in nixpkgs
wayland wayland
wayland-protocols wayland-protocols
] ++ optionals (!stdenv.isDarwin) [ ] ++ optionals (!stdenv.isDarwin) [
@ -259,6 +259,9 @@ in stdenv.mkDerivation rec {
"-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing "-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing
"-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing "-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing
] ]
++ optionals (!stdenv.isLinux) [
"-Dva=disabled" # see comment on `libva` in `buildInputs`
]
++ optionals stdenv.isDarwin [ ++ optionals stdenv.isDarwin [
"-Dbluez=disabled" "-Dbluez=disabled"
"-Dchromaprint=disabled" "-Dchromaprint=disabled"
@ -272,6 +275,7 @@ in stdenv.mkDerivation rec {
"-Ddvb=disabled" "-Ddvb=disabled"
"-Dfbdev=disabled" "-Dfbdev=disabled"
"-Duvch264=disabled" # requires gudev "-Duvch264=disabled" # requires gudev
"-Dv4l2codecs=disabled" # requires gudev
"-Dladspa=disabled" # requires lrdf "-Dladspa=disabled" # requires lrdf
"-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs "-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs
"-Dwildmidi=disabled" # see dependencies above "-Dwildmidi=disabled" # see dependencies above