libcec: add libX11/libXrandr depends (optional, but needed for reproducible build)

"libX11 and xrandr to read the sink's EDID, used to determine the PC's HDMI physical address"
This commit is contained in:
MilhouseVH 2019-02-08 17:17:43 +00:00
parent 9f75c9be17
commit 9babaaebe9

View File

@ -32,6 +32,11 @@ else
PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_AOCEC_API=0 -DHAVE_AMLOGIC_API=0"
fi
# libX11 and xrandr to read the sink's EDID, used to determine the PC's HDMI physical address
if [ "$DISPLAYSERVER" = "x11" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libX11 libXrandr"
fi
if [ "$CEC_FRAMEWORK_SUPPORT" = "yes" ]; then
PKG_PATCH_DIRS="cec-framework"
PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_TARGET -DHAVE_LINUX_API=1"