2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
2017-12-27 18:49:36 +08:00
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_from_github(
|
2020-06-27 06:06:30 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2022-01-04 05:23:35 +08:00
|
|
|
REPO PortMidi/portmidi
|
|
|
|
REF v2.0.1
|
|
|
|
SHA512 2c412e5b2e90fb375fbd14f22adbf31e0f3ca8ffbb421185e58bd2564da7e431395a9b50c4ba9a1330b2b17b08f0f9e31730f3a57bf8cd14210f3128c70c57a3
|
|
|
|
HEAD_REF master
|
|
|
|
PATCHES fix-macOS.patch
|
2017-12-27 18:49:36 +08:00
|
|
|
)
|
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
2021-09-17 22:51:19 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-12-27 18:49:36 +08:00
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/PortMidi)
|
2017-12-27 18:49:36 +08:00
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2021-09-17 22:51:19 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|