summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-28 18:08:02 +0200
committerGitHub <noreply@github.com>2022-04-28 18:08:02 +0200
commite27e37626bc25420b1e4268f45ab84d33ce60ae3 (patch)
tree433e56dce63f6cfcc7dc0fa0a237e62d4827f449 /platform/linuxbsd
parent9101c5b499830e3530c2bf52605218104dec0fda (diff)
parent652f78785b410dd703d5bb4a314bf435dbe85afd (diff)
Merge pull request #60587 from bruvzg/disable_spd
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r--platform/linuxbsd/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index f8d69b4ca9..19cf341c85 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -329,6 +329,7 @@ def configure(env):
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED"])
env.ParseConfig("pkg-config libpulse --cflags") # Only cflags, we dlopen the library.
else:
+ env["pulseaudio"] = False
print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.")
if env["dbus"]:
@@ -343,6 +344,7 @@ def configure(env):
env.Append(CPPDEFINES=["SPEECHD_ENABLED"])
env.ParseConfig("pkg-config speech-dispatcher --cflags") # Only cflags, we dlopen the library.
else:
+ env["speechd"] = False
print("Warning: Speech Dispatcher development libraries not found. Disabling Text-to-Speech support.")
if platform.system() == "Linux":
@@ -352,6 +354,7 @@ def configure(env):
env.Append(CPPDEFINES=["UDEV_ENABLED"])
env.ParseConfig("pkg-config libudev --cflags") # Only cflags, we dlopen the library.
else:
+ env["udev"] = False
print("Warning: libudev development libraries not found. Disabling controller hotplugging support.")
else:
env["udev"] = False # Linux specific