2016-07-30 16:36:52 +02:00
|
|
|
{ plasmaPackage, ecm, bluez-qt, kcoreaddons
|
2016-04-21 18:01:22 +02:00
|
|
|
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications
|
|
|
|
, kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework
|
|
|
|
, qtdeclarative, shared_mime_info
|
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "bluedevil";
|
|
|
|
nativeBuildInputs = [
|
2016-07-30 16:36:52 +02:00
|
|
|
ecm makeQtWrapper shared_mime_info
|
2016-04-21 18:01:22 +02:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
2016-04-28 19:48:59 +02:00
|
|
|
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
|
|
|
|
kdbusaddons kded kiconthemes knotifications kwidgetsaddons
|
2016-04-21 18:01:22 +02:00
|
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [ bluez-qt ];
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/bluedevil-wizard"
|
|
|
|
wrapQtProgram "$out/bin/bluedevil-sendfile"
|
|
|
|
# Fix the location of logic.js for the plasmoid
|
|
|
|
ln -s $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js
|
|
|
|
'';
|
|
|
|
}
|