2023-02-09 11:40:11 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, qttools
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, dtkwidget
|
2024-01-02 11:29:13 +00:00
|
|
|
, dtkdeclarative
|
2023-02-09 11:40:11 +00:00
|
|
|
, qt5integration
|
|
|
|
, qt5platform-plugins
|
2023-04-12 12:48:02 +00:00
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
2023-02-09 11:40:11 +00:00
|
|
|
, udisks2-qt5
|
|
|
|
, gio-qt
|
|
|
|
, freeimage
|
|
|
|
, ffmpeg
|
|
|
|
, ffmpegthumbnailer
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "deepin-album";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "6.0.4";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-kTcVmROsqLH8GwJzAf3zMq/wGYWNvhFBiHODaROt7Do=";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
qttools
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtkwidget
|
2024-01-02 11:29:13 +00:00
|
|
|
dtkdeclarative
|
2023-04-12 12:48:02 +00:00
|
|
|
qt5integration
|
2023-02-09 11:40:11 +00:00
|
|
|
qt5platform-plugins
|
2023-04-12 12:48:02 +00:00
|
|
|
qtbase
|
|
|
|
qtsvg
|
2023-02-09 11:40:11 +00:00
|
|
|
udisks2-qt5
|
|
|
|
gio-qt
|
|
|
|
freeimage
|
|
|
|
ffmpeg
|
|
|
|
ffmpegthumbnailer
|
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
strictDeps = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fashion photo manager for viewing and organizing pictures";
|
2023-02-09 11:40:11 +00:00
|
|
|
homepage = "https://github.com/linuxdeepin/deepin-album";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.deepin.members;
|
|
|
|
};
|
|
|
|
}
|