diff options
author | Orivej Desh <orivej@gmx.fr> | 2019-01-08 07:54:40 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2019-01-08 17:57:30 +0000 |
commit | e6133502a281e7a0be4981aa2997ad6dabf2dd0a (patch) | |
tree | a13a924619241cf8e0f5b6ede7c05c6b2a373766 /pkgs | |
parent | c75571d66cd2cb4e7f1529950e6dfb4afbcdd37b (diff) |
bento4: 1.5.1-624 -> 1.5.1-627
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/video/bento4/default.nix | 9 | ||||
-rw-r--r-- | pkgs/tools/video/bento4/libap4.patch | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/tools/video/bento4/default.nix b/pkgs/tools/video/bento4/default.nix index 75964a3c2e5e..d1c6f310df92 100644 --- a/pkgs/tools/video/bento4/default.nix +++ b/pkgs/tools/video/bento4/default.nix @@ -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" {} \; diff --git a/pkgs/tools/video/bento4/libap4.patch b/pkgs/tools/video/bento4/libap4.patch new file mode 100644 index 000000000000..ca2936003b84 --- /dev/null +++ b/pkgs/tools/video/bento4/libap4.patch @@ -0,0 +1,5 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -36 +36 @@ endif() +-add_library(ap4 STATIC ${AP4_SOURCES}) ++add_library(ap4 ${AP4_SOURCES}) |