2018-10-30 23:17:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
|
|
|
|
mtdev, cairo, deepin }:
|
2018-09-03 21:37:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "qt5dxcb-plugin";
|
2018-11-27 18:23:56 +01:00
|
|
|
version = "1.1.25";
|
2018-09-03 21:37:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-11-27 18:23:56 +01:00
|
|
|
sha256 = "1nadmj1hdpw4n3kpk3dlx22bmxdli66abhjl73hwrbvszmmcm9vp";
|
2018-09-03 21:37:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtx11extras
|
|
|
|
libSM
|
|
|
|
mtdev
|
|
|
|
cairo
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
qmakeFlags="$qmakeFlags INSTALL_PATH=$out/$qtPluginPrefix/platforms"
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-10-30 23:17:45 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
2018-09-03 21:37:54 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|