Unverified Commit 9148df66 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #221424 from wineee/deepin-image-viewer

deepin.deepin-image-viewer: 5.9.4 -> 5.9.11
parents a0941671 1a12eb4a
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
, lib
, fetchFromGitHub
, fetchpatch
, qtbase
, qtsvg
, dtkwidget
, qt5integration
, qt5platform-plugins
@@ -14,18 +16,17 @@
, wrapQtAppsHook
, libraw
, libexif
, qtbase
}:

stdenv.mkDerivation rec {
  pname = "deepin-image-viewer";
  version = "5.9.4";
  version = "5.9.11";

  src = fetchFromGitHub {
    owner = "linuxdeepin";
    repo = pname;
    rev = version;
    sha256 = "sha256-5A6K47NcMkvncZIF5CXeHYYZWEHQ4YDnPDQr2axCmaI=";
    sha256 = "sha256-IkjAW4bqQLEWF2tgccYCVnQgcEp9DJoXrEx2HDC25gs=";
  };

  patches = [
@@ -55,6 +56,8 @@ stdenv.mkDerivation rec {
  ];

  buildInputs = [
    qtbase
    qtsvg
    dtkwidget
    qt5platform-plugins
    gio-qt
@@ -64,6 +67,8 @@ stdenv.mkDerivation rec {
    libexif
  ];

  strictDeps = true;

  cmakeFlags = [ "-DVERSION=${version}" ];

  # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH