2016-10-17 05:48:11 +08:00
|
|
|
include(vcpkg_common_functions)
|
2018-10-12 12:12:10 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xiph/vorbis
|
2019-03-06 00:47:37 +08:00
|
|
|
REF 9eadeccdc4247127d91ac70555074239f5ce3529
|
|
|
|
SHA512 26d6826eba57fd47ebf426ba5a0c961c87ff62e2bb4185190e4985de9ac49aa493f77a1bd01d3d0757eb89a8494ba7de3a506f76bf5c8942ac1de3f75746a301
|
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
|
|
|
|
0002-Allow-deprecated-functions.patch
|
2019-05-25 06:37:50 +08:00
|
|
|
ogg.patch
|
2017-02-02 11:05:55 +08:00
|
|
|
)
|
2016-10-17 05:48:11 +08:00
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2017-04-14 22:11:30 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2016-10-17 05:48:11 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
2018-10-12 12:12:10 +08:00
|
|
|
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/libvorbis/copyright COPYONLY)
|
2016-10-25 06:36:33 +08:00
|
|
|
|
2019-05-25 06:37:50 +08:00
|
|
|
vcpkg_copy_pdbs()
|