Merge pull request #272101 from seanybaggins/add-mingw32-support-x264

x264: Add mingw32 hostPlatform support
This commit is contained in:
Weijia Wang 2023-12-07 12:32:11 +01:00 committed by GitHub
commit 87b94d131b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,10 @@
{ stdenv, lib, fetchFromGitLab, fetchpatch, nasm
{ stdenv
, lib
, fetchFromGitLab
, fetchpatch
, nasm
, enableShared ? !stdenv.hostPlatform.isStatic
}:
}:
stdenv.mkDerivation rec {
pname = "x264";
@ -49,9 +53,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Library for encoding H264/AVC video streams";
homepage = "http://www.videolan.org/developers/x264.html";
license = licenses.gpl2Plus;
platforms = platforms.unix;
homepage = "http://www.videolan.org/developers/x264.html";
license = licenses.gpl2Plus;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ tadeokondrak ];
};
}