Skip to content

Commit 47dcaa2

Browse files
authored
[casclib] Update to 2024-06-05 (#39139)
1 parent 960d1bd commit 47dcaa2

File tree

5 files changed

+20
-29
lines changed

5 files changed

+20
-29
lines changed

Diff for: ports/casclib/fix-shared-windows-builds.patch

-20
This file was deleted.

Diff for: ports/casclib/portfile.cmake

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO ladislav-zezula/CascLib
4-
REF 07bfe85fd0804cba49f072819af716274d82b855
5-
SHA512 b333fe6318aa95629aa67613287ac71b1931c6443985e7e52412066d769f7996bffca1c19e890851eba976f572c7a11f14a8ff5fb95433577e1c9af8de0f34af
4+
REF 1623348517352ff0d6364d47533c0d7f118b46e1
5+
SHA512 1b6dd77a399ff21a278d1ac68efa1417f2a9472b241401d3f6cb8f01ea702b32b4296012bb71ae62a932f9b0fa2b6d3035befe6f3ba0d567e85ac747c503b07c
66
HEAD_REF master
7-
PATCHES
8-
fix-shared-windows-builds.patch
97
)
108

119
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" CASC_BUILD_SHARED_LIB)
1210
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" CASC_BUILD_STATIC_LIB)
1311

12+
set(CASC_UNICODE OFF)
13+
14+
if(VCPKG_TARGET_IS_WINDOWS)
15+
message(STATUS "This version of CascLib is built in ASCII mode. To switch to UNICODE version, create an overlay port of this with CASC_UNICODE set to ON.")
16+
message(STATUS "This recipe is at ${CMAKE_CURRENT_LIST_DIR}")
17+
message(STATUS "See the overlay ports documentation at https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md")
18+
endif()
19+
1420
vcpkg_cmake_configure(
1521
SOURCE_PATH "${SOURCE_PATH}"
1622
OPTIONS
23+
-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON
1724
-DCASC_BUILD_SHARED_LIB=${CASC_BUILD_SHARED_LIB}
1825
-DCASC_BUILD_STATIC_LIB=${CASC_BUILD_STATIC_LIB}
19-
-DCASC_UNICODE=ON
26+
-DCASC_UNICODE=${CASC_UNICODE}
2027
)
2128

2229
vcpkg_cmake_install()

Diff for: ports/casclib/vcpkg.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "casclib",
3-
"version-date": "2021-11-16",
4-
"port-version": 1,
3+
"version-date": "2024-06-05",
54
"description": "An open-source implementation of library for reading CASC storage from Blizzard games since 2014",
65
"homepage": "http://www.zezula.net/en/casc/casclib.html",
76
"dependencies": [

Diff for: versions/baseline.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1497,8 +1497,8 @@
14971497
"port-version": 5
14981498
},
14991499
"casclib": {
1500-
"baseline": "2021-11-16",
1501-
"port-version": 1
1500+
"baseline": "2024-06-05",
1501+
"port-version": 0
15021502
},
15031503
"catch": {
15041504
"baseline": "alias",

Diff for: versions/c-/casclib.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "a60d5ee653ba75af85f76d88f2540c61bfc7741e",
5+
"version-date": "2024-06-05",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "3bb7640c26eb7b742883277db2325a69c6c790aa",
510
"version-date": "2021-11-16",

0 commit comments

Comments
 (0)