Merge pull request #288877 from seanybaggins/add-mingw-support-xvidcore-staging

Add mingw support xvidcore staging
This commit is contained in:
Weijia Wang 2024-02-19 11:38:19 +01:00 committed by GitHub
commit c0fa27a6a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,12 +35,17 @@ stdenv.mkDerivation rec {
rm $out/lib/*.a
'';
# Dependants of xvidcore don't know to look in bin for dependecies. Link them
# in lib so other depedants of xvidcore can find the dlls.
postFixup = lib.optionalString stdenv.hostPlatform.isMinGW ''
ln -s $out/bin/*.dll $out/lib
'';
meta = with lib; {
description = "MPEG-4 video codec for PC";
homepage = "https://www.xvid.com/";
license = licenses.gpl2;
homepage = "https://www.xvid.com/";
license = licenses.gpl2;
maintainers = with maintainers; [ codyopel lovek323 ];
platforms = platforms.all;
platforms = platforms.all;
};
}