[sdl1] msbuild (#33152)

* sdl1 msbuild

* v db
This commit is contained in:
Alexander Neumann 2023-08-16 01:53:15 +02:00 committed by GitHub
parent 1c502ac9bd
commit e22937a2f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 12 deletions

View File

@ -38,16 +38,10 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
vcpkg_install_msbuild( vcpkg_install_msbuild(
SOURCE_PATH "${SOURCE_PATH}" SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH VisualC/SDL1_2017.sln PROJECT_SUBPATH VisualC/SDL1_2017.sln
INCLUDES_SUBPATH include
LICENSE_SUBPATH COPYING
ALLOW_ROOT_INCLUDES
) )
#Take all the fils into include/SDL to sovle conflict with SDL2 port #Take all the fils into include/SDL to sovle conflict with SDL2 port
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/doxyfile") file(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/SDL")
file(RENAME "${CURRENT_PACKAGES_DIR}/include" "${CURRENT_PACKAGES_DIR}/include.tmp")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include")
file(RENAME "${CURRENT_PACKAGES_DIR}/include.tmp" "${CURRENT_PACKAGES_DIR}/include/SDL")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/manual-link") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/manual-link")
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/SDLmain.lib" "${CURRENT_PACKAGES_DIR}/lib/manual-link/SDLmain.lib") file(RENAME "${CURRENT_PACKAGES_DIR}/lib/SDLmain.lib" "${CURRENT_PACKAGES_DIR}/lib/manual-link/SDLmain.lib")
@ -82,6 +76,5 @@ else()
"${CURRENT_PACKAGES_DIR}/debug/share" "${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/man3" "${CURRENT_PACKAGES_DIR}/share/${PORT}/man3"
) )
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif() endif()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

View File

@ -1,9 +1,16 @@
{ {
"name": "sdl1", "name": "sdl1",
"version": "1.2.15", "version": "1.2.15",
"port-version": 18, "port-version": 19,
"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.", "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", "homepage": "https://www.libsdl.org",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"supports": "!osx & !uwp" "supports": "!osx & !uwp",
"dependencies": [
{
"name": "vcpkg-msbuild",
"host": true,
"platform": "windows"
}
]
} }

View File

@ -7442,7 +7442,7 @@
}, },
"sdl1": { "sdl1": {
"baseline": "1.2.15", "baseline": "1.2.15",
"port-version": 18 "port-version": 19
}, },
"sdl1-mixer": { "sdl1-mixer": {
"baseline": "2023-03-25", "baseline": "2023-03-25",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "201b5219b28e0c1299f7ebda041cbc85115983ba",
"version": "1.2.15",
"port-version": 19
},
{ {
"git-tree": "5463be881042b7d98bf14377bb790a2a83c3a39e", "git-tree": "5463be881042b7d98bf14377bb790a2a83c3a39e",
"version": "1.2.15", "version": "1.2.15",