[sdl1] no absolute paths (#22718)

This commit is contained in:
autoantwort 2022-01-25 00:08:18 +01:00 committed by GitHub
parent 1094b41fd0
commit 8ce7e2a2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View File

@ -16,7 +16,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/SDL1_2017.sln DESTINATION ${SOURCE_PATH}/VisualC/ )
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(LIB_TYPE StaticLibrary)
set(LIB_TYPE StaticLibrary)
else()
set(LIB_TYPE DynamicLibrary)
endif()
@ -80,4 +80,11 @@ else()
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/sdl1/bin/sdl-config")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/sdl1/bin/sdl-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
endif()
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/sdl1/debug/bin/sdl-config")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/sdl1/debug/bin/sdl-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
endif()
endif()

View File

@ -1,7 +1,7 @@
{
"name": "sdl1",
"version-string": "1.2.15",
"port-version": 14,
"version": "1.2.15",
"port-version": 15,
"description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.",
"homepage": "https://www.libsdl.org"
}

View File

@ -6250,7 +6250,7 @@
},
"sdl1": {
"baseline": "1.2.15",
"port-version": 14
"port-version": 15
},
"sdl1-net": {
"baseline": "1.2.8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4a3aba1bba75ee6d613144dbd6b2c64cbe6a090c",
"version": "1.2.15",
"port-version": 15
},
{
"git-tree": "dd8e1026af78ffd7bb4e9d6fa1455579367206e1",
"version-string": "1.2.15",