From 137197a8f85e6c6cf1843ef024af7d9c28bb0bde Mon Sep 17 00:00:00 2001 From: Chris Djali Date: Fri, 1 Nov 2024 07:14:51 +0000 Subject: [PATCH] [Mygui] Add features obsolete, plugins (#41889) Co-authored-by: elsid --- ports/mygui/portfile.cmake | 5 ++++- ports/mygui/vcpkg.json | 8 +++++++- versions/baseline.json | 2 +- versions/m-/mygui.json | 5 +++++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ports/mygui/portfile.cmake b/ports/mygui/portfile.cmake index b438572e43..efb7d5b39c 100644 --- a/ports/mygui/portfile.cmake +++ b/ports/mygui/portfile.cmake @@ -24,7 +24,11 @@ endif() vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS FEATURES + plugins MYGUI_BUILD_PLUGINS tools MYGUI_BUILD_TOOLS + INVERTED_FEATURES + obsolete MYGUI_DONT_USE_OBSOLETE + plugins MYGUI_DISABLE_PLUGINS ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" MYGUI_STATIC) @@ -34,7 +38,6 @@ vcpkg_cmake_configure( OPTIONS -DMYGUI_STATIC=${MYGUI_STATIC} -DMYGUI_BUILD_DEMOS=FALSE - -DMYGUI_BUILD_PLUGINS=TRUE -DMYGUI_BUILD_UNITTESTS=FALSE -DMYGUI_BUILD_TEST_APP=FALSE -DMYGUI_BUILD_WRAPPER=FALSE diff --git a/ports/mygui/vcpkg.json b/ports/mygui/vcpkg.json index 7a942e89cf..c62677c02d 100644 --- a/ports/mygui/vcpkg.json +++ b/ports/mygui/vcpkg.json @@ -1,7 +1,7 @@ { "name": "mygui", "version": "3.4.3", - "port-version": 2, + "port-version": 3, "description": "Fast, flexible and simple GUI", "homepage": "http://mygui.info", "license": "MIT", @@ -19,12 +19,18 @@ } ], "features": { + "obsolete": { + "description": "Keep obsolete functions." + }, "opengl": { "description": "Use OpenGL render system.", "dependencies": [ "opengl" ] }, + "plugins": { + "description": "Build MyGUI plugins." + }, "tools": { "description": "Install MyGUI tools." } diff --git a/versions/baseline.json b/versions/baseline.json index 614d063d70..4653abbcfb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6178,7 +6178,7 @@ }, "mygui": { "baseline": "3.4.3", - "port-version": 2 + "port-version": 3 }, "mysql-connector-cpp": { "baseline": "8.0.32", diff --git a/versions/m-/mygui.json b/versions/m-/mygui.json index fa7bd291f6..efa4cdfd96 100644 --- a/versions/m-/mygui.json +++ b/versions/m-/mygui.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d6dd68e15957cce25c9ef64b626d8db2ddc838f2", + "version": "3.4.3", + "port-version": 3 + }, { "git-tree": "7efdf991088c6e26ca97c11bb8ef00c94d690a9b", "version": "3.4.3",