dtkgui: init at 5.6.3

This commit is contained in:
rewine 2023-01-07 16:34:02 +08:00 committed by rewine
parent 919157fcbd
commit 056add9b3f
2 changed files with 59 additions and 0 deletions

View File

@ -7,6 +7,8 @@ let
#### LIBRARIES
dtkcommon = callPackage ./library/dtkcommon { };
dtkcore = callPackage ./library/dtkcore { };
dtkgui = callPackage ./library/dtkgui { };
};
in
lib.makeScope libsForQt5.newScope packages

View File

@ -0,0 +1,57 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, cmake
, qttools
, wrapQtAppsHook
, librsvg
, lxqt
, dtkcore
, qtimageformats
, freeimage
}:
stdenv.mkDerivation rec {
pname = "dtkgui";
version = "5.6.3";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-r6ZwGPiK6CcKEg8RoHV07wJbQI3idJFV3WFtuKim8n4=";
};
nativeBuildInputs = [
cmake
qttools
pkg-config
wrapQtAppsHook
];
buildInputs = [
lxqt.libqtxdg
];
propagatedBuildInputs = [
dtkcore
librsvg
qtimageformats
freeimage
];
cmakeFlags = [
"-DDVERSION=${version}"
"-DBUILD_DOCS=OFF"
"-DMKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs/modules"
];
meta = with lib; {
description = "Deepin Toolkit, gui module for DDE look and feel";
homepage = "https://github.com/linuxdeepin/dtkgui";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}