Skip to content

Commit

Permalink
[bgfx]: Update to 1.127.8725.469
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed May 19, 2024
1 parent 815d93b commit a076cb6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions ports/bgfx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_download_distfile(
ARCHIVE_FILE
URLS https://github.com/bkaradzic/bgfx.cmake/releases/download/v${VERSION}/bgfx.cmake.v${VERSION}.tar.gz
FILENAME bgfx.cmake.v${VERSION}.tar.gz
SHA512 369943ce0f8f2b5332d7334247d3a9ef0e28a6b1ff5ee250a01f83d1a0bd865687397da791e4c861d1c1b18ec4285f50153139f3c0e398611c7f3b672d1c751c
SHA512 8aea4f3e548f8a79e8899c9d47ec3ca78dae48f77ae039d6f5df325ba73a8ddb70c9b7c1f0cb4129ac488b445e8a8523f36a964e509133bb4a449e073ebf6112
)

vcpkg_extract_source_archive(
Expand Down Expand Up @@ -34,14 +34,17 @@ vcpkg_cmake_configure(
-DBGFX_BUILD_EXAMPLES=OFF
-DBGFX_OPENGLES_VERSION=30
-DBGFX_CMAKE_USER_SCRIPT=vcpkg-inject-packages.cmake
# #25529: Need to inject an extra path because VCPKG_HOST_TARGET is not determined automatically
# It's important to have `${CMAKE_CURRENT_LIST_DIR}` verbatim escaped in bgfxConfig.cmake
-DBGFX_ADDITIONAL_TOOL_PATHS="\"\\\$\$\{CMAKE_CURRENT_LIST_DIR}/../../../${HOST_TRIPLET}/tools/bgfx \\\$\$\{CMAKE_CURRENT_LIST_DIR}/../../../bgfx_${HOST_TRIPLET}/tools/bgfx\""
${FEATURE_OPTIONS}
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
vcpkg_copy_pdbs()

if (BGFX_BUILD_TOOLS)
if ("tools" IN_LIST FEATURES)
vcpkg_copy_tools(
TOOL_NAMES bin2c shaderc geometryc geometryv texturec texturev AUTO_CLEAN
)
Expand Down
2 changes: 1 addition & 1 deletion ports/bgfx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bgfx",
"version": "1.122.8595-458",
"version": "1.127.8725-469",
"maintainers": "Sandy Carter <bwrsandman@users.noreply.github.com>",
"description": "Cross-platform, graphics API agnostic, Bring Your Own Engine/Framework style rendering library.",
"homepage": "https://bkaradzic.github.io/bgfx/overview.html",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/bgfx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "066347d90e7afda6d96e409fe696d77d14e1c01f",
"version": "1.127.8725-469",
"port-version": 0
},
{
"git-tree": "c5af63ea2a285a9577943683a6e1347d17487402",
"version": "1.122.8595-458",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
"port-version": 0
},
"bgfx": {
"baseline": "1.122.8595-458",
"baseline": "1.127.8725-469",
"port-version": 0
},
"bigint": {
Expand Down

0 comments on commit a076cb6

Please sign in to comment.