Skip to content

Commit

Permalink
[raylib] Update to 4.0.0 (#21209)
Browse files Browse the repository at this point in the history
* [raylib] Update to 4.0.0

* [raylib] Update version files
  • Loading branch information
SuperWig committed Nov 9, 2021
1 parent 80ecdea commit 37240bf
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 11 deletions.
14 changes: 7 additions & 7 deletions ports/raylib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO raysan5/raylib
REF b6c8d343dca2ef19c23c50975328a028124cf3cb # 3.7.0
SHA512 565854b00452ae4ae17129f6ced83d842b06ee51a2b254cf02c881c36f9133e5cd605c07585428a7ec4c4e556d8edea908f1c09cd2ef826c30be35c9e5c2d009
REF 4.0.0
SHA512 e9ffab14ab902e3327202e68ca139209ff24100dab62eb03fef50adf363f81e2705d81e709c58cf1514e68e6061c8963555bd2d00744daacc3eb693825fc3417
HEAD_REF master
)

Expand All @@ -36,7 +36,7 @@ else()
set(DEBUG_ENABLE_SANITIZERS ON)
endif()

vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
Expand All @@ -56,11 +56,11 @@ vcpkg_configure_cmake(
-DENABLE_MSAN=OFF
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_copy_pdbs()

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})

configure_file(
${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake
Expand All @@ -83,5 +83,5 @@ endif()

configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

vcpkg_fixup_pkgconfig()

vcpkg_fixup_pkgconfig()
13 changes: 11 additions & 2 deletions ports/raylib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
{
"name": "raylib",
"version-semver": "3.7.0",
"port-version": 2,
"version-semver": "4.0.0",
"description": "A simple and easy-to-use library to enjoy videogames programming",
"homepage": "https://github.com/raysan5/raylib",
"supports": "!(arm | uwp)",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"use-audio"
],
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5845,8 +5845,8 @@
"port-version": 1
},
"raylib": {
"baseline": "3.7.0",
"port-version": 2
"baseline": "4.0.0",
"port-version": 0
},
"rbdl": {
"baseline": "2.6.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/raylib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "394d0afab6e94ac36b289e350cdf2b8886560bb4",
"version-semver": "4.0.0",
"port-version": 0
},
{
"git-tree": "9820d99ae1c7e23e42ee1bb3372ecee0de42c2bc",
"version-semver": "3.7.0",
Expand Down

0 comments on commit 37240bf

Please sign in to comment.