libcec: Update to 5.0.0

License-Update: Changed Copyright years [1]

Add a patch to fix reproducibile builds

[1] d5e5200ed1 (diff-7116ef0705885343c9e1b2171a06be0e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-04-27 18:30:16 -07:00
parent 2b30970845
commit 1df2d272c3
2 changed files with 38 additions and 4 deletions

View File

@ -0,0 +1,33 @@
From 240727d3142700af779ca6f5c4677419787bca28 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 28 Apr 2020 16:15:20 -0700
Subject: [PATCH] Enhance reproducibility
SetBuildInfo.cmake groks information from build system and emits that
into sourcecode ( header file ) which is then compiled into binary, this
string is build system dependent, therefore can cause reproducibility
issues, here we set static string for LIB_INFO
Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/libcec/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcec/CMakeLists.txt b/src/libcec/CMakeLists.txt
index 19a070b..4b3c827 100644
--- a/src/libcec/CMakeLists.txt
+++ b/src/libcec/CMakeLists.txt
@@ -133,7 +133,7 @@ set(CEC_HEADERS devices/CECRecordingDevice.h
source_group("Header Files" FILES ${CEC_HEADERS})
# platform and device specific
-include(cmake/SetBuildInfo.cmake)
+set(LIB_INFO "compiled on ${CMAKE_SYSTEM} ... ")
include(cmake/CheckPlatformSupport.cmake)
## create project groups
--
2.26.2

View File

@ -2,18 +2,19 @@ SUMMARY = "USB CEC Adaptor communication Library"
HOMEPAGE = "http://libcec.pulse-eight.com/"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715"
LIC_FILES_CHKSUM = "file://COPYING;md5=b3a719e97f49e4841e90573f9b1a98ac"
DEPENDS = "p8platform udev ncurses swig-native python3"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}"
DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
PV = "4.0.4"
PV = "5.0.0"
SRCREV = "3bbd4321618503d14008387a72fabb6743878831"
SRC_URI = "git://github.com/Pulse-Eight/libcec.git \
SRCREV = "43bc27fe7be491149e6f57d14110e02abdac2f24"
SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release \
file://0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch \
file://0001-Enhance-reproducibility.patch \
"
S = "${WORKDIR}/git"