mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[winpcap/SDL1-mixer] Change the extension of the template MSBuild solution (#31749)
* Modify the name of the template solutions * update version --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
parent
6172c4b5a0
commit
0335503716
@ -9,7 +9,7 @@ vcpkg_from_github(
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/SDL_mixer_2017.sln" DESTINATION "${SOURCE_PATH}/VisualC/")
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/SDL_mixer_2017.sln.in" "${SOURCE_PATH}/VisualC/SDL_mixer_2017.sln" COPYONLY)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
set(LIB_TYPE StaticLibrary)
|
||||
@ -73,7 +73,7 @@ else()
|
||||
vcpkg_install_make()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sdl1-mixer",
|
||||
"version-date": "2023-03-25",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "An audio mixer that supports various file formats for Simple Directmedia Layer.",
|
||||
"homepage": "https://www.libsdl.org",
|
||||
"license": "Zlib",
|
||||
|
@ -56,7 +56,7 @@ vcpkg_execute_required_process(
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(COPY "${CURRENT_PORT_DIR}/Packet.vcxproj" DESTINATION "${SOURCE_PATH}/packetNtx/Dll/Project/")
|
||||
configure_file("${CURRENT_PORT_DIR}/Packet.vcxproj.in" "${SOURCE_PATH}/packetNtx/Dll/Project/Packet.vcxproj" COPYONLY)
|
||||
endif()
|
||||
|
||||
vcpkg_build_msbuild(
|
||||
@ -84,7 +84,7 @@ vcpkg_execute_required_process(
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(COPY "${CURRENT_PORT_DIR}/wpcap.vcxproj" DESTINATION "${SOURCE_PATH}/wpcap/PRJ/")
|
||||
configure_file("${CURRENT_PORT_DIR}/wpcap.vcxproj.in" "${SOURCE_PATH}/wpcap/PRJ/wpcap.vcxproj" COPYONLY)
|
||||
endif()
|
||||
|
||||
vcpkg_build_msbuild(
|
||||
@ -168,5 +168,4 @@ endif()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/pcap-stdinc.h" "#define inline __inline" "#ifndef __cplusplus\n#define inline __inline\n#endif")
|
||||
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "The latest license is available in https://www.winpcap.org/misc/copyright.htm and in the header files.
|
||||
")
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "The latest license is available in https://www.winpcap.org/misc/copyright.htm and in the header files.")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "winpcap",
|
||||
"version": "4.1.3",
|
||||
"port-version": 9,
|
||||
"port-version": 10,
|
||||
"description": "WinPcap is the industry-standard tool for link-layer network access in Windows environments.",
|
||||
"homepage": "https://www.winpcap.org",
|
||||
"supports": "windows"
|
||||
|
@ -7322,7 +7322,7 @@
|
||||
},
|
||||
"sdl1-mixer": {
|
||||
"baseline": "2023-03-25",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"sdl1-net": {
|
||||
"baseline": "1.2.8",
|
||||
@ -8590,7 +8590,7 @@
|
||||
},
|
||||
"winpcap": {
|
||||
"baseline": "4.1.3",
|
||||
"port-version": 9
|
||||
"port-version": 10
|
||||
},
|
||||
"winpty": {
|
||||
"baseline": "0.4.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d9948f6d30a19d1be8d0de5406f7874c5991aec1",
|
||||
"version-date": "2023-03-25",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "2e208f00e12332057ca6986afe060ff5fc1ef7cc",
|
||||
"version-date": "2023-03-25",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "93484c8257a6ac5a90f5d540d143a6f4fe5968f2",
|
||||
"version": "4.1.3",
|
||||
"port-version": 10
|
||||
},
|
||||
{
|
||||
"git-tree": "5444737a0b6d0d6a1c5129ae7435f52ac5f6bcb4",
|
||||
"version": "4.1.3",
|
||||
|
Loading…
Reference in New Issue
Block a user