2017-02-10 01:13:52 +08:00
|
|
|
include(vcpkg_common_functions)
|
2019-05-03 13:57:43 +08:00
|
|
|
|
|
|
|
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
|
|
|
|
2017-05-11 05:15:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO anholt/libepoxy
|
2019-05-22 12:00:24 +08:00
|
|
|
REF 1.5.3
|
|
|
|
SHA512 e831f4f918f08fd5f799501efc0e23b8d404478651634f5e7b35f8ebcc29d91abc447ab20da062dde5be75e18cb39ffea708688e6534f7ab257b949f9c53ddc8
|
2017-05-11 05:15:02 +08:00
|
|
|
HEAD_REF master)
|
2017-02-10 01:13:52 +08:00
|
|
|
|
2017-06-06 22:36:34 +08:00
|
|
|
vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}
|
2019-05-03 13:57:43 +08:00
|
|
|
OPTIONS
|
|
|
|
-Denable-glx=no
|
2017-06-06 22:36:34 +08:00
|
|
|
-Denable-egl=no)
|
2017-02-10 01:13:52 +08:00
|
|
|
vcpkg_install_meson()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2017-06-06 22:36:34 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/pkgconfig)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig)
|
|
|
|
|
2017-02-10 01:13:52 +08:00
|
|
|
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libepoxy)
|
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libepoxy/COPYING ${CURRENT_PACKAGES_DIR}/share/libepoxy/copyright)
|