libcec: enable the "Linux CEC Framework".
As per documentation [1]. [1]: https://github.com/Pulse-Eight/libcec/blob/master/docs/README.linux.md?plain=1#L57
This commit is contained in:
parent
e18dd77cff
commit
f544c46984
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ udev libcec_platform ] ++
|
||||
lib.optional withLibraspberrypi libraspberrypi;
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=1" ];
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=1"
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
"-DHAVE_LINUX_API=1"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling";
|
||||
|
|
Loading…
Reference in a new issue