2018-02-17 15:43:25 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Matroska-Org/libmatroska
|
2023-04-12 14:13:25 +08:00
|
|
|
REF release-1.7.1
|
|
|
|
SHA512 abb4fb4b527266944b1a59516866462498675c5e71bb679758894dff6156169d7132dddaa2e2ef6187a6dbce4a4aa377eeb75dd869268fd44933c769b34be5b9
|
2018-02-17 15:43:25 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-17 08:48:12 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DDISABLE_PKGCONFIG=1
|
2018-02-17 15:43:25 +08:00
|
|
|
)
|
|
|
|
|
2021-11-17 08:48:12 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-02-17 15:43:25 +08:00
|
|
|
|
2021-11-17 08:48:12 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Matroska)
|
2018-02-17 15:43:25 +08:00
|
|
|
|
2021-11-17 08:48:12 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2018-02-17 15:43:25 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2021-11-17 08:48:12 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|