Skip to content

Commit

Permalink
[gtk] fix cross build (#25718)
Browse files Browse the repository at this point in the history
* [gtk] Fix package failure for cross-compiling.

* update port version database

Co-authored-by: Jamlys Lee <jamlys_lee@163.com>
  • Loading branch information
Jamlys and Jamlys Lee committed Jul 12, 2022
1 parent 553c7df commit c50743e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ports/gtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ vcpkg_configure_meson(
glib-compile-resources='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-resources${VCPKG_HOST_EXECUTABLE_SUFFIX}'
gdbus-codegen='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/gdbus-codegen'
glib-compile-schemas='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-schemas${VCPKG_HOST_EXECUTABLE_SUFFIX}'
sassc='${CURRENT_INSTALLED_DIR}/tools/sassc/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
sassc='${CURRENT_HOST_INSTALLED_DIR}/tools/sassc/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
ADDITIONAL_CROSS_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
glib-compile-resources='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-resources${VCPKG_HOST_EXECUTABLE_SUFFIX}'
gdbus-codegen='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/gdbus-codegen'
glib-compile-schemas='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-compile-schemas${VCPKG_HOST_EXECUTABLE_SUFFIX}'
sassc='${CURRENT_INSTALLED_DIR}/tools/sassc/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
sassc='${CURRENT_HOST_INSTALLED_DIR}/tools/sassc/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
)

vcpkg_install_meson()
Expand Down
7 changes: 5 additions & 2 deletions ports/gtk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gtk",
"version": "4.6.2",
"port-version": 1,
"port-version": 2,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": "LGPL-2.0-only",
Expand Down Expand Up @@ -40,7 +40,10 @@
"graphene",
"libepoxy",
"pango",
"sassc",
{
"name": "sassc",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2718,7 +2718,7 @@
},
"gtk": {
"baseline": "4.6.2",
"port-version": 1
"port-version": 2
},
"gtkmm": {
"baseline": "4.6.0",
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": "4c2e407dc3ecdc258c2f9c0243467c2e87c3529f",
"version": "4.6.2",
"port-version": 2
},
{
"git-tree": "d2d59edf9986797558b8abafbff9c913bf4f02ca",
"version": "4.6.2",
Expand Down

0 comments on commit c50743e

Please sign in to comment.