[raygui] Add new port (#29364)

* [raygui] Add new port

* Update ports/raygui/portfile.cmake

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>

* [raygui] Update version

---------

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
This commit is contained in:
Andrew Kornilov 2023-02-03 07:25:14 +03:00 committed by GitHub
parent bb9766f573
commit 9d92f36654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#header-only library
set(VCPKG_BUILD_TYPE release)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO raysan5/raygui
REF "${VERSION}"
SHA512 09643f3661879a9130122351d0f9310f1ecde5dd1242d15f7b9c61e80dc9acfc3e6b85682ae7079c8579fd39340da8c5dfdea62aabc6cc72a966dea675ddfd38
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/src/raygui.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

7
ports/raygui/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "raygui",
"version": "3.2",
"description": "A simple and easy-to-use immediate-mode gui library",
"homepage": "https://github.com/raysan5/raylib",
"license": "Zlib"
}

View File

@ -6660,6 +6660,10 @@
"baseline": "1.9",
"port-version": 2
},
"raygui": {
"baseline": "3.2",
"port-version": 0
},
"raylib": {
"baseline": "4.2.0",
"port-version": 1

9
versions/r-/raygui.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "96eade6012fdd28a62fd21748edfd06d63674317",
"version": "3.2",
"port-version": 0
}
]
}