2023-02-02 18:25:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dtkwidget
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtx11extras
|
|
|
|
, qt5platform-plugins
|
|
|
|
, lxqt
|
|
|
|
, mtdev
|
|
|
|
, xorg
|
|
|
|
, gtest
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qt5integration";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "5.6.6";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-7b18ydyy/TIEGDkFAoium1LSx3Qs4I4pYpMfehOBZbY=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtkwidget
|
|
|
|
qtx11extras
|
|
|
|
qt5platform-plugins
|
|
|
|
mtdev
|
|
|
|
lxqt.libqtxdg
|
|
|
|
xorg.xcbutilrenderutil
|
|
|
|
gtest
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/${qtbase.qtPluginPrefix}
|
|
|
|
cp -r bin/plugins/* $out/${qtbase.qtPluginPrefix}/
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Qt platform theme integration plugins for DDE";
|
|
|
|
homepage = "https://github.com/linuxdeepin/qt5integration";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.deepin.members;
|
|
|
|
};
|
|
|
|
}
|