libsForQt5.qtfeedback: init at unstable-2018-09-03

Co-authored-by: OPNA2608 <christoph.neidahl@gmail.com>
This commit is contained in:
Robert Schütz 2021-05-06 18:39:27 +02:00
parent 77b148ddd7
commit d4af467dc1
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, mkDerivation
, fetchFromGitHub
, perl
, qmake
, qtbase
, qtdeclarative
}:
mkDerivation rec {
pname = "qtfeedback";
version = "unstable-2018-09-03";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "qt";
repo = "qtfeedback";
rev = "a14bd0bb1373cde86e09e3619fb9dc70f34c71f2";
sha256 = "0kiiffvriagql1cark6g1qxy7l9c3q3s13cx3s2plbz19nlnikj7";
};
nativeBuildInputs = [
perl
qmake
];
buildInputs = [
qtdeclarative
];
qmakeFlags = [ "CONFIG+=git_build" ];
doCheck = true;
postFixup = ''
# Drop QMAKE_PRL_BUILD_DIR because it references the build dir
find "$out/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
'';
meta = with lib; {
description = "Qt Tactile Feedback";
homepage = "https://github.com/qt/qtfeedback";
license = with licenses; [ lgpl3Only /* or */ gpl2Plus ];
maintainers = with maintainers; [ dotlambda OPNA2608 ];
};
}

View file

@ -165,6 +165,8 @@ in (kdeFrameworks // plasma5 // plasma5.thirdParty // kdeApplications // qt5 //
withQt5 = true;
};
qtfeedback = callPackage ../development/libraries/qtfeedback { };
qtutilities = callPackage ../development/libraries/qtutilities { };
qtinstaller = callPackage ../development/libraries/qtinstaller { };