mirror of https://github.com/microsoft/vcpkg.git
[gtk3] fix when building with wayland support (#51391)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
67b207f199
commit
73248d88e0
|
|
@ -38,8 +38,13 @@ else()
|
|||
list(APPEND OPTIONS_RELEASE -Dintrospection=false)
|
||||
endif()
|
||||
|
||||
set(BINARIES "")
|
||||
|
||||
if("wayland" IN_LIST FEATURES)
|
||||
list(APPEND OPTIONS -Dwayland_backend=true)
|
||||
if(X_VCPKG_FORCE_VCPKG_WAYLAND_LIBRARIES)
|
||||
list(APPEND BINARIES "wayland-scanner='${CURRENT_HOST_INSTALLED_DIR}/tools/wayland/wayland-scanner${VCPKG_HOST_EXECUTABLE_SUFFIX}'")
|
||||
endif()
|
||||
else()
|
||||
list(APPEND OPTIONS -Dwayland_backend=false)
|
||||
endif()
|
||||
|
|
@ -70,6 +75,7 @@ vcpkg_configure_meson(
|
|||
"glib-compile-schemas='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-schemas${VCPKG_HOST_EXECUTABLE_SUFFIX}'"
|
||||
"g-ir-compiler='${GIR_COMPILER}'"
|
||||
"g-ir-scanner='${GIR_SCANNER}'"
|
||||
${BINARIES}
|
||||
)
|
||||
|
||||
# Reduce command line lengths, in particular for static windows builds.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "gtk3",
|
||||
"version": "3.24.52",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Portable library for creating graphical user interfaces.",
|
||||
"homepage": "https://www.gtk.org/",
|
||||
"license": null,
|
||||
|
|
@ -94,6 +94,7 @@
|
|||
"description": "Build with Wayland support",
|
||||
"supports": "linux | freebsd | openbsd",
|
||||
"dependencies": [
|
||||
"libxkbcommon",
|
||||
"wayland",
|
||||
"wayland-protocols"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -3606,7 +3606,7 @@
|
|||
},
|
||||
"gtk3": {
|
||||
"baseline": "3.24.52",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"gtkmm": {
|
||||
"baseline": "4.22.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fdaacc5cc7324e2e33d4d5453cae2bdf4358b326",
|
||||
"version": "3.24.52",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "afdd4189312de678e0fe7da05ffa6277847205a2",
|
||||
"version": "3.24.52",
|
||||
|
|
|
|||
Loading…
Reference in New Issue