mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
chiaki: add DualShock4 touchpad support
Chiaki supports the touchpad on DualShock4 controllers when they are connected via USB and requires libevdev & udev for this. Add both libraries if chiaki is to be built for a Linux host.
This commit is contained in:
parent
536a40c3d7
commit
4d461177a7
@ -1,7 +1,8 @@
|
||||
{ lib, mkDerivation, fetchgit
|
||||
, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkg-config, protobuf
|
||||
, python3Packages, SDL2 }:
|
||||
, cmake, ffmpeg, libevdev, libopus, udev, qtbase, qtmultimedia
|
||||
, qtsvg , pkg-config, protobuf , python3Packages, SDL2, stdenv }:
|
||||
|
||||
with stdenv.lib;
|
||||
mkDerivation rec {
|
||||
pname = "chiaki";
|
||||
version = "2.0.1";
|
||||
@ -16,7 +17,8 @@ mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake pkg-config protobuf python3Packages.python python3Packages.protobuf
|
||||
];
|
||||
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ];
|
||||
buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ]
|
||||
++ optionals stdenv.hostPlatform.isLinux [ libevdev udev];
|
||||
|
||||
doCheck = true;
|
||||
installCheckPhase = "$out/bin/chiaki --help";
|
||||
|
Loading…
Reference in New Issue
Block a user