ddfb660f7b
- Fixed a bug in bluedevil (link to a .js file) - Made bluez5 the default bluetooth service except for kde4 - created org.bluez.obex systemd dbus service - Patched bluez5 using bluez-5.37-obexd_without_systemd-1.patch in order to enable obex when using either the bluedevil plasmoid or dolpin file manager within plasma workspaces 5. The functionality was tested using a Sony Xperia Z, the machine and the handset paired and two different files were sent in both directions successfully.
27 lines
922 B
Nix
27 lines
922 B
Nix
{ plasmaPackage, extra-cmake-modules, bluez-qt, kcoreaddons
|
|
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications
|
|
, kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework
|
|
, qtdeclarative, shared_mime_info
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "bluedevil";
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules makeQtWrapper shared_mime_info
|
|
];
|
|
buildInputs = [
|
|
kcoreaddons kdbusaddons kded kiconthemes knotifications
|
|
kwidgetsaddons
|
|
];
|
|
propagatedBuildInputs = [
|
|
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative
|
|
];
|
|
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
|
|
'';
|
|
}
|