Skip to content

Commit b00467f

Browse files
authored
[spine-runtimes] Update to 4.2.20260227 (#50251)
1 parent ddf4743 commit b00467f

11 files changed

Lines changed: 113 additions & 138 deletions

File tree

ports/spine-c/fix-cmake.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/spine-c/CMakeLists.txt b/spine-c/CMakeLists.txt
2+
index b7e4d2aa2..b2c3b280a 100644
3+
--- a/spine-c/CMakeLists.txt
4+
+++ b/spine-c/CMakeLists.txt
5+
@@ -10,5 +10,5 @@ file(GLOB SOURCES "spine-c/src/**/*.c")
6+
add_library(spine-c STATIC ${SOURCES} ${INCLUDES})
7+
target_include_directories(spine-c PUBLIC spine-c/include)
8+
9+
-install(TARGETS spine-c DESTINATION dist/lib)
10+
-install(FILES ${INCLUDES} DESTINATION dist/include)
11+
\ No newline at end of file
12+
+install(TARGETS spine-c DESTINATION lib)
13+
+install(FILES ${INCLUDES} DESTINATION include/spine-c/spine)
14+
\ No newline at end of file

ports/spine-c/portfile.cmake

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2+
3+
vcpkg_from_github(
4+
OUT_SOURCE_PATH SOURCE_PATH
5+
REPO EsotericSoftware/spine-runtimes
6+
REF 43e530611d30c044a8bc16eba0486140e4dc2ce0
7+
SHA512 16a1ba493852c2512997bde4ab56318f435f65f23238544cf0c1000f53a2950cfd480255db6b3dc5c1d0b6a21a4be174be9401465d320b54c6b88c06e57e38d8
8+
HEAD_REF 4.2
9+
PATCHES
10+
fix-cmake.patch
11+
)
12+
13+
vcpkg_cmake_configure(
14+
SOURCE_PATH "${SOURCE_PATH}/spine-c"
15+
OPTIONS
16+
-DSPINE_SET_COMPILER_FLAGS=OFF
17+
)
18+
vcpkg_cmake_install()
19+
20+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
21+
22+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"name": "spine-runtimes",
3-
"version": "4.1.0",
4-
"port-version": 1,
2+
"name": "spine-c",
3+
"version": "4.2.20260227",
54
"description": "2D skeletal animation runtimes for Spine",
65
"homepage": "https://github.com/EsotericSoftware/spine-runtimes",
76
"license": null,

ports/spine-cpp/fix-cmake.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/spine-cpp/CMakeLists.txt b/spine-cpp/CMakeLists.txt
2+
index 9829b42cd..372d58d15 100644
3+
--- a/spine-cpp/CMakeLists.txt
4+
+++ b/spine-cpp/CMakeLists.txt
5+
@@ -14,8 +14,8 @@ add_library(spine-cpp-lite STATIC ${SOURCES} ${INCLUDES} spine-cpp-lite/spine-cp
6+
target_include_directories(spine-cpp-lite PUBLIC spine-cpp/include spine-cpp-lite)
7+
8+
# Install target
9+
-install(TARGETS spine-cpp EXPORT spine-cpp_TARGETS DESTINATION dist/lib)
10+
-install(FILES ${INCLUDES} DESTINATION dist/include)
11+
+install(TARGETS spine-cpp EXPORT spine-cpp_TARGETS DESTINATION lib)
12+
+install(FILES ${INCLUDES} DESTINATION include/spine-cpp/spine)
13+
14+
# Export target
15+
export(

ports/spine-cpp/portfile.cmake

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2+
3+
vcpkg_from_github(
4+
OUT_SOURCE_PATH SOURCE_PATH
5+
REPO EsotericSoftware/spine-runtimes
6+
REF 43e530611d30c044a8bc16eba0486140e4dc2ce0
7+
SHA512 16a1ba493852c2512997bde4ab56318f435f65f23238544cf0c1000f53a2950cfd480255db6b3dc5c1d0b6a21a4be174be9401465d320b54c6b88c06e57e38d8
8+
HEAD_REF 4.2
9+
PATCHES
10+
fix-cmake.patch
11+
)
12+
13+
vcpkg_cmake_configure(
14+
SOURCE_PATH "${SOURCE_PATH}/spine-cpp"
15+
OPTIONS
16+
-DSPINE_SET_COMPILER_FLAGS=OFF
17+
)
18+
vcpkg_cmake_install()
19+
20+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
21+
22+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

ports/spine-cpp/vcpkg.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "spine-cpp",
3+
"version": "4.2.20260227",
4+
"description": "2D skeletal animation runtimes for Spine",
5+
"homepage": "https://github.com/EsotericSoftware/spine-runtimes",
6+
"license": null,
7+
"dependencies": [
8+
{
9+
"name": "vcpkg-cmake",
10+
"host": true
11+
}
12+
]
13+
}

ports/spine-runtimes/fix-cmake.patch

Lines changed: 0 additions & 107 deletions
This file was deleted.

ports/spine-runtimes/portfile.cmake

Lines changed: 0 additions & 25 deletions
This file was deleted.

versions/baseline.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9392,9 +9392,13 @@
93929392
"baseline": "2025-01-23",
93939393
"port-version": 0
93949394
},
9395-
"spine-runtimes": {
9396-
"baseline": "4.1.0",
9397-
"port-version": 1
9395+
"spine-c": {
9396+
"baseline": "4.2.20260227",
9397+
"port-version": 0
9398+
},
9399+
"spine-cpp": {
9400+
"baseline": "4.2.20260227",
9401+
"port-version": 0
93989402
},
93999403
"spirit-po": {
94009404
"baseline": "1.1.2",

versions/s-/spine-c.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "4e062ce604133bd151fd38d05edd8a065ad86ef8",
5+
"version": "4.2.20260227",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)