gtk3: move Wayland support to default feature (#49620)

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2026-02-05 23:18:33 +00:00 committed by GitHub
parent efec1205c7
commit 6e3d736696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 11 deletions

View File

@ -38,7 +38,7 @@ else()
list(APPEND OPTIONS_RELEASE -Dintrospection=false)
endif()
if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_FREEBSD OR VCPKG_TARGET_IS_OPENBSD)
if("wayland" IN_LIST FEATURES)
list(APPEND OPTIONS -Dwayland_backend=true)
else()
list(APPEND OPTIONS -Dwayland_backend=false)

View File

@ -1,7 +1,7 @@
{
"name": "gtk3",
"version": "3.24.51",
"port-version": 1,
"port-version": 2,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": null,
@ -53,14 +53,6 @@
{
"name": "vcpkg-tool-meson",
"host": true
},
{
"name": "wayland",
"platform": "linux | freebsd | openbsd"
},
{
"name": "wayland-protocols",
"platform": "linux | freebsd | openbsd"
}
],
"features": {
@ -91,6 +83,14 @@
]
}
]
},
"wayland": {
"description": "Build with Wayland support",
"supports": "linux | freebsd | openbsd",
"dependencies": [
"wayland",
"wayland-protocols"
]
}
}
}

View File

@ -3570,7 +3570,7 @@
},
"gtk3": {
"baseline": "3.24.51",
"port-version": 1
"port-version": 2
},
"gtkmm": {
"baseline": "4.14.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8a829ae7e34f4a45e44afea6cb9fac96ea074274",
"version": "3.24.51",
"port-version": 2
},
{
"git-tree": "13503599f7ef571b58ef8a9897a2aabd972945be",
"version": "3.24.51",