2021-02-03 11:42:52 -08:00
|
|
|
if((VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") AND VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
message(FATAL_ERROR "${PORT} does not support Windows ARM")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO jiixyj/libebur128
|
2021-02-16 11:15:06 -08:00
|
|
|
REF v1.2.6
|
|
|
|
SHA512 ab188c6d32cd14613119258313a8a3fb1167b55501c9f5b6d3ba738d674bc58f24ac3034c23d9730ed8dc3e95a23619bfb81719e4c79807a9a16c1a5b3423582
|
2021-02-03 11:42:52 -08:00
|
|
|
)
|
2023-03-08 06:14:52 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-02-03 11:42:52 -08:00
|
|
|
OPTIONS -DENABLE_INTERNAL_QUEUE_H=ON
|
|
|
|
)
|
2023-03-08 06:14:52 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-03 11:42:52 -08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2023-03-08 06:14:52 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|