Skip to content

Commit ab67537

Browse files
committed
kphotoalbum: 5.11.0 -> 6.0.1
1 parent 74dbb1b commit ab67537

File tree

2 files changed

+17
-34
lines changed

2 files changed

+17
-34
lines changed
Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,45 @@
11
{
2-
mkDerivation,
3-
fetchpatch,
2+
stdenv,
43
fetchurl,
54
lib,
65
extra-cmake-modules,
7-
kdoctools,
8-
wrapGAppsHook3,
96
exiv2,
107
ffmpeg,
11-
libkdcraw,
12-
phonon,
138
libvlc,
14-
kconfig,
15-
kiconthemes,
16-
kio,
17-
kinit,
18-
kpurpose,
9+
kdePackages,
1910
}:
2011

21-
mkDerivation rec {
12+
stdenv.mkDerivation (finalAttrs: {
2213
pname = "kphotoalbum";
23-
version = "5.11.0";
14+
version = "6.0.1";
2415

2516
src = fetchurl {
26-
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
27-
hash = "sha256-NWtOIHJXtc8PlltYbbp2YwDf/3QI3MdHNDX7WVQMig4=";
17+
url = "mirror://kde/stable/kphotoalbum/${finalAttrs.version}/kphotoalbum-${finalAttrs.version}.tar.xz";
18+
hash = "sha256-LLsQ66wKDg77nZUIxjcfzvC3AwLOtojuuDgkJm2dsww=";
2819
};
2920

30-
# Fix build against exiv2 0.28.1
31-
patches = [
32-
(fetchpatch {
33-
url = "https://invent.kde.org/graphics/kphotoalbum/-/commit/1ceb1ae37f3f95aa290b0846969af4b26f616760.patch";
34-
hash = "sha256-SfBJHyJZcysvemc/F09GPczBjcofxGomgjJ814PSU+c=";
35-
})
36-
];
21+
env.LANG = "C.UTF-8";
3722

38-
# not sure if we really need phonon when we have vlc, but on KDE it's bound to
39-
# be on the system anyway, so there is no real harm including it
4023
buildInputs = [
24+
kdePackages.qtbase
4125
exiv2
42-
phonon
4326
libvlc
4427
];
4528

4629
nativeBuildInputs = [
4730
extra-cmake-modules
48-
kdoctools
49-
wrapGAppsHook3
31+
kdePackages.wrapQtAppsHook
5032
];
5133

52-
propagatedBuildInputs = [
34+
# not sure if we really need phonon when we have vlc, but on KDE it's bound to
35+
# be on the system anyway, so there is no real harm including it
36+
propagatedBuildInputs = with kdePackages; [
5337
kconfig
5438
kiconthemes
5539
kio
56-
kinit
57-
kpurpose
40+
kxmlgui
41+
phonon
42+
purpose
5843
libkdcraw
5944
];
6045

@@ -67,6 +52,6 @@ mkDerivation rec {
6752
homepage = "https://www.kphotoalbum.org/";
6853
license = licenses.gpl2Plus;
6954
maintainers = with maintainers; [ peterhoeg ];
70-
inherit (kconfig.meta) platforms;
55+
inherit (kdePackages.kconfig.meta) platforms;
7156
};
72-
}
57+
})

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3884,8 +3884,6 @@ with pkgs;
38843884

38853885
kio-fuse = libsForQt5.callPackage ../tools/filesystems/kio-fuse { };
38863886

3887-
kphotoalbum = libsForQt5.callPackage ../applications/graphics/kphotoalbum { };
3888-
38893887
krename = libsForQt5.callPackage ../applications/misc/krename { };
38903888

38913889
krunner-pass = libsForQt5.callPackage ../tools/security/krunner-pass { };

0 commit comments

Comments
 (0)