summary refs log tree commit diff
path: root/pkgs/development/libraries/mp4v2
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-12-03 02:58:49 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-12-03 02:58:49 +0100
commitb3600b548eee0d25ffb0d5e7e0ea7461420c4a95 (patch)
tree71f65e3571eab866d70ea51cea00ed9bd9b6520d /pkgs/development/libraries/mp4v2
parentcee75d23a9825985cad20b0deaac752766f6725c (diff)
downloadnixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar.gz
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar.bz2
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar.lz
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar.xz
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.tar.zst
nixpkgs-b3600b548eee0d25ffb0d5e7e0ea7461420c4a95.zip
mp4v2: 4.1.3 -> 5.0.1
Diffstat (limited to 'pkgs/development/libraries/mp4v2')
-rw-r--r--pkgs/development/libraries/mp4v2/default.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/pkgs/development/libraries/mp4v2/default.nix b/pkgs/development/libraries/mp4v2/default.nix
index fe0049c1f38..b00b3517313 100644
--- a/pkgs/development/libraries/mp4v2/default.nix
+++ b/pkgs/development/libraries/mp4v2/default.nix
@@ -2,29 +2,17 @@
 
 stdenv.mkDerivation rec {
   pname = "mp4v2";
-  version = "4.1.3";
+  version = "5.0.1";
 
   src = fetchFromGitHub {
     # 2020-06-20: THE current upstream, maintained and used in distros fork.
     owner = "TechSmith";
     repo = "mp4v2";
     rev = "Release-ThirdParty-MP4v2-${version}";
-    sha256 = "053a0lgy819sbz92cfkq0vmkn2ky39bva554pj4ypky1j6vs04fv";
+    sha256 = "sha256-OP+oVTH9pqYfHtYL1Kjrs1qey/J40ijLi5Gu8GJnvSY=";
   };
 
-  patches = [
-    (fetchurl {
-      # 2020-06-19: NOTE: # Fix build with C++11
-      # Close when https://github.com/TechSmith/mp4v2/pull/36 merged/closed.
-      url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/203f5a72bc97ffe089b424c47b07dd9eaea35713/trunk/libmp4v2-c++11.patch";
-      sha256 = "0sbn0il7lmk77yrjyb4f0a3z3h8gsmdkscvz5n9hmrrrhrwf672w";
-    })
-  ] ++ lib.optionals stdenv.cc.isClang [
-    # unbreak build with Clang≄6 (C++14 by default). Based on https://reviews.freebsd.org/rP458678
-    ./fix-build-clang.patch
-  ];
-
-  NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ];
+  NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
 
   # `faac' expects `mp4.h'.
   postInstall = "ln -s mp4v2/mp4v2.h $out/include/mp4.h";