bento: 1.6.0-637 -> 1.6.0-638 (#128451)
This commit is contained in:
parent
2e3727eae0
commit
55469b8f3b
@ -3,25 +3,29 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bento4";
|
||||
version = "1.6.0-637";
|
||||
version = "1.6.0-638";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axiomatic-systems";
|
||||
repo = "Bento4";
|
||||
rev = "v${version}";
|
||||
sha256 = "0iwqi71nj0iczffvpxmz0prvmmnyiqypfwvzivkh38wl0br82bkp";
|
||||
sha256 = "1hxr4lds4dl46advshk7azg28fcpcjaa5pzk2zzpsc9l69s0bnxk";
|
||||
};
|
||||
|
||||
patches = [ ./libap4.patch ];
|
||||
patches = [
|
||||
./libap4.patch # include all libraries as shared, not static
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{lib,bin}
|
||||
find -iname '*.so' -exec mv --target-directory="$out/lib" {} \;
|
||||
find -maxdepth 1 -executable -type f -exec mv --target-directory="$out/bin" {} \;
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user