Merge pull request #63991 from bruvzg/dis_libs3

This commit is contained in:
Rémi Verschelde 2022-08-06 12:12:18 +02:00 committed by GitHub
commit 072da085bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -369,6 +369,7 @@ def configure(env):
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED"]) env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED"])
env.ParseConfig("pkg-config libpulse --cflags") # Only cflags, we dlopen the library. env.ParseConfig("pkg-config libpulse --cflags") # Only cflags, we dlopen the library.
else: else:
env["pulseaudio"] = False
print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.") print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.")
if env["speechd"]: if env["speechd"]:
@ -376,6 +377,7 @@ def configure(env):
env.Append(CPPDEFINES=["SPEECHD_ENABLED"]) env.Append(CPPDEFINES=["SPEECHD_ENABLED"])
env.ParseConfig("pkg-config speech-dispatcher --cflags") # Only cflags, we dlopen the library. env.ParseConfig("pkg-config speech-dispatcher --cflags") # Only cflags, we dlopen the library.
else: else:
env["speechd"] = False
print("Warning: Speech Dispatcher development libraries not found. Disabling Text-to-Speech support.") print("Warning: Speech Dispatcher development libraries not found. Disabling Text-to-Speech support.")
if platform.system() == "Linux": if platform.system() == "Linux":
@ -385,6 +387,7 @@ def configure(env):
env.Append(CPPDEFINES=["UDEV_ENABLED"]) env.Append(CPPDEFINES=["UDEV_ENABLED"])
env.ParseConfig("pkg-config libudev --cflags") # Only cflags, we dlopen the library. env.ParseConfig("pkg-config libudev --cflags") # Only cflags, we dlopen the library.
else: else:
env["udev"] = False
print("Warning: libudev development libraries not found. Disabling controller hotplugging support.") print("Warning: libudev development libraries not found. Disabling controller hotplugging support.")
else: else:
env["udev"] = False # Linux specific env["udev"] = False # Linux specific