qt5integration: init at 5.6.4

This commit is contained in:
rewine 2023-01-07 16:46:20 +08:00 committed by rewine
parent 9ac7f410a9
commit 88d1f28740
2 changed files with 57 additions and 1 deletions

View File

@ -10,7 +10,8 @@ let
dtkgui = callPackage ./library/dtkgui { };
dtkwidget = callPackage ./library/dtkwidget { };
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
qt5integration = callPackage ./library/qt5integration { };
};
in
lib.makeScope libsForQt5.newScope packages

View File

@ -0,0 +1,55 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qmake
, qtbase
, qtsvg
, pkg-config
, wrapQtAppsHook
, qtx11extras
, qt5platform-plugins
, lxqt
, mtdev
, xorg
, gtest
}:
stdenv.mkDerivation rec {
pname = "qt5integration";
version = "5.6.3";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-GXxPoBM4tlWezTfv/f+/IJezzcAsuMbr/OOGaSOpn2g=";
};
nativeBuildInputs = [ qmake pkg-config wrapQtAppsHook ];
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;
};
}