[stb] Update to 2021-09-10 (#24718)

* [stb] Update to 2021-09-10

* Update stb's dependees

* Add license fields to sfml and libtcod

* Fix broken patch for libtcod

* Use `version-date` instead of `version`

Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
This commit is contained in:
friendlyanon 2022-05-16 21:41:17 +02:00 committed by GitHub
parent b7e46dda25
commit 8652ccf0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 49 additions and 18 deletions

View File

@ -4,6 +4,8 @@ vcpkg_from_github(
REF 1.20.1
SHA512 bef3751dd1b190769163ff7c188479fe100d425fa98d3f0f97a3a81045fe0f0c24690b64bcde29f7af1eb7fd34915371223146598b1f0cab173e69a78c1dfc76
HEAD_REF develop
PATCHES
stb-headers.patch
)
vcpkg_cmake_configure(

View File

@ -0,0 +1,11 @@
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -91,7 +91,7 @@
message("Will be vendored: stb")
target_include_directories(${PROJECT_NAME} PRIVATE "vendor/")
elseif(LIBTCOD_STB STREQUAL "vcpkg")
- find_path(STB_INCLUDE_DIRS "stb.h")
+ find_path(STB_INCLUDE_DIRS stb_ds.h)
target_include_directories(${PROJECT_NAME} PRIVATE ${STB_INCLUDE_DIRS})
else()
message(FATAL_ERROR "Unknown option for LIBTCOD_STB: '${LIBTCOD_STB}'")

View File

@ -1,10 +1,12 @@
{
"name": "libtcod",
"version": "1.20.1",
"port-version": 1,
"maintainers": "Kyle Benesch <4b796c65+github@gmail.com>",
"description": "Common algorithms and tools for roguelikes.",
"homepage": "https://github.com/libtcod/libtcod",
"documentation": "https://libtcod.readthedocs.io/en/latest/",
"license": "BSD-3-Clause",
"dependencies": [
"glad",
"lodepng-c",

View File

@ -1,5 +1,3 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 993f15d..53f24ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -270,18 +270,24 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "^Linux")
@ -11,7 +9,7 @@ index 993f15d..53f24ae 100644
+ find_package(OpenCL REQUIRED)
+endif()
+find_package(RapidJSON CONFIG REQUIRED)
+find_path(STB_INCLUDE_DIRS "stb.h")
+find_path(STB_INCLUDE_DIRS stb_image.h)
+find_package(Flatbuffers CONFIG REQUIRED)
include_directories(${CMAKE_CURRENT_LIST_DIR}/include/
${CMAKE_CURRENT_LIST_DIR}/source/

View File

@ -1,7 +1,7 @@
{
"name": "mnn",
"version": "1.1.0",
"port-version": 2,
"port-version": 3,
"description": "MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba",
"homepage": "https://www.mnn.zone/",
"license": "Apache-2.0",

View File

@ -1,5 +1,3 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e821a49bc..c68264ef2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,6 +188,9 @@ if(SFML_USE_SYSTEM_DEPS)
@ -7,8 +5,8 @@ index e821a49bc..c68264ef2 100644
list(REMOVE_DUPLICATES CMAKE_IGNORE_PATH)
+
+ find_path(STB_INCLUDE_DIR stb.h)
+ include_directories(${STB_INCLUDE_DIR})
+ find_path(STB_INCLUDE_DIR stb_image.h)
+ include_directories("${STB_INCLUDE_DIR}")
endif()
# Visual C++: remove warnings regarding SL security and algorithms on pointers

View File

@ -1,9 +1,10 @@
{
"name": "sfml",
"version": "2.5.1",
"port-version": 12,
"port-version": 13,
"description": "Simple and fast multimedia library",
"homepage": "https://github.com/sfml/sfml",
"license": "Zlib",
"dependencies": [
"freetype",
"libflac",

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nothings/stb
REF b42009b3b9d4ca35bc703f5310eedc74f584be58 # accessed on 2020-09-14
SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d
REF af1a5bc352164740c1cc1354942b1c6b72eacb8a # committed on 2021-09-10
SHA512 5937baa1a9b7342ddc0e41c37ba0ea6b0c878f670a81b55bb124681e6b5e381fdc1d9557c96637e3ba082d6d968ed67a78b47f16aa5555c1c43394d1f9e57f2d
HEAD_REF master
)

View File

@ -1,7 +1,6 @@
{
"name": "stb",
"version": "2020-09-14",
"port-version": 2,
"version-date": "2021-09-10",
"description": "public domain header-only libraries",
"homepage": "https://github.com/nothings/stb",
"license": "MIT OR CC-PDDC"

View File

@ -4074,7 +4074,7 @@
},
"libtcod": {
"baseline": "1.20.1",
"port-version": 0
"port-version": 1
},
"libtess2": {
"baseline": "2021-12-27",
@ -4582,7 +4582,7 @@
},
"mnn": {
"baseline": "1.1.0",
"port-version": 2
"port-version": 3
},
"modp-base64": {
"baseline": "2020-09-26",
@ -6470,7 +6470,7 @@
},
"sfml": {
"baseline": "2.5.1",
"port-version": 12
"port-version": 13
},
"sfsexp": {
"baseline": "1.3.1",
@ -6793,8 +6793,8 @@
"port-version": 1
},
"stb": {
"baseline": "2020-09-14",
"port-version": 2
"baseline": "2021-09-10",
"port-version": 0
},
"stftpitchshift": {
"baseline": "1.4.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "34c13b63430589533e25be1fdec7afc8fbe68f6c",
"version": "1.20.1",
"port-version": 1
},
{
"git-tree": "ec66d469b71cab685daede349e5193d15ab866c7",
"version": "1.20.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7f76a851632ab292ad4fbabcf5b6e94c0c6d957b",
"version": "1.1.0",
"port-version": 3
},
{
"git-tree": "e77125ae365a54bdcbbdb5bb2d77d32834a4487b",
"version": "1.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ca14334e4fdf097424958412912356dc2c186b9d",
"version": "2.5.1",
"port-version": 13
},
{
"git-tree": "bc9b03c639a91f2deff1fb78ab943cce64876ffe",
"version": "2.5.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2da639ecba7048e0f722dc01fae6cef32d671991",
"version-date": "2021-09-10",
"port-version": 0
},
{
"git-tree": "41ce7d73e93526a943f08e5e4601c6b2325ba527",
"version": "2020-09-14",