deepin.deepin-image-viewer: 5.9.4 -> 5.9.11

This commit is contained in:
rewine 2023-03-16 11:26:45 +08:00
parent eec9785538
commit 1a12eb4a33
No known key found for this signature in database
GPG Key ID: AABB329787290824

View File

@ -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