aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/fix-gui-configure-json.patch
blob: 060fd0b3c7fa66a3f28cad1b24b1bf82147f9090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/src/gui/configure.json b/src/gui/configure.json
index 89934c8f..70d08177 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -239,7 +239,8 @@
             "sources": [
                 { "type": "pkgConfig", "args": "freetype2" },
                 { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" },
-                { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" }
+                { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" },
+                { "libs": "-lfreetype" }
             ],
             "use": [
                 { "lib": "zlib", "condition": "features.system-zlib" }
@@ -250,7 +251,7 @@
             "test": {
                 "tail": [
                     "#ifndef FC_RGBA_UNKNOWN",
-                    "#  error This version of fontconfig is tool old, it is missing the FC_RGBA_UNKNOWN define",
+                    "#  error This version of fontconfig is too old, it is missing the FC_RGBA_UNKNOWN define",
                     "#endif"
                 ],
                 "main": [
@@ -1436,7 +1437,7 @@
         },
         "eglfs_x11": {
             "label": "EGLFS X11",
-            "condition": "features.eglfs && features.xcb && features.xcb-xlib && features.egl_x11",
+            "condition": "features.eglfs && features.xcb-xlib && features.egl_x11",
             "output": [ "privateFeature" ]
         },
         "gif": {
@@ -1569,7 +1570,6 @@
         },
         "xcb-xlib": {
             "label": "XCB Xlib",
-            "emitIf": "features.xcb",
             "condition": "features.xlib && libs.xcb_xlib",
             "output": [ "privateFeature" ]
         },