[libosip2] msbuild (#33172)

* libosip2 msbuild

* v db

* no uwp support

* v db
This commit is contained in:
Alexander Neumann 2023-08-15 21:03:21 +02:00 committed by GitHub
parent 576f3f1ad1
commit cc739ffb6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 13 deletions

View File

@ -29,18 +29,16 @@ if(VCPKG_TARGET_IS_WINDOWS)
)
endforeach()
vcpkg_install_msbuild(
vcpkg_msbuild_install(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH "platform/vsnet/osip2.vcxproj"
INCLUDES_SUBPATH include
USE_VCPKG_INTEGRATION
REMOVE_ROOT_INCLUDES
)
vcpkg_install_msbuild(
file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_msbuild_install(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH "platform/vsnet/osipparser2.vcxproj"
USE_VCPKG_INTEGRATION
)
elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
@ -50,8 +48,6 @@ elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
endif()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

View File

@ -1,11 +1,16 @@
{
"name": "libosip2",
"version": "5.2.0",
"port-version": 3,
"port-version": 4,
"description": "oSIP is an LGPL implementation of SIP. It's stable, portable, flexible and compliant! -may be more-! It is used mostly with eXosip2 stack (GPL) which provides simpler API for User-Agent implementation.",
"homepage": "https://www.gnu.org/software/osip/",
"supports": "!(windows & arm)",
"supports": "!(windows & arm) & !uwp",
"dependencies": [
"pthread"
"pthread",
{
"name": "vcpkg-msbuild",
"host": true,
"platform": "windows"
}
]
}

View File

@ -4442,7 +4442,7 @@
},
"libosip2": {
"baseline": "5.2.0",
"port-version": 3
"port-version": 4
},
"libosmium": {
"baseline": "2.19.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9b3b93c2039a5369ddd07c5dfb482644ce18c961",
"version": "5.2.0",
"port-version": 4
},
{
"git-tree": "564b7ffdb88b7d1b1823d7ec1166325337ae3ec5",
"version": "5.2.0",