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:
Zane van Iperen 2023-12-25 03:58:50 +10:00
parent e18dd77cff
commit f544c46984
No known key found for this signature in database
GPG key ID: 68616B2D8AC4DCC5

View file

@ -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";