Skip to content

Commit

Permalink
[raygui] Add new port (#29364)
Browse files Browse the repository at this point in the history
* [raygui] Add new port

* Update ports/raygui/portfile.cmake

Co-authored-by: Mengna Li <[email protected]>

* [raygui] Update version

---------

Co-authored-by: Mengna Li <[email protected]>
  • Loading branch information
ex-purple and Adela0814 authored Feb 3, 2023
1 parent bb9766f commit 9d92f36
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ports/raygui/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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 changes: 7 additions & 0 deletions ports/raygui/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions versions/r-/raygui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "96eade6012fdd28a62fd21748edfd06d63674317",
"version": "3.2",
"port-version": 0
}
]
}

0 comments on commit 9d92f36

Please sign in to comment.