2024-08-24 00:07:01 -06:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
dtkwidget,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
libsForQt5,
|
|
|
|
lxqt,
|
|
|
|
mtdev,
|
|
|
|
xorg,
|
|
|
|
gtest,
|
2023-01-07 01:46:20 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qt5integration";
|
2024-07-26 07:59:46 -06:00
|
|
|
version = "5.6.32";
|
2023-01-07 01:46:20 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-07-26 07:59:46 -06:00
|
|
|
hash = "sha256-WRMeH66X21Z6TBKPEabnWqzC95+OR9M5azxvAp6K7T4=";
|
2023-01-07 01:46:20 -07:00
|
|
|
};
|
|
|
|
|
2023-02-03 03:00:29 -07:00
|
|
|
nativeBuildInputs = [
|
2023-09-25 23:16:03 -06:00
|
|
|
cmake
|
2023-02-03 03:00:29 -07:00
|
|
|
pkg-config
|
|
|
|
];
|
2023-01-07 01:46:20 -07:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtkwidget
|
2024-07-26 07:59:46 -06:00
|
|
|
libsForQt5.qtbase
|
|
|
|
libsForQt5.qtsvg
|
|
|
|
libsForQt5.qtx11extras
|
2023-01-07 01:46:20 -07:00
|
|
|
mtdev
|
2024-04-18 16:22:13 -06:00
|
|
|
lxqt.libqtxdg_3_12
|
2023-01-07 01:46:20 -07:00
|
|
|
xorg.xcbutilrenderutil
|
|
|
|
gtest
|
|
|
|
];
|
|
|
|
|
2023-09-25 23:16:03 -06:00
|
|
|
cmakeFlags = [
|
2024-07-26 07:59:46 -06:00
|
|
|
"-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${libsForQt5.qtbase.qtPluginPrefix}"
|
2023-09-25 23:16:03 -06:00
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
2023-01-07 01:46:20 -07: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;
|
|
|
|
};
|
|
|
|
}
|