[sdl2-mixer| sdl2-image| sdl2-ttf] fix pc file in debug pkgconfig (#37411)

This commit is contained in:
JonLiu1993 2024-03-15 18:40:20 -07:00 committed by GitHub
parent 995451296a
commit cf4ebef229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 33 additions and 4 deletions

View File

@ -40,6 +40,10 @@ endif()
vcpkg_fixup_pkgconfig()
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/SDL2_image.pc" "-lSDL2_image" "-lSDL2_imaged")
endif()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/debug/include"

View File

@ -1,6 +1,7 @@
{
"name": "sdl2-image",
"version": "2.8.2",
"port-version": 1,
"description": "SDL_image is an image file loading library. It loads images as SDL surfaces and textures, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV",
"homepage": "https://github.com/libsdl-org/SDL_image",
"license": "Zlib",

View File

@ -56,6 +56,10 @@ vcpkg_cmake_config_fixup(
)
vcpkg_fixup_pkgconfig()
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/SDL2_mixer.pc" "-lSDL2_mixer" "-lSDL2_mixerd")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,7 +1,7 @@
{
"name": "sdl2-mixer",
"version": "2.8.0",
"port-version": 1,
"port-version": 2,
"description": "Multi-channel audio mixer library for SDL.",
"homepage": "https://github.com/libsdl-org/SDL_mixer",
"license": "Zlib",

View File

@ -28,6 +28,10 @@ endif()
vcpkg_fixup_pkgconfig()
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/SDL2_ttf.pc" "-lSDL2_ttf" "-lSDL2_ttfd")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/licenses")

View File

@ -1,6 +1,7 @@
{
"name": "sdl2-ttf",
"version": "2.22.0",
"port-version": 1,
"description": "A library for rendering TrueType fonts with SDL",
"homepage": "https://www.libsdl.org/projects/SDL_ttf/",
"license": "Zlib",

View File

@ -7902,11 +7902,11 @@
},
"sdl2-image": {
"baseline": "2.8.2",
"port-version": 0
"port-version": 1
},
"sdl2-mixer": {
"baseline": "2.8.0",
"port-version": 1
"port-version": 2
},
"sdl2-mixer-ext": {
"baseline": "2.6.0",
@ -7918,7 +7918,7 @@
},
"sdl2-ttf": {
"baseline": "2.22.0",
"port-version": 0
"port-version": 1
},
"sdl2pp": {
"baseline": "0.16.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3635f81751369912771ffb2bcafe46edec201fa5",
"version": "2.8.2",
"port-version": 1
},
{
"git-tree": "849a6f697c249f583d942ce2ce08ba3e4a9c195c",
"version": "2.8.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6c3753de43f2caf437f28a171665f37abe890109",
"version": "2.8.0",
"port-version": 2
},
{
"git-tree": "b28cae64adf73bec946de9f037724763eb2ef1b2",
"version": "2.8.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f37d3fd61ea556591921d6faca01c9e309e4a091",
"version": "2.22.0",
"port-version": 1
},
{
"git-tree": "51a85aefcfb3e578904f1cbd72a9f49ff836b928",
"version": "2.22.0",