[libepoxy] update to 1.4.2

This commit is contained in:
codicodi 2017-05-10 23:15:02 +02:00
parent 4e9e62f6ef
commit 78c6e6ab12
3 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,3 @@
Source: libepoxy Source: libepoxy
Version: 1.4.1-7d58fd3 Version: 1.4.2
Description: Epoxy is a library for handling OpenGL function pointer management for you Description: Epoxy is a library for handling OpenGL function pointer management for you

View File

@ -4,13 +4,12 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
endif() endif()
include(vcpkg_common_functions) include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libepoxy-7d58fd3d47d2d69f2b1b9f08325302e4eeff9ebe) vcpkg_from_github(
vcpkg_download_distfile(ARCHIVE OUT_SOURCE_PATH SOURCE_PATH
URLS "https://github.com/anholt/libepoxy/archive/7d58fd3d47d2d69f2b1b9f08325302e4eeff9ebe.zip" REPO anholt/libepoxy
FILENAME "libepoxy-7d58fd3d47d2d69f2b1b9f08325302e4eeff9ebe.zip" REF 1.4.2
SHA512 7e97a7832ea136565be92d6f6f0afead2fff9ac7b2999ef9e7865ac18dfbeab354e5a652b1a86e982a323dca9a1446df07821c26d315b7da4ca72b5be7345695) SHA512 b94e1fe749c63a82f38369ff62b7d0d8cf1c55884159f030dc2919c17daf5811dd71cfd6a663edb38df66ff4ca53120a6a53501568cc8a582f08d4ae82fe9d89
HEAD_REF master)
vcpkg_extract_source_archive(${ARCHIVE})
# ensure python is on path - not for meson but some source generation scripts # ensure python is on path - not for meson but some source generation scripts
vcpkg_find_acquire_program(PYTHON3) vcpkg_find_acquire_program(PYTHON3)

View File

@ -80,10 +80,10 @@ function(vcpkg_find_acquire_program VAR)
set(PROGNAME meson) set(PROGNAME meson)
set(REQUIRED_INTERPRETER PYTHON3) set(REQUIRED_INTERPRETER PYTHON3)
set(SCRIPTNAME meson.py) set(SCRIPTNAME meson.py)
set(PATHS ${DOWNLOADS}/tools/meson/meson-0.38.1) set(PATHS ${DOWNLOADS}/tools/meson/meson-0.40.1)
set(URL "https://github.com/mesonbuild/meson/archive/0.38.1.zip") set(URL "https://github.com/mesonbuild/meson/archive/0.40.1.zip")
set(ARCHIVE "meson-0.38.1.zip") set(ARCHIVE "meson-0.40.1.zip")
set(HASH 89642b1d976af7e29e9ca2b1a378510ce286ebd90a8234e898f3dd9dd7151538fdfc61fba770681605dad843b77b344fee94f992f18328655669d5f603c7fee5) set(HASH 4c1d07f32d527859f762c34de74d31d569573fc833335ab9652ed38d1f9e64b49869e826527c28a6a07cb8e594fd5c647b34aa95e626236a2707f75df0a2d435)
else() else()
message(FATAL "unknown tool ${VAR} -- unable to acquire.") message(FATAL "unknown tool ${VAR} -- unable to acquire.")
endif() endif()