mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[dav1d] Enable arm, arm64 and x86 target support for Windows. (#28737)
This commit is contained in:
parent
b058b34fc8
commit
130bb3911b
@ -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")
|
||||
|
@ -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",
|
||||
|
@ -1878,7 +1878,7 @@
|
||||
},
|
||||
"dav1d": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"daw-header-libraries": {
|
||||
"baseline": "2.76.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3d5a7b193225074fb9ffe0f4ec2acec1086e13a9",
|
||||
"version": "1.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "728ebed76cd4e2ed1d00fa0adeb04e3bd335ccb6",
|
||||
"version": "1.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user