about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-01-20 11:28:18 -0500
committeréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-02-11 19:40:01 -0500
commit179fee08738e934995dae7771ec81be9f2c6023c (patch)
tree33a29cb7190ebbafc50cb1ebafed63f2e9171a4b /pkgs/applications/graphics
parente5bc23348e70281084073ea1af3e68689456e68c (diff)
downloadnixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar.gz
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar.bz2
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar.lz
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar.xz
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.tar.zst
nixlib-179fee08738e934995dae7771ec81be9f2c6023c.zip
digikam: move to `by-name`
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/digikam/default.nix165
1 files changed, 0 insertions, 165 deletions
diff --git a/pkgs/applications/graphics/digikam/default.nix b/pkgs/applications/graphics/digikam/default.nix
deleted file mode 100644
index 8bc94f9c2b23..000000000000
--- a/pkgs/applications/graphics/digikam/default.nix
+++ /dev/null
@@ -1,165 +0,0 @@
-{ mkDerivation, config, lib, fetchpatch, fetchurl, cmake, doxygen, extra-cmake-modules, wrapGAppsHook
-
-# For `digitaglinktree`
-, perl, sqlite
-
-, qtbase
-, qtxmlpatterns
-, qtsvg
-, qtwebengine
-, qtnetworkauth
-
-, akonadi-contacts
-, kcalendarcore
-, kconfigwidgets
-, kcoreaddons
-, kdoctools
-, kfilemetadata
-, knotifications
-, knotifyconfig
-, ktextwidgets
-, kwidgetsaddons
-, kxmlgui
-
-, bison
-, boost
-, eigen
-, exiv2
-, ffmpeg_4
-, flex
-, graphviz
-, imagemagick
-, lcms2
-, lensfun
-, libgphoto2
-, libkipi
-, libksane
-, liblqr1
-, libqtav
-, libusb1
-, marble
-, libGL
-, libGLU
-, opencv
-, pcre
-, threadweaver
-, x265
-, jasper
-
-# For panorama and focus stacking
-, enblend-enfuse
-, hugin
-, gnumake
-
-, breeze-icons
-, oxygen
-
-, cudaSupport ? config.cudaSupport
-, cudaPackages ? {}
-}:
-
-mkDerivation rec {
-  pname   = "digikam";
-  version = "8.1.0";
-
-  src = fetchurl {
-    url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}.tar.xz";
-    hash = "sha256-BQPANORF/0JPGKZxXAp6eb5KXgyCs+vEYaIc7DdFpbM=";
-  };
-
-  # Fix build against exiv2 0.28.1
-  patches = [
-    (fetchpatch {
-      url = "https://invent.kde.org/graphics/digikam/-/commit/f5ea91a7f6c1926815ec68f3e0176d6c15b83051.patch";
-      hash = "sha256-5g2NaKKNKVfgW3dTO/IP/H/nZ0YAIOmdPAumy3NEaNg=";
-    })
-  ];
-
-  nativeBuildInputs = [
-    cmake
-    doxygen
-    extra-cmake-modules
-    kdoctools
-    wrapGAppsHook
-  ] ++ lib.optionals cudaSupport (with cudaPackages; [
-    cuda_nvcc
-  ]);
-
-  buildInputs = [
-    bison
-    boost
-    eigen
-    exiv2
-    ffmpeg_4
-    flex
-    graphviz
-    imagemagick
-    lcms2
-    lensfun
-    libgphoto2
-    libkipi
-    libksane
-    liblqr1
-    libqtav
-    libusb1
-    libGL
-    libGLU
-    opencv
-    pcre
-    x265
-    jasper
-
-    qtbase
-    qtxmlpatterns
-    qtsvg
-    qtwebengine
-    qtnetworkauth
-
-    akonadi-contacts
-    kcalendarcore
-    kconfigwidgets
-    kcoreaddons
-    kfilemetadata
-    knotifications
-    knotifyconfig
-    ktextwidgets
-    kwidgetsaddons
-    kxmlgui
-
-    breeze-icons
-    marble
-    oxygen
-    threadweaver
-  ] ++ lib.optionals cudaSupport (with cudaPackages; [
-    cuda_cudart
-  ]);
-
-  cmakeFlags = [
-    "-DENABLE_MYSQLSUPPORT=1"
-    "-DENABLE_INTERNALMYSQL=1"
-    "-DENABLE_MEDIAPLAYER=1"
-    "-DENABLE_QWEBENGINE=on"
-    "-DENABLE_APPSTYLES=on"
-    "-DCMAKE_CXX_FLAGS=-I${libksane}/include/KF5" # fix `#include <ksane_version.h>`
-  ];
-
-  dontWrapGApps = true;
-
-  preFixup = ''
-    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
-    qtWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]})
-    qtWrapperArgs+=(--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"
-  '';
-
-  meta = with lib; {
-    description = "Photo Management Program";
-    license = licenses.gpl2;
-    homepage = "https://www.digikam.org";
-    maintainers = with maintainers; [ spacefault ];
-    platforms = platforms.linux;
-    mainProgram = "digikam";
-  };
-}