Skip to content

Commit

Permalink
[CI][GTK] Fix vulkan_enabled bug in GTK (microsoft#39788)
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Matos <javiermatos@Javiers-Laptop.local>
  • Loading branch information
2 people authored and cenit committed Jul 12, 2024
1 parent f1bd64b commit b26dbc1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
12 changes: 12 additions & 0 deletions ports/gtk/fix_vulkan_enabled.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/meson.build b/meson.build
index 5ade7c2..9f48161 100644
--- a/meson.build
+++ b/meson.build
@@ -123,7 +123,6 @@ os_unix = not os_win32

if os_darwin
wayland_enabled = false
- vulkan_enabled = false
else
macos_enabled = false
endif
1 change: 1 addition & 0 deletions ports/gtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ vcpkg_from_gitlab(
HEAD_REF master # branch name
PATCHES
0001-build.patch
fix_vulkan_enabled.patch
)

vcpkg_find_acquire_program(PKGCONFIG)
Expand Down
1 change: 1 addition & 0 deletions ports/gtk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "gtk",
"version": "4.14.0",
"port-version": 1,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": "LGPL-2.0-only",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3254,7 +3254,7 @@
},
"gtk": {
"baseline": "4.14.0",
"port-version": 0
"port-version": 1
},
"gtk3": {
"baseline": "3.24.38",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gtk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4a2c53b5715720e68051e3d26bfa56a83b6c8de0",
"version": "4.14.0",
"port-version": 1
},
{
"git-tree": "d5ba4a94cd8433f563ba1519395f202d29bd8790",
"version": "4.14.0",
Expand Down

0 comments on commit b26dbc1

Please sign in to comment.