diff mbox series

[meta-oe,22/39] p8platform: upgrade 2.1.0.1 -> 2.2.0

Message ID 20261127003543.2167775-23-khem.raj@oss.qualcomm.com
State New
Headers show
Series Source fixes, upgrades and build fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:35 a.m. UTC
Final release of the 2.x series:
- PreventCopy blocks copies with "= delete" and allows moves.
- Fix linking the static library from a C project, and a
  -Wunused-value warning for every consumer including mutex.h.
- The installed CMake config is relocatable and reports the patch
  level in p8-platform_VERSION.
- Use GNUInstallDirs instead of the hand-rolled UseMultiArch.cmake.
- Windows ARM64 detection fixes.

Build the tagged release instead of a git snapshot: rename
p8platform_git.bb to p8platform_2.2.0.bb, fetch tag p8-platform-${PV}
and drop the PV override. Drop the CMAKE_INSTALL_LIBDIR overrides which
only served UseMultiArch.cmake; GNUInstallDirs works with the value
cmake.bbclass already passes.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../p8platform/{p8platform_git.bb => p8platform_2.2.0.bb} | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-extended/p8platform/{p8platform_git.bb => p8platform_2.2.0.bb} (71%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb b/meta-oe/recipes-extended/p8platform/p8platform_2.2.0.bb
similarity index 71%
rename from meta-oe/recipes-extended/p8platform/p8platform_git.bb
rename to meta-oe/recipes-extended/p8platform/p8platform_2.2.0.bb
index ab98e89592..5429708757 100644
--- a/meta-oe/recipes-extended/p8platform/p8platform_git.bb
+++ b/meta-oe/recipes-extended/p8platform/p8platform_2.2.0.bb
@@ -4,17 +4,13 @@  HOMEPAGE = "http://libcec.pulse-eight.com/"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b3a719e97f49e4841e90573f9b1a98ac"
 
-PV = "2.1.0.1+git"
-
-SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https"
-SRCREV = "2748be52ae27e6007ef548b697d4a03ff7de4291"
+SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https;tag=p8-platform-${PV}"
+SRCREV = "939f0dddb02319b967caac4d3baac6b1b6f13fc1"
 UPSTREAM_CHECK_GITTAGREGEX = "^p8-platform-(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit cmake pkgconfig
 
-EXTRA_OECMAKE += "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir}"
-
 FILES:${PN}-dev += "${libdir}/p8-platform"
 
 RDEPENDS:${PN}-dev = ""