tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
godot: simplify pkg_config_additions.patch
James Kay
7 years ago
368ed89a
2220b5fe
+4
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
godot
pkg_config_additions.patch
+4
-8
pkgs/development/tools/godot/pkg_config_additions.patch
···
1
-
+++ build/platform/x11/detect.py
2
-
@@ -142,8 +142,13 @@
3
env.ParseConfig('pkg-config xcursor --cflags --libs')
4
env.ParseConfig('pkg-config xinerama --cflags --libs')
5
env.ParseConfig('pkg-config xrandr --cflags --libs')
6
-
-
7
-
- if (env['touch']):
8
+ env.ParseConfig('pkg-config xrender --cflags --libs')
9
+ env.ParseConfig('pkg-config xext --cflags --libs')
10
+ env.ParseConfig('pkg-config xfixes --cflags --libs')
11
+ env.ParseConfig('pkg-config glu --cflags --libs')
12
+ env.ParseConfig('pkg-config zlib --cflags --libs')
13
-
+
14
-
+ if (env['touch']):
15
x11_error = os.system("pkg-config xi --modversion > /dev/null ")
16
-
if (x11_error):
17
-
print("xi not found.. cannot build with touch. Aborting.")
···
1
+
+++ b/platform/x11/detect.py
2
+
@@ -142,6 +142,11 @@
3
env.ParseConfig('pkg-config xcursor --cflags --libs')
4
env.ParseConfig('pkg-config xinerama --cflags --libs')
5
env.ParseConfig('pkg-config xrandr --cflags --libs')
0
0
6
+ env.ParseConfig('pkg-config xrender --cflags --libs')
7
+ env.ParseConfig('pkg-config xext --cflags --libs')
8
+ env.ParseConfig('pkg-config xfixes --cflags --libs')
9
+ env.ParseConfig('pkg-config glu --cflags --libs')
10
+ env.ParseConfig('pkg-config zlib --cflags --libs')
11
+
12
+
if (env['touch']):
13
x11_error = os.system("pkg-config xi --modversion > /dev/null ")
0
0