File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ vcpkg_from_github (
2+ OUT_SOURCE_PATH SOURCE_PATH
3+ REPO yunsmall/usbipdcpp
4+ REF "v${VERSION} "
5+ SHA512 6d5944407cd4454b598662f4f8371bf599238a715ed2e2390c41cb3a05825f5a4fc28d7236e5e3396a1faaefe81933dbc385131b4e440ac422ab0403956e1147
6+ HEAD_REF main
7+ )
8+
9+ vcpkg_check_features (OUT_FEATURE_OPTIONS FEATURE_OPTIONS
10+ FEATURES
11+ libusb USBIPDCPP_BUILD_LIBUSB_COMPONENTS
12+ busywait USBIPDCPP_ENABLE_BUSY_WAIT
13+ virtual-device USBIPDCPP_BUILD_VIRTUAL_DEVICE
14+ )
15+
16+ vcpkg_find_acquire_program (PKGCONFIG )
17+
18+ vcpkg_cmake_configure (
19+ SOURCE_PATH "${SOURCE_PATH} "
20+ OPTIONS
21+ "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG} "
22+ -DUSBIPDCPP_BUILD_EXAMPLES=OFF
23+ -DUSBIPDCPP_BUILD_TESTS=OFF
24+ ${FEATURE_OPTIONS}
25+ MAYBE_UNUSED_VARIABLES
26+ PKG_CONFIG_EXECUTABLE
27+ )
28+
29+ vcpkg_cmake_install ()
30+
31+ vcpkg_cmake_config_fixup (CONFIG_PATH lib/cmake/usbipdcpp )
32+
33+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
34+
35+ vcpkg_install_copyright (FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " usbipdcpp" ,
3+ "version" : " 1.0.1" ,
4+ "description" : " A C++ library for creating usbip servers" ,
5+ "homepage" : " https://github.com/yunsmall/usbipdcpp" ,
6+ "license" : " Apache-2.0" ,
7+ "dependencies" : [
8+ " asio" ,
9+ " spdlog" ,
10+ {
11+ "name" : " vcpkg-cmake" ,
12+ "host" : true
13+ },
14+ {
15+ "name" : " vcpkg-cmake-config" ,
16+ "host" : true
17+ }
18+ ],
19+ "features" : {
20+ "busywait" : {
21+ "description" : " Enable busy-wait mode for lower latency"
22+ },
23+ "libusb" : {
24+ "description" : " Build libusb-based server components for physical USB device forwarding" ,
25+ "dependencies" : [
26+ " libusb"
27+ ]
28+ },
29+ "virtual-device" : {
30+ "description" : " Build virtual device components for creating software-emulated USB devices"
31+ }
32+ }
33+ }
Original file line number Diff line number Diff line change 1035210352 "baseline" : " 1.0.1" ,
1035310353 "port-version" : 0
1035410354 },
10355+ "usbipdcpp" : {
10356+ "baseline" : " 1.0.1" ,
10357+ "port-version" : 0
10358+ },
1035510359 "usbmuxd" : {
1035610360 "baseline" : " 2023-07-21" ,
1035710361 "port-version" : 1
Original file line number Diff line number Diff line change 1+ {
2+ "versions" : [
3+ {
4+ "git-tree" : " 80a6d203472e7791800e87eda219d5d828717bee" ,
5+ "version" : " 1.0.1" ,
6+ "port-version" : 0
7+ }
8+ ]
9+ }
You can’t perform that action at this time.
0 commit comments