mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 13:39:08 +08:00
b0e099f0fc
* [dav1d] Update to 0.8.2 Update dav1d from 0.8.1 to 0.8.2 * versions: Update dav1d to 0.8.2 * Update version schemes * Update the baseline version Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
34 lines
1007 B
CMake
34 lines
1007 B
CMake
vcpkg_fail_port_install(ON_ARCH "arm" "x86" ON_TARGET "uwp")
|
|
|
|
vcpkg_from_gitlab(
|
|
GITLAB_URL https://code.videolan.org
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO videolan/dav1d
|
|
REF 0.8.2
|
|
SHA512 2f48c88fdbe627f089eb378f43b8f18e1c5cff4645148ee7e14b8f3f8e9d690b28e58fc9cb466e7a9a4c147f06b0d34c47c132070acefbd01abe23cd3c6047d8
|
|
PATCHES
|
|
"patch_underscore_prefix.patch"
|
|
)
|
|
|
|
vcpkg_find_acquire_program(NASM)
|
|
get_filename_component(NASM_EXE_PATH ${NASM} DIRECTORY)
|
|
vcpkg_add_to_path(${NASM_EXE_PATH})
|
|
|
|
set(LIBRARY_TYPE ${VCPKG_LIBRARY_LINKAGE})
|
|
if (LIBRARY_TYPE STREQUAL "dynamic")
|
|
set(LIBRARY_TYPE "shared")
|
|
endif(LIBRARY_TYPE STREQUAL "dynamic")
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
--default-library=${LIBRARY_TYPE}
|
|
-Denable_tests=false
|
|
-Denable_tools=false
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
vcpkg_copy_pdbs()
|
|
|
|
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|