Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ports/tgui/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO texus/TGUI
REF "v${VERSION}"
SHA512 24aa59b5eb225987247384dfdfc8bdce1d755cc7daeda6fdff9046eea77a0f2e686d5b03d24cbbd20e7d6d90ae809eae90467a2b1d923de1e2ecf668e28bcff4
SHA512 54d46e3604ebe3f3f2ff845da9348152e780a2e67eddc9d6476f5b66b24a3930ced34ac097f4006c9475d7d963d87076dd4ee4cc47aad23b501f14663be5745e
HEAD_REF 1.x
PATCHES
devendor-stb.patch
Expand All @@ -31,6 +31,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
sdl2 TGUI_HAS_BACKEND_SDL_RENDERER
sfml TGUI_HAS_BACKEND_SFML_GRAPHICS
tool TGUI_BUILD_GUI_BUILDER
sdl3 TGUI_USE_SDL3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does vcpkg install tgui[sdl2, sdl3] work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, enabling both TGUI-HAS_SACKEND_SDL-RENDER and TGUI-USE_SLD3 can turn on sdl3. If only TGUI-HAS_SACKEND_SDL-RENDER is enabled, sdl2 will be turned on.

raylib TGUI_HAS_BACKEND_RAYLIB
)

vcpkg_cmake_configure(
Expand Down
20 changes: 18 additions & 2 deletions ports/tgui/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "tgui",
"version": "1.7.0",
"port-version": 1,
"version": "1.8.0",
"description": "TGUI is an easy to use, cross-platform, C++ GUI for SFML.",
"homepage": "https://tgui.eu",
"license": "Zlib",
Expand All @@ -20,6 +19,12 @@
"sfml"
],
"features": {
"raylib": {
"description": "Build the RAYLIB backend",
"dependencies": [
"raylib"
]
},
"sdl2": {
"description": "Build the SDL backend",
"dependencies": [
Expand All @@ -31,6 +36,17 @@
"sdl2-ttf"
]
},
"sdl3": {
"description": "Build the SDL3 backend",
"dependencies": [
{
"name": "opengl",
"platform": "!android & !ios"
},
"sdl3",
"sdl3-ttf"
]
},
"sfml": {
"description": "Build the SFML backend",
"dependencies": [
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9081,8 +9081,8 @@
"port-version": 4
},
"tgui": {
"baseline": "1.7.0",
"port-version": 1
"baseline": "1.8.0",
"port-version": 0
},
"think-cell-range": {
"baseline": "2023.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/t-/tgui.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5cfc9daf9c0f559a1cf3e3e73dd3d0e67c12cd50",
"version": "1.8.0",
"port-version": 0
},
{
"git-tree": "4070d373b00a30726b8662f57c7bd18eb0dac500",
"version": "1.7.0",
Expand Down