Skip to content

Commit

Permalink
digikam: 6.0.0 -> 6.1.0 (#60042)
Browse files Browse the repository at this point in the history
* digikam: 6.0.0 -> 6.1.0

* digikam: add dep, use ffmpeg_4

* digikam: set DK_PLUGIN_PATH to help find plugins
  • Loading branch information
dtzWill authored and c0bw3b committed May 10, 2019
1 parent df47f8b commit bc94dcf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions pkgs/applications/graphics/digikam/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, qtsvg
, qtwebengine

, akonadi-contacts
, kcalcore
, kconfigwidgets
, kcoreaddons
Expand Down Expand Up @@ -50,14 +51,14 @@
}:

mkDerivation rec {
name = "digikam-${version}";
version = "6.0.0";
pname = "digikam";
version = "6.1.0";

src = fetchFromGitHub {
owner = "KDE";
repo = "digikam";
rev = "v${version}";
sha256 = "1ifvrn0bm7fp07d059rl4dy146qzdxafl36ipxg1fg00dkv95hh4";
sha256 = "0h0jqfgpanhxfi3r7cgip58ppypqx79z6c5jj7i7f19hp2zziip8";
};

nativeBuildInputs = [ cmake doxygen extra-cmake-modules kdoctools wrapGAppsHook ];
Expand Down Expand Up @@ -88,6 +89,7 @@ mkDerivation rec {
qtsvg
qtwebengine

akonadi-contacts
kcalcore
kconfigwidgets
kcoreaddons
Expand All @@ -112,6 +114,7 @@ mkDerivation rec {

preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]})
gappsWrapperArgs+=(--suffix DK_PLUGIN_PATH : ${placeholder "out"}/${qtbase.qtPluginPrefix}/${pname})
substituteInPlace $out/bin/digitaglinktree \
--replace "/usr/bin/perl" "${perl}/bin/perl" \
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21172,7 +21172,8 @@ in

digikam = libsForQt5.callPackage ../applications/graphics/digikam {
inherit (plasma5) oxygen;
inherit (kdeApplications) kcalcore;
inherit (kdeApplications) akonadi-contacts kcalcore;
ffmpeg = ffmpeg_4;
opencv3 = opencv3WithoutCuda;
};

Expand Down

0 comments on commit bc94dcf

Please sign in to comment.