bento4: 1.5.1-624 -> 1.5.1-627

This commit is contained in:
Orivej Desh 2019-01-08 07:54:40 +00:00
parent c75571d66c
commit e6133502a2
2 changed files with 12 additions and 2 deletions

View file

@ -3,16 +3,21 @@
}:
stdenv.mkDerivation rec {
name = "bento4-${version}";
version = "1.5.1-624";
version = "1.5.1-627";
src = fetchFromGitHub {
owner = "axiomatic-systems";
repo = "Bento4";
rev = "v${version}";
sha256 = "1cq6vhrq3n3lc1n454slbc66qdyqam2srxgdhfpyfxbq5c4y06nf";
sha256 = "1nczv7vqgjryzdn9vkxz93awd7zyj5kwiz8llbb25nnqnqgfq170";
};
patches = [ ./libap4.patch ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
installPhase = ''
mkdir -p $out/{lib,bin}
find -iname '*.so' -exec mv --target-directory="$out/lib" {} \;

View file

@ -0,0 +1,5 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36 +36 @@ endif()
-add_library(ap4 STATIC ${AP4_SOURCES})
+add_library(ap4 ${AP4_SOURCES})