3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/godot/pkg_config_additions.patch
Robert Whitaker 8a8500c2ad
godot: 3.2.2 -> 3.3.2 ()
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-30 04:17:22 +02:00

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: