diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-09-05 10:32:35 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-09-14 10:04:51 +0800 |
commit | ea3db2864dd9345e932c8c3e7a883cf15871b382 (patch) | |
tree | 3d0e4ab838076cef00741512e03d101850f57b28 /pkgs/applications/graphics | |
parent | 78bce1608960b994405f3696ba086ba1d63654e9 (diff) |
kphotoalbum: init at 5.9.1
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/kphotoalbum/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/kphotoalbum/default.nix b/pkgs/applications/graphics/kphotoalbum/default.nix new file mode 100644 index 0000000000000..d32cf9d950c2c --- /dev/null +++ b/pkgs/applications/graphics/kphotoalbum/default.nix @@ -0,0 +1,47 @@ +{ mkDerivation +, fetchurl +, lib +, extra-cmake-modules +, kdoctools +, wrapGAppsHook +, exiv2 +, ffmpeg +, libkdcraw +, phonon +, libvlc +, kconfig +, kiconthemes +, kio +, kinit +, kpurpose +}: + +mkDerivation rec { + pname = "kphotoalbum"; + version = "5.9.1"; + + src = fetchurl { + url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz"; + hash = "sha256-kejzDYpBQEoGKgPzVcUVlGKmd1OoXx+W7t9p3MNNw/A="; + }; + + # not sure if we really need phonon when we have vlc, but on KDE it's bound to + # be on the system anyway, so there is no real harm including it + buildInputs = [ exiv2 phonon libvlc ]; + + nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; + + propagatedBuildInputs = [ kconfig kiconthemes kio kinit kpurpose libkdcraw ]; + + qtWrapperArgs = [ + "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" + ]; + + meta = with lib; { + description = "Efficient image organization and indexing"; + homepage = "https://www.kphotoalbum.org/"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ peterhoeg ]; + inherit (kconfig.meta) platforms; + }; +} |