tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kphotoalbum: 5.11.0 -> 6.0.1
Peter H. Hoeg
1 year ago
ab675375
74dbb1b3
+57
-74
3 changed files
expand all
collapse all
unified
split
pkgs
applications
graphics
kphotoalbum
default.nix
by-name
kp
kphotoalbum
package.nix
top-level
all-packages.nix
-72
pkgs/applications/graphics/kphotoalbum/default.nix
···
1
1
-
{
2
2
-
mkDerivation,
3
3
-
fetchpatch,
4
4
-
fetchurl,
5
5
-
lib,
6
6
-
extra-cmake-modules,
7
7
-
kdoctools,
8
8
-
wrapGAppsHook3,
9
9
-
exiv2,
10
10
-
ffmpeg,
11
11
-
libkdcraw,
12
12
-
phonon,
13
13
-
libvlc,
14
14
-
kconfig,
15
15
-
kiconthemes,
16
16
-
kio,
17
17
-
kinit,
18
18
-
kpurpose,
19
19
-
}:
20
20
-
21
21
-
mkDerivation rec {
22
22
-
pname = "kphotoalbum";
23
23
-
version = "5.11.0";
24
24
-
25
25
-
src = fetchurl {
26
26
-
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
27
27
-
hash = "sha256-NWtOIHJXtc8PlltYbbp2YwDf/3QI3MdHNDX7WVQMig4=";
28
28
-
};
29
29
-
30
30
-
# Fix build against exiv2 0.28.1
31
31
-
patches = [
32
32
-
(fetchpatch {
33
33
-
url = "https://invent.kde.org/graphics/kphotoalbum/-/commit/1ceb1ae37f3f95aa290b0846969af4b26f616760.patch";
34
34
-
hash = "sha256-SfBJHyJZcysvemc/F09GPczBjcofxGomgjJ814PSU+c=";
35
35
-
})
36
36
-
];
37
37
-
38
38
-
# not sure if we really need phonon when we have vlc, but on KDE it's bound to
39
39
-
# be on the system anyway, so there is no real harm including it
40
40
-
buildInputs = [
41
41
-
exiv2
42
42
-
phonon
43
43
-
libvlc
44
44
-
];
45
45
-
46
46
-
nativeBuildInputs = [
47
47
-
extra-cmake-modules
48
48
-
kdoctools
49
49
-
wrapGAppsHook3
50
50
-
];
51
51
-
52
52
-
propagatedBuildInputs = [
53
53
-
kconfig
54
54
-
kiconthemes
55
55
-
kio
56
56
-
kinit
57
57
-
kpurpose
58
58
-
libkdcraw
59
59
-
];
60
60
-
61
61
-
qtWrapperArgs = [
62
62
-
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
63
63
-
];
64
64
-
65
65
-
meta = with lib; {
66
66
-
description = "Efficient image organization and indexing";
67
67
-
homepage = "https://www.kphotoalbum.org/";
68
68
-
license = licenses.gpl2Plus;
69
69
-
maintainers = with maintainers; [ peterhoeg ];
70
70
-
inherit (kconfig.meta) platforms;
71
71
-
};
72
72
-
}
+57
pkgs/by-name/kp/kphotoalbum/package.nix
···
1
1
+
{
2
2
+
stdenv,
3
3
+
fetchurl,
4
4
+
lib,
5
5
+
extra-cmake-modules,
6
6
+
exiv2,
7
7
+
ffmpeg,
8
8
+
libvlc,
9
9
+
kdePackages,
10
10
+
}:
11
11
+
12
12
+
stdenv.mkDerivation (finalAttrs: {
13
13
+
pname = "kphotoalbum";
14
14
+
version = "6.0.1";
15
15
+
16
16
+
src = fetchurl {
17
17
+
url = "mirror://kde/stable/kphotoalbum/${finalAttrs.version}/kphotoalbum-${finalAttrs.version}.tar.xz";
18
18
+
hash = "sha256-LLsQ66wKDg77nZUIxjcfzvC3AwLOtojuuDgkJm2dsww=";
19
19
+
};
20
20
+
21
21
+
env.LANG = "C.UTF-8";
22
22
+
23
23
+
buildInputs = [
24
24
+
kdePackages.qtbase
25
25
+
exiv2
26
26
+
libvlc
27
27
+
];
28
28
+
29
29
+
nativeBuildInputs = [
30
30
+
extra-cmake-modules
31
31
+
kdePackages.wrapQtAppsHook
32
32
+
];
33
33
+
34
34
+
# not sure if we really need phonon when we have vlc, but on KDE it's bound to
35
35
+
# be on the system anyway, so there is no real harm including it
36
36
+
propagatedBuildInputs = with kdePackages; [
37
37
+
kconfig
38
38
+
kiconthemes
39
39
+
kio
40
40
+
kxmlgui
41
41
+
phonon
42
42
+
purpose
43
43
+
libkdcraw
44
44
+
];
45
45
+
46
46
+
qtWrapperArgs = [
47
47
+
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
48
48
+
];
49
49
+
50
50
+
meta = with lib; {
51
51
+
description = "Efficient image organization and indexing";
52
52
+
homepage = "https://www.kphotoalbum.org/";
53
53
+
license = licenses.gpl2Plus;
54
54
+
maintainers = with maintainers; [ peterhoeg ];
55
55
+
inherit (kdePackages.kconfig.meta) platforms;
56
56
+
};
57
57
+
})
-2
pkgs/top-level/all-packages.nix
···
3884
3884
3885
3885
kio-fuse = libsForQt5.callPackage ../tools/filesystems/kio-fuse { };
3886
3886
3887
3887
-
kphotoalbum = libsForQt5.callPackage ../applications/graphics/kphotoalbum { };
3888
3888
-
3889
3887
krename = libsForQt5.callPackage ../applications/misc/krename { };
3890
3888
3891
3889
krunner-pass = libsForQt5.callPackage ../tools/security/krunner-pass { };