bento: 1.6.0-637 -> 1.6.0-638 (#128451)

This commit is contained in:
Felix Richter 2021-06-30 02:22:58 +02:00 committed by GitHub
parent 2e3727eae0
commit 55469b8f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {