Merge pull request #285854 from seanybaggins/add-mingw32-support-dav1d

Add mingw32 support dav1d
This commit is contained in:
Artturi 2024-02-04 17:37:13 +02:00 committed by GitHub
commit 863faaacc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,18 @@
{ lib, stdenv, fetchFromGitHub
, meson, ninja, nasm, pkg-config
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, nasm
, pkg-config
, xxHash
, withTools ? false # "dav1d" binary
, withExamples ? false, SDL2 # "dav1dplay" binary
, useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers
, withExamples ? false
, SDL2 # "dav1dplay" binary
, useVulkan ? false
, libplacebo
, vulkan-loader
, vulkan-headers
# for passthru.tests
, ffmpeg
@ -62,7 +71,7 @@ stdenv.mkDerivation rec {
changelog = "https://code.videolan.org/videolan/dav1d/-/tags/${version}";
# More technical: https://code.videolan.org/videolan/dav1d/blob/${version}/NEWS
license = licenses.bsd2;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ primeos ];
};
}