mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #288877 from seanybaggins/add-mingw-support-xvidcore-staging
Add mingw support xvidcore staging
This commit is contained in:
commit
c0fa27a6a3
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue