mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 03:09:00 +08:00
[soapysdr] New Port (#39729)
This commit is contained in:
parent
47bf3d1ac1
commit
775f1cd092
28
ports/soapysdr/portfile.cmake
Normal file
28
ports/soapysdr/portfile.cmake
Normal file
@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO pothosware/SoapySDR
|
||||
REF soapy-sdr-${VERSION}
|
||||
SHA512 50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DENABLE_DOCS=OFF
|
||||
-DENABLE_APPS=OFF
|
||||
-DENABLE_PYTHON=OFF
|
||||
-DENABLE_PYTHON3=OFF
|
||||
-DENABLE_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
|
9
ports/soapysdr/usage
Normal file
9
ports/soapysdr/usage
Normal file
@ -0,0 +1,9 @@
|
||||
soapysdr provides CMake targets:
|
||||
|
||||
find_package(SoapySDR CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE SoapySDR)
|
||||
|
||||
soapysdr provides pkg-config modules:
|
||||
|
||||
# Vendor and platform neutral SDR interface library.
|
||||
SoapySDR
|
18
ports/soapysdr/vcpkg.json
Normal file
18
ports/soapysdr/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "soapysdr",
|
||||
"version": "0.8.1",
|
||||
"description": "Vendor and platform neutral SDR interface library.",
|
||||
"homepage": "https://github.com/pothosware/SoapySDR/wiki",
|
||||
"license": "BSL-1.0",
|
||||
"supports": "!uwp & !static",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -8296,6 +8296,10 @@
|
||||
"baseline": "1.6.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"soapysdr": {
|
||||
"baseline": "0.8.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"sobjectizer": {
|
||||
"baseline": "5.8.2",
|
||||
"port-version": 0
|
||||
|
9
versions/s-/soapysdr.json
Normal file
9
versions/s-/soapysdr.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "18fb7aebeffe086e6bd1ccb6441d1c31c032a91c",
|
||||
"version": "0.8.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user