[dav1d] Enable arm, arm64 and x86 target support for Windows. (#28737)

This commit is contained in:
Kenji Mouri 2023-01-07 17:16:36 +08:00 committed by GitHub
parent b058b34fc8
commit 130bb3911b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View File

@ -10,6 +10,16 @@ vcpkg_find_acquire_program(NASM)
get_filename_component(NASM_EXE_PATH ${NASM} DIRECTORY)
vcpkg_add_to_path(${NASM_EXE_PATH})
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_find_acquire_program(GASPREPROCESSOR)
foreach(GAS_PATH ${GASPREPROCESSOR})
get_filename_component(GAS_ITEM_PATH ${GAS_PATH} DIRECTORY)
set(ENV{PATH} "$ENV{PATH}${VCPKG_HOST_PATH_SEPARATOR}${GAS_ITEM_PATH}")
endforeach(GAS_PATH)
endif()
endif()
set(LIBRARY_TYPE ${VCPKG_LIBRARY_LINKAGE})
if (LIBRARY_TYPE STREQUAL "dynamic")
set(LIBRARY_TYPE "shared")

View File

@ -1,10 +1,11 @@
{
"name": "dav1d",
"version": "1.0.0",
"port-version": 1,
"description": "dav1d is a new open-source AV1 decoder developed by the VideoLAN and FFmpeg communities and sponsored by the Alliance for Open Media.",
"homepage": "https://code.videolan.org/videolan/dav1d",
"license": "BSD-2-Clause",
"supports": "!(uwp | arm | x86)",
"supports": "!(uwp | (windows & x86 & !static))",
"dependencies": [
{
"name": "vcpkg-tool-meson",

View File

@ -1878,7 +1878,7 @@
},
"dav1d": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"daw-header-libraries": {
"baseline": "2.76.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3d5a7b193225074fb9ffe0f4ec2acec1086e13a9",
"version": "1.0.0",
"port-version": 1
},
{
"git-tree": "728ebed76cd4e2ed1d00fa0adeb04e3bd335ccb6",
"version": "1.0.0",