nixos/no-x-libs: build pipewire without vulkan support
This commit is contained in:
parent
0de22f6645
commit
fdf77d10cb
@ -67,7 +67,7 @@ with lib;
|
||||
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
|
||||
pango = super.pango.override { x11Support = false; };
|
||||
pinentry = super.pinentry.override { enabledFlavors = [ "curses" "tty" "emacs" ]; withLibsecret = false; };
|
||||
pipewire = super.pipewire.override { x11Support = false; };
|
||||
pipewire = super.pipewire.override { vulkanSupport = false; x11Support = false; };
|
||||
pythonPackagesExtensions = super.pythonPackagesExtensions ++ [
|
||||
(python-final: python-prev: {
|
||||
# tk feature requires wayland which fails to compile
|
||||
|
@ -18,6 +18,7 @@
|
||||
, libusb1
|
||||
, udev
|
||||
, libsndfile
|
||||
, vulkanSupport ? true
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
, webrtc-audio-processing
|
||||
@ -125,8 +126,6 @@ stdenv.mkDerivation(finalAttrs: {
|
||||
ncurses
|
||||
readline
|
||||
udev
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
tinycompress
|
||||
] ++ (if enableSystemd then [ systemd ] else [ eudev ])
|
||||
++ (if lib.meta.availableOn stdenv.hostPlatform webrtc-audio-processing_1 then [ webrtc-audio-processing_1 ] else [ webrtc-audio-processing ])
|
||||
@ -140,6 +139,7 @@ stdenv.mkDerivation(finalAttrs: {
|
||||
++ lib.optional zeroconfSupport avahi
|
||||
++ lib.optional raopSupport openssl
|
||||
++ lib.optional rocSupport roc-toolkit
|
||||
++ lib.optionals vulkanSupport [ vulkan-headers vulkan-loader ]
|
||||
++ lib.optionals x11Support [ libcanberra xorg.libX11 xorg.libXfixes ]
|
||||
++ lib.optional mysofaSupport libmysofa
|
||||
++ lib.optional ffadoSupport ffado;
|
||||
@ -175,7 +175,7 @@ stdenv.mkDerivation(finalAttrs: {
|
||||
(lib.mesonOption "sysconfdir" "/etc")
|
||||
(lib.mesonEnable "raop" raopSupport)
|
||||
(lib.mesonOption "session-managers" "")
|
||||
(lib.mesonEnable "vulkan" true)
|
||||
(lib.mesonEnable "vulkan" vulkanSupport)
|
||||
(lib.mesonEnable "x11" x11Support)
|
||||
(lib.mesonEnable "x11-xfixes" x11Support)
|
||||
(lib.mesonEnable "libcanberra" x11Support)
|
||||
|
Loading…
Reference in New Issue
Block a user