0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #307553 from SuperSandro2000/gst-plugins-good-nox

nixos/no-x-libs: disable more GUIs for gst_all_1.gst-plugins-good
This commit is contained in:
Sandro 2024-05-01 20:08:13 +02:00 committed by GitHub
commit a534c335e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -47,7 +47,7 @@ with lib;
gst_all_1 = super.gst_all_1 // {
gst-plugins-bad = super.gst_all_1.gst-plugins-bad.override { guiSupport = false; };
gst-plugins-base = super.gst_all_1.gst-plugins-base.override { enableWayland = false; enableX11 = false; };
gst-plugins-good = super.gst_all_1.gst-plugins-good.override { enableX11 = false; };
gst-plugins-good = super.gst_all_1.gst-plugins-good.override { enableWayland = false; enableX11 = false; gtkSupport = false; qt5Support = false; qt6Support = false; };
};
imagemagick = super.imagemagick.override { libX11Support = false; libXtSupport = false; };
imagemagickBig = super.imagemagickBig.override { libX11Support = false; libXtSupport = false; };

View file

@ -39,6 +39,7 @@
, enableJack ? true, libjack2
, enableX11 ? stdenv.isLinux, xorg
, ncurses
, enableWayland ? stdenv.isLinux
, wayland
, wayland-protocols
, libgudev
@ -94,7 +95,7 @@ stdenv.mkDerivation rec {
]) ++ lib.optionals qt6Support (with qt6; [
qtbase
qttools
]) ++ lib.optionals stdenv.isLinux [
]) ++ lib.optionals enableWayland [
wayland-protocols
];
@ -148,6 +149,7 @@ stdenv.mkDerivation rec {
libavc1394
libiec61883
libgudev
] ++ lib.optionals enableWayland [
wayland
] ++ lib.optionals enableJack [
libjack2