early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/dav1d/patch_underscore_prefix.patch
vendored
Executable file
13
externals/vcpkg/ports/dav1d/patch_underscore_prefix.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 07b2586..02acd91 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -370,7 +370,7 @@ endif
|
||||
|
||||
cdata.set10('ARCH_PPC64LE', host_machine.cpu() == 'ppc64le')
|
||||
|
||||
-if cc.symbols_have_underscore_prefix()
|
||||
+if cc.symbols_have_underscore_prefix() or (host_machine.cpu_family() == 'x86' and host_machine.system() == 'windows')
|
||||
cdata.set10('PREFIX', true)
|
||||
cdata_asm.set10('PREFIX', true)
|
||||
endif
|
||||
32
externals/vcpkg/ports/dav1d/portfile.cmake
vendored
Executable file
32
externals/vcpkg/ports/dav1d/portfile.cmake
vendored
Executable file
@@ -0,0 +1,32 @@
|
||||
vcpkg_from_gitlab(
|
||||
GITLAB_URL https://code.videolan.org
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO videolan/dav1d
|
||||
REF 7b433e077298d0f4faf8da6d6eb5774e29bffa54 #v0.9.2
|
||||
SHA512 f889f969f6d612770132cbd2faf8685b1613661b5fbb9e7efe86e9cd074cbd99d5d0cd23894ffc3743fb34301b387df3a81bf067d2c7102358e3fdacf5959782
|
||||
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()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
||||
14
externals/vcpkg/ports/dav1d/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/dav1d/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "dav1d",
|
||||
"version": "0.9.2",
|
||||
"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)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user