Merge pull request #276686 from vs49688/libcec-linux

libcec: enable the "Linux CEC Framework".
This commit is contained in:
Maciej Krüger 2023-12-25 13:48:17 +01:00 committed by GitHub
commit 74b6c948ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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