Unverified Commit 05080f17 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

digikam: 8.6.0 -> 8.7.0, fix cuda build (#440463)

parents d6a7143b 2ee90302
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
  lib,
  fetchFromGitLab,
  fetchgit,
  fetchpatch,

  cmake,
  ninja,
@@ -63,25 +62,18 @@ in

stdenv.mkDerivation (finalAttrs: {
  pname = "digikam";
  version = "8.6.0";
  version = "8.7.0";

  src = fetchFromGitLab {
    domain = "invent.kde.org";
    owner = "graphics";
    repo = "digikam";
    rev = "v${finalAttrs.version}";
    hash = "sha256-CMyvNOAlIqD6OeqUquQ+/sOiBXmEowZe3/qmaXxh0X0=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-9t6tXrege3A5x5caUEfho23Pin7dON+e6x94rXC8XYE=";
  };

  patches = [
    ./disable-tests-download.patch

    # Fix build with Qt 6.9
    # FIXME: remove in next update
    (fetchpatch {
      url = "https://invent.kde.org/graphics/digikam/-/commit/325b19fc7f0d04cdc1308f235c207c1ab43e945d.patch";
      hash = "sha256-bsxaNuLuU9MyDRmenOqO4JuzsbpUvfKQwcSCDfLHoWQ=";
    })
  ];

  strictDeps = true;
@@ -104,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
  # build inputs.

  buildInputs = [
    opencv
    opencv.cxxdev
    libtiff
    libpng
    # TODO: Figure out how on earth to get it to pick up libjpeg8 for