2018-10-12 12:12:10 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xiph/vorbis
|
2020-08-20 12:21:09 +08:00
|
|
|
REF v1.3.7
|
|
|
|
SHA512 bfb6f5dbfd49ed38b2b08b3667c06d02e68f649068a050f21a3cc7e1e56b27afd546aaa3199c4f6448f03f6e66a82f9a9dc2241c826d3d1d4acbd38339b9e9fb
|
2018-10-12 12:12:10 +08:00
|
|
|
HEAD_REF master
|
2017-02-02 11:05:55 +08:00
|
|
|
PATCHES
|
2018-10-12 12:12:10 +08:00
|
|
|
0001-Dont-export-vorbisenc-functions.patch
|
2020-10-07 15:23:23 +08:00
|
|
|
0002-Fixup-pkgconfig-libs.patch
|
2022-03-26 05:56:02 +08:00
|
|
|
0003-def-mingw-compat.patch
|
2024-06-04 13:40:39 +08:00
|
|
|
0004-ogg-find-dependency.patch
|
2017-02-02 11:05:55 +08:00
|
|
|
)
|
2016-10-17 05:48:11 +08:00
|
|
|
|
2022-03-26 05:56:02 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2016-10-17 05:48:11 +08:00
|
|
|
)
|
|
|
|
|
2022-03-26 05:56:02 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME Vorbis CONFIG_PATH "lib/cmake/Vorbis")
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-08-19 03:58:14 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-03-26 05:56:02 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|