Merge pull request #196739 from rnhmjoj/pr-mkvtoolnix

mkvtoolnix updates
main
Michele Guerini Rocco 2 years ago committed by GitHub
commit 406e19540a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      pkgs/applications/video/mkvtoolnix/default.nix
  2. 21
      pkgs/development/libraries/libebml/default.nix
  3. 16
      pkgs/development/libraries/libmatroska/default.nix

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, pkg-config , pkg-config
, autoreconfHook , autoreconfHook
, rake , rake
@ -46,13 +47,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mkvtoolnix"; pname = "mkvtoolnix";
version = "70.0.0"; version = "71.1.0";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "mbunkus"; owner = "mbunkus";
repo = "mkvtoolnix"; repo = "mkvtoolnix";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "sha256-7ryLf/SKM5m7MdOd2K2XhJEdLF2H8xjV1aZMKUjm+Ok="; sha256 = "sha256-JHbnjcXOctB6HQeHXykWbykdn35S2fCYegMkc3GLmAI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -102,7 +103,7 @@ stdenv.mkDerivation rec {
"--disable-profiling" "--disable-profiling"
"--disable-static-qt" "--disable-static-qt"
"--enable-optimization" "--enable-optimization"
"--with-boost-libdir=${boost.out}/lib" "--with-boost-libdir=${lib.getLib boost}/lib"
"--with-docbook-xsl-root=${docbook_xsl}/share/xml/docbook-xsl" "--with-docbook-xsl-root=${docbook_xsl}/share/xml/docbook-xsl"
"--with-gettext" "--with-gettext"
(enableFeature withGUI "gui") (enableFeature withGUI "gui")

@ -1,31 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config }: { lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libebml"; pname = "libebml";
version = "1.4.2"; version = "1.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Matroska-Org"; owner = "Matroska-Org";
repo = "libebml"; repo = "libebml";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "1hiilnabar826lfxsaflqjhgsdli6hzzhjv8q2nmw36fvvlyks25"; sha256 = "sha256-36SfZUHJ2sIvrrHox583cQqfWWcrL2zW1IHzgDchC9g=";
}; };
patches = [
# Upstream fix for gcc-11
(fetchpatch {
url = "https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806.patch";
sha256 = "1yd6rsds03kwx5jki4hihd2bpfh26g5l1pi82qzaqzarixdxwzvl";
excludes = [ "ChangeLog" ];
})
# in master post 1.4.2, see https://github.com/Matroska-Org/libebml/issues/97
(fetchpatch {
name = "fix-pkg-config.patch";
url = "https://github.com/Matroska-Org/libebml/commit/42fbae35d291b737f2bb4ad5d643fd0d48537a88.patch";
sha256 = "020qp4a3l60mcm4n310ynxbbv5qlpmybb9xy10pjvx4brp83pmy3";
})
];
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
cmakeFlags = [ cmakeFlags = [

@ -1,26 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libebml }:
, libebml }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libmatroska"; pname = "libmatroska";
version = "1.6.3"; version = "1.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Matroska-Org"; owner = "Matroska-Org";
repo = "libmatroska"; repo = "libmatroska";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "01dg12ndxfdqgjx5v2qy4mff6xjdxglywyg82sr3if5aw6rp3dji"; sha256 = "sha256-hfu3Q1lIyMlWFWUM2Pu70Hie0rlQmua7Kq8kSIWnfHE=";
}; };
# in master post 1.6.3, see https://github.com/Matroska-Org/libmatroska/issues/62
patches = [
(fetchpatch {
name = "fix-pkg-config.patch";
url = "https://github.com/Matroska-Org/libmatroska/commit/53f6ea573878621871bca5f089220229fcb33a3b.patch";
sha256 = "1lcxl3n32kk5x4aa4ja7p68km7qb2bwscavpv7qdmbhp3w5ia0mk";
})
];
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libebml ]; buildInputs = [ libebml ];

Loading…
Cancel
Save