mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:17:49 +08:00
parent
1c502ac9bd
commit
e22937a2f9
@ -38,16 +38,10 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
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
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/doxyfile")
|
||||
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(INSTALL "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/SDL")
|
||||
|
||||
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")
|
||||
@ -82,6 +76,5 @@ else()
|
||||
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/man3"
|
||||
)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
endif()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,9 +1,16 @@
|
||||
{
|
||||
"name": "sdl1",
|
||||
"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.",
|
||||
"homepage": "https://www.libsdl.org",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
"supports": "!osx & !uwp"
|
||||
"supports": "!osx & !uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-msbuild",
|
||||
"host": true,
|
||||
"platform": "windows"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -7442,7 +7442,7 @@
|
||||
},
|
||||
"sdl1": {
|
||||
"baseline": "1.2.15",
|
||||
"port-version": 18
|
||||
"port-version": 19
|
||||
},
|
||||
"sdl1-mixer": {
|
||||
"baseline": "2023-03-25",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "201b5219b28e0c1299f7ebda041cbc85115983ba",
|
||||
"version": "1.2.15",
|
||||
"port-version": 19
|
||||
},
|
||||
{
|
||||
"git-tree": "5463be881042b7d98bf14377bb790a2a83c3a39e",
|
||||
"version": "1.2.15",
|
||||
|
Loading…
Reference in New Issue
Block a user