2017-02-09 18:13:52 +01:00
|
|
|
include(vcpkg_common_functions)
|
2019-05-02 22:57:43 -07:00
|
|
|
|
|
|
|
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
|
|
|
|
2017-05-10 23:15:02 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO anholt/libepoxy
|
2019-05-21 21:00:24 -07:00
|
|
|
REF 1.5.3
|
|
|
|
SHA512 e831f4f918f08fd5f799501efc0e23b8d404478651634f5e7b35f8ebcc29d91abc447ab20da062dde5be75e18cb39ffea708688e6534f7ab257b949f9c53ddc8
|
2017-05-10 23:15:02 +02:00
|
|
|
HEAD_REF master)
|
2017-02-09 18:13:52 +01:00
|
|
|
|
2017-06-06 16:36:34 +02:00
|
|
|
vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}
|
2019-05-02 22:57:43 -07:00
|
|
|
OPTIONS
|
|
|
|
-Denable-glx=no
|
2017-06-06 16:36:34 +02:00
|
|
|
-Denable-egl=no)
|
2017-02-09 18:13:52 +01:00
|
|
|
vcpkg_install_meson()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2017-06-06 16:36:34 +02:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/pkgconfig)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig)
|
|
|
|
|
2017-02-09 18:13:52 +01: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)
|