diff options
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r-- | src/gui/configure.json | 64 |
1 files changed, 59 insertions, 5 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json index dab66fafb4..27e913877f 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -1,7 +1,8 @@ { "module": "gui", "depends": [ - "core" + "core", + "network" ], "testDir": "../../config.tests", @@ -201,7 +202,7 @@ "test": { "include": "harfbuzz/hb.h", "tail": [ - "#if !HB_VERSION_ATLEAST(0, 9, 42)", + "#if !HB_VERSION_ATLEAST(1, 6, 0)", "# error This version of harfbuzz is too old.", "#endif" ], @@ -390,6 +391,30 @@ "-lts" ] }, + "v4l2": { + "label": "V4L2", + "test": { + "include": [ + "cstddef" + ], + "tail": [ + "extern \"C\" {", + "#include <mediactl/mediactl.h>", + "#include <mediactl/v4l2subdev.h>", + "}" + ], + "main": [ + "v4l2_format fmt;", + "media_pad *pad = nullptr;", + "media_device *device = media_device_new(\"/dev/media\");", + "v4l2_subdev_set_format(nullptr, nullptr, 0, V4L2_SUBDEV_FORMAT_ACTIVE);" + ] + }, + "sources": [ + { "type": "pkgConfig", "args": "libv4l2 libmediactl" }, + "-lmediactl -lv4l2 -lv4l2subdev" + ] + }, "vulkan": { "label": "Vulkan", "test": "qpa/vulkan", @@ -956,7 +981,8 @@ }, "fontconfig": { "label": "Fontconfig", - "condition": "!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig", + "autoDetect": "!config.darwin", + "condition": "!config.win32 && features.system-freetype && libs.fontconfig", "output": [ "privateFeature", "feature" ] }, "gbm": { @@ -1020,10 +1046,19 @@ "condition": "tests.linuxfb && features.regularexpression", "output": [ "privateFeature" ] }, + "vsp2": { + "label": "VSP2", + "condition": "libs.v4l2", + "autoDetect": false, + "output": [ "privateFeature" ] + }, "vnc": { "label": "VNC", "section": "Platform plugins", - "condition": "config.unix && !config.android && !config.darwin && features.regularexpression", + "condition": [ + "config.unix && !config.android && !config.darwin", + "features.regularexpression && features.network" + ], "output": [ "privateFeature" ] }, "mirclient": { @@ -1137,6 +1172,11 @@ "condition": "features.eglfs && features.gbm && features.kms", "output": [ "privateFeature" ] }, + "eglfs_vsp2": { + "label": "EGLFS VSP2", + "condition": "features.eglfs && features.gbm && features.kms && features.vsp2", + "output": [ "privateFeature" ] + }, "eglfs_mali": { "label": "EGLFS Mali", "condition": "features.eglfs && (tests.egl-mali || tests.egl-mali-2)", @@ -1227,6 +1267,12 @@ "condition": "libs.tslib", "output": [ "privateFeature" ] }, + "tuiotouch": { + "label": "TuioTouch", + "purpose": "Provides the TuioTouch input plugin.", + "condition": "features.network && features.udpsocket", + "output": [ "privateFeature" ] + }, "xcb": { "label": "XCB", "section": "Platform plugins", @@ -1317,6 +1363,7 @@ }, "xlib": { "label": "XLib", + "autoDetect": "!config.darwin || features.xcb", "condition": "tests.xlib", "output": [ "privateFeature" ] }, @@ -1540,6 +1587,13 @@ XKB configuration data. This is required for keyboard input support." }, { "type": "note", + "condition": "features.xcb && config.darwin", + "message": "XCB support on macOS is minimal and untested. Some features will +not work properly or at all (e.g. OpenGL, desktop services or accessibility), +or may depend on your system and XQuartz setup." + }, + { + "type": "note", "condition": "features.accessibility && features.xcb && !features.accessibility-atspi-bridge", "message": "Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing." }, @@ -1648,7 +1702,7 @@ QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your pla "section": "EGLFS details", "condition": "features.eglfs", "entries": [ - "eglfs_openwfd", "eglfs_viv", "eglfs_viv_wl", "eglfs_rcar", "eglfs_egldevice", "eglfs_gbm", "eglfs_mali", "eglfs_brcm", "egl_x11" + "eglfs_openwfd", "eglfs_viv", "eglfs_viv_wl", "eglfs_rcar", "eglfs_egldevice", "eglfs_gbm", "eglfs_vsp2", "eglfs_mali", "eglfs_brcm", "egl_x11" ] }, "linuxfb", "vnc", "mirclient", |