2019-07-22 03:53:18 +01:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
|
2019-07-22 04:23:25 +01:00
|
|
|
mtdev, cairo, deepin, qtbase }:
|
2018-09-03 20:37:54 +01:00
|
|
|
|
2019-07-22 03:53:18 +01:00
|
|
|
mkDerivation rec {
|
2018-09-03 20:37:54 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "qt5dxcb-plugin";
|
2019-06-22 13:26:35 +01:00
|
|
|
version = "1.2.2";
|
2018-09-03 20:37:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-06-22 13:26:35 +01:00
|
|
|
sha256 = "1zvab6qxdr49pmk6mbk7s0md7bx585p32lca0xbg8mrkajz7g8rq";
|
2018-09-03 20:37:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtx11extras
|
|
|
|
libSM
|
|
|
|
mtdev
|
|
|
|
cairo
|
|
|
|
];
|
|
|
|
|
2019-07-22 04:23:25 +01:00
|
|
|
qmakeFlags = [
|
|
|
|
"INSTALL_PATH=${placeholder ''out''}/${qtbase.qtPluginPrefix}/platforms"
|
|
|
|
];
|
2018-09-03 20:37:54 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-10-30 22:17:45 +00:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
2018-09-03 20:37:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Qt platform theme integration plugin for DDE";
|
|
|
|
homepage = https://github.com/linuxdeepin/qt5dxcb-plugin;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|