2018-10-12 04:12:10 +00:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xiph/vorbis
|
2020-04-09 11:07:05 +05:00
|
|
|
REF 4d963fe0b4ba3bdb45233de4b959ce2f36963f7a
|
|
|
|
SHA512 c739cebf1a7ff4739447e899d3373e2fa7a0f3a87affd59c9c0c65d69e7611ceadcdcd1592c279e65123d7d2e1c9f8f8e7dee93def8753bcdd6d115677232d83
|
2018-10-12 04:12:10 +00:00
|
|
|
HEAD_REF master
|
2017-02-01 19:05:55 -08:00
|
|
|
PATCHES
|
2018-10-12 04:12:10 +00:00
|
|
|
0001-Dont-export-vorbisenc-functions.patch
|
2017-02-01 19:05:55 -08:00
|
|
|
)
|
2016-10-16 23:48:11 +02:00
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2017-04-14 16:11:30 +02:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2016-10-16 23:48:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2020-04-09 11:07:05 +05:00
|
|
|
vcpkg_fixup_cmake_targets(
|
|
|
|
CONFIG_PATH lib/cmake/Vorbis
|
|
|
|
TARGET_PATH share/Vorbis
|
|
|
|
)
|
2016-10-16 23:48:11 +02:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
2020-04-09 11:07:05 +05:00
|
|
|
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
2016-10-24 15:36:33 -07:00
|
|
|
|
2019-05-25 00:37:50 +02:00
|
|
|
vcpkg_copy_pdbs()
|