tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
digikam: 7.4.0 -> 7.6.0
André Vitor de Lima Matos
3 years ago
5d733315
e587dcb9
+14
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
digikam
default.nix
+14
-3
pkgs/applications/graphics/digikam/default.nix
···
1
1
-
{ mkDerivation, lib, fetchurl, cmake, doxygen, extra-cmake-modules, wrapGAppsHook
1
1
+
{ mkDerivation, lib, fetchurl, fetchpatch, cmake, doxygen, extra-cmake-modules, wrapGAppsHook
2
2
3
3
# For `digitaglinktree`
4
4
, perl, sqlite
···
43
43
, pcre
44
44
, threadweaver
45
45
, x265
46
46
+
, jasper
46
47
47
48
# For panorama and focus stacking
48
49
, enblend-enfuse
···
55
56
56
57
mkDerivation rec {
57
58
pname = "digikam";
58
58
-
version = "7.4.0";
59
59
+
version = "7.6.0";
59
60
60
61
src = fetchurl {
61
62
url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}.tar.xz";
62
62
-
sha256 = "sha256-0Iq2bacyu0SbwQEG7BHdne+ls1Yt7TdBsEHbuqcVUEo=";
63
63
+
sha256 = "sha256-2OHucyHT/DE5FvUVdW4wKaxBh9xFO2kzhI1N5TFLZkE=";
63
64
};
64
65
66
66
+
patches = [
67
67
+
(fetchpatch {
68
68
+
name = "akonadi-22.04.patch";
69
69
+
url = "https://github.com/archlinux/svntogit-packages/raw/1b3c76a4482055524120f598325d90545ff9c020/trunk/akonadi-22.04.patch";
70
70
+
sha256 = "sha256-ittgkl2t/nAD0ci2fNYoAd4E2M6Gg0vqqjxqZugBuko=";
71
71
+
})
72
72
+
];
73
73
+
65
74
nativeBuildInputs = [ cmake doxygen extra-cmake-modules kdoctools wrapGAppsHook ];
66
75
67
76
buildInputs = [
···
86
95
opencv
87
96
pcre
88
97
x265
98
98
+
jasper
89
99
90
100
qtbase
91
101
qtxmlpatterns
···
115
125
"-DENABLE_MEDIAPLAYER=1"
116
126
"-DENABLE_QWEBENGINE=on"
117
127
"-DENABLE_APPSTYLES=on"
128
128
+
"-DCMAKE_CXX_FLAGS=-I${libksane}/include/KF5" # fix `#include <ksane_version.h>`
118
129
];
119
130
120
131
dontWrapGApps = true;