Merge pull request #51895 from cdepillabout/add-sixaxis-support-to-bluez

bluez: add support for the sixaxis controller
This commit is contained in:
Dmitry Kalinkin 2018-12-14 20:49:10 -05:00 committed by GitHub
commit 73c6b3a59c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
python3, readline, udev, libical,
systemd, enableWiimote ? false, enableMidi ? false }:
python3, readline, udev, libical, systemd,
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
stdenv.mkDerivation rec {
name = "bluez-5.50";
@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
"--with-systemduserunitdir=$(out)/etc/systemd/user"
"--with-udevdir=$(out)/lib/udev"
] ++ optional enableWiimote [ "--enable-wiimote" ]
++ optional enableMidi [ "--enable-midi" ]);
++ optional enableMidi [ "--enable-midi" ]
++ optional enableSixaxis [ "--enable-sixaxis" ]);
# Work around `make install' trying to create /var/lib/bluetooth.
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";