Unverified Commit df0b4c1b authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #288966 from wegank/exiv2-bump

exiv2: 0.28.1 -> 0.28.2
parents 13fcc9bd 51f50fc7
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

stdenv.mkDerivation rec {
  pname = "exiv2";
  version = "0.28.1";
  version = "0.28.2";

  outputs = [ "out" "lib" "dev" "doc" "man" ];

@@ -28,16 +28,9 @@ stdenv.mkDerivation rec {
    owner = "exiv2";
    repo = "exiv2";
    rev = "v${version}";
    hash = "sha256-Jim8vYWyCa16LAJ1GuP8cCzhXIc2ouo6hVsHg3UQbdg=";
    hash = "sha256-0TgvIiuHMeohStIwmHOq4yvTj2H07wyx4w3iIdkrLTc=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/Exiv2/exiv2/commit/c351c7cce317571934abf693055779a59df30d6e.patch";
      hash = "sha256-fWJT4IUBrAELl6ku0M1iTzGFX74le8Z0UzTJLU/gYls=";
    })
  ];

  nativeBuildInputs = [
    cmake
    doxygen
@@ -94,7 +87,7 @@ stdenv.mkDerivation rec {
  '';

  preFixup = ''
    remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2 $static/lib/*.a
    remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2
  '';

  disallowedReferences = [ stdenv.cc.cc ];