mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
- Fixed man page and ChangeLog - Fixed dependencies - Added Linux Kernel CEC Framework support - Binary test and demo tools are optional now udev is optional now (libcec uses SYSFS detection method) - Added installation of udev USB-CEC rule - Fixed byte-compiling Python module Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/17022 Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
25 lines
850 B
Diff
25 lines
850 B
Diff
src/libcec/cmake/CheckPlatformSupport.cmake | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
index 5d423df..9e77924 100644
|
|
--- a/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
@@ -90,6 +90,7 @@ else()
|
|
check_function_exists(flock HAVE_FLOCK)
|
|
|
|
# udev
|
|
+ if (${HAVE_LIBUDEV})
|
|
pkg_check_modules(UDEV udev)
|
|
if (UDEV_FOUND)
|
|
set(PLATFORM_LIBREQUIRES "${PLATFORM_LIBREQUIRES} ${UDEV_LIBRARIES}")
|
|
@@ -106,6 +107,7 @@ else()
|
|
list(APPEND CMAKE_REQUIRED_LIBRARIES "${UDEV_LIBRARIES}")
|
|
set(HAVE_P8_USB_DETECT ON CACHE BOOL "p8 usb-cec detection supported" FORCE)
|
|
endif()
|
|
+ endif()
|
|
|
|
# xrandr
|
|
check_include_files("X11/Xlib.h;X11/Xatom.h;X11/extensions/Xrandr.h" HAVE_RANDR_HEADERS)
|
|
|