2023-02-02 18:25:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dtkwidget
|
2024-01-02 11:29:13 +00:00
|
|
|
, cmake
|
|
|
|
, pkg-config
|
2023-02-02 18:25:31 +00:00
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, qtx11extras
|
|
|
|
, lxqt
|
|
|
|
, mtdev
|
|
|
|
, xorg
|
|
|
|
, gtest
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qt5integration";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "5.6.20";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-cmvscSIu3LOTKuMs/+JUdJAvQ7OB4o1k+LqfRxNefZU=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
nativeBuildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
cmake
|
2023-02-09 11:40:11 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtkwidget
|
2024-01-02 11:29:13 +00:00
|
|
|
qtbase
|
|
|
|
qtsvg
|
2023-02-02 18:25:31 +00:00
|
|
|
qtx11extras
|
|
|
|
mtdev
|
2024-04-21 15:54:59 +00:00
|
|
|
lxqt.libqtxdg_3_12
|
2023-02-02 18:25:31 +00:00
|
|
|
xorg.xcbutilrenderutil
|
|
|
|
gtest
|
|
|
|
];
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|