mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
8a8500c2ad
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
|
|
index 91652aad55..d12389f9f2 100644
|
|
--- a/platform/x11/detect.py
|
|
+++ b/platform/x11/detect.py
|
|
@@ -218,6 +218,11 @@ def configure(env):
|
|
env.ParseConfig("pkg-config xrender --cflags --libs")
|
|
env.ParseConfig("pkg-config xi --cflags --libs")
|
|
|
|
+ env.ParseConfig("pkg-config xext --cflags --libs")
|
|
+ env.ParseConfig("pkg-config xfixes --cflags --libs")
|
|
+ env.ParseConfig("pkg-config glu --cflags --libs")
|
|
+ env.ParseConfig("pkg-config zlib --cflags --libs")
|
|
+
|
|
if env["touch"]:
|
|
env.Append(CPPDEFINES=["TOUCH_ENABLED"])
|
|
|
|
@@ -323,6 +328,7 @@ def configure(env):
|
|
print("Enabling ALSA")
|
|
env["alsa"] = True
|
|
env.Append(CPPDEFINES=["ALSA_ENABLED", "ALSAMIDI_ENABLED"])
|
|
+ env.ParseConfig("pkg-config alsa --cflags --libs")
|
|
else:
|
|
print("ALSA libraries not found, disabling driver")
|
|
|
|
@@ -340,6 +346,7 @@ def configure(env):
|
|
if os.system("pkg-config --exists libudev") == 0: # 0 means found
|
|
print("Enabling udev support")
|
|
env.Append(CPPDEFINES=["UDEV_ENABLED"])
|
|
+ env.ParseConfig("pkg-config libudev --cflags --libs")
|
|
else:
|
|
print("libudev development libraries not found, disabling udev support")
|
|
else:
|