gst-plugins: exclude mesa dependency on darwin

This commit is contained in:
Yureka 2023-05-28 16:07:02 +02:00
parent 7f7ab8be97
commit 061f3a192d
3 changed files with 7 additions and 5 deletions

View File

@ -183,8 +183,6 @@ stdenv.mkDerivation rec {
libwebp libwebp
xvidcore xvidcore
gnutls gnutls
libGL
libGLU
game-music-emu game-music-emu
openssl openssl
libxml2 libxml2
@ -235,6 +233,9 @@ stdenv.mkDerivation rec {
serd serd
sord sord
sratom sratom
libGL
libGLU
] ++ lib.optionals guiSupport [ ] ++ lib.optionals guiSupport [
gtk3 gtk3
] ++ lib.optionals (stdenv.isLinux && guiSupport) [ ] ++ lib.optionals (stdenv.isLinux && guiSupport) [

View File

@ -87,9 +87,9 @@ stdenv.mkDerivation (finalAttrs: {
libpng libpng
libjpeg libjpeg
tremor tremor
libGL
pango pango
] ++ lib.optionals (!stdenv.isDarwin) [ ] ++ lib.optionals (!stdenv.isDarwin) [
libGL
libvisual libvisual
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
OpenGL OpenGL

View File

@ -62,10 +62,11 @@ stdenv.mkDerivation rec {
xorg.libXrandr xorg.libXrandr
xorg.libSM xorg.libSM
xorg.libICE xorg.libICE
libGL
libGLU
nasm nasm
libvpx libvpx
] ++ lib.optionals (!stdenv.isDarwin) [
libGL
libGLU
]; ];
strictDeps = true; strictDeps = true;