From b72250713c094c3bc19b42ccdd5a8a5d2fa95672 Mon Sep 17 00:00:00 2001 From: OscarL Date: Fri, 29 Aug 2025 12:50:27 -0300 Subject: [PATCH] libcec: drop x86_gcc2, move to proper category. (#12847) --- {net-libs => dev-libs}/libcec/libcec-4.0.3.recipe | 11 +++++++---- .../libcec/patches/libcec-4.0.3.patchset | 0 ...-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset | 0 3 files changed, 7 insertions(+), 4 deletions(-) rename {net-libs => dev-libs}/libcec/libcec-4.0.3.recipe (94%) rename {net-libs => dev-libs}/libcec/patches/libcec-4.0.3.patchset (100%) rename {net-libs => dev-libs}/libcec/patches/platform-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset (100%) diff --git a/net-libs/libcec/libcec-4.0.3.recipe b/dev-libs/libcec/libcec-4.0.3.recipe similarity index 94% rename from net-libs/libcec/libcec-4.0.3.recipe rename to dev-libs/libcec/libcec-4.0.3.recipe index 5674d19ee..e51f0c08a 100644 --- a/net-libs/libcec/libcec-4.0.3.recipe +++ b/dev-libs/libcec/libcec-4.0.3.recipe @@ -3,7 +3,7 @@ DESCRIPTION="This library provides support for CEC capable hardware" HOMEPAGE="http://libcec.pulse-eight.com/" COPYRIGHT="2011-2015 Pulse-Eight Limited" LICENSE="GNU GPL v2" -REVISION="3" +REVISION="4" srcGitRev="$portVersion" SOURCE_URI="https://github.com/Pulse-Eight/libcec/archive/libcec-$srcGitRev.tar.gz" CHECKSUM_SHA256="ef90d6e4cf9d5847c14d3ff21b71579e5110643f31e8574766d3fa6c89c6239c" @@ -31,7 +31,7 @@ CHECKSUM_SHA256_5="39fd78a0f08ba7ad97e9be6339a6f7ba4e667ab5d050d35904012aebb77b7 SOURCE_FILENAME_5="libcec-support-$srcGitRev5.tar.gz" SOURCE_DIR_5="libcec-support-$srcGitRev5" -ARCHITECTURES="all" +ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="$portVersion" @@ -82,10 +82,13 @@ BUILD() ln -sfn $sourceDir4 src/platform ln -sfn $sourceDir5 src/platform/support # building - cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DCMAKE_INSTALL_PREFIX=$prefix \ -DCMAKE_INSTALL_LIBDIR=$libDir \ - -DCMAKE_INSTALL_INCLUDEDIR=$includeDir + -DCMAKE_INSTALL_INCLUDEDIR=$includeDir \ + -Wno-dev + make -C build $jobArgs } diff --git a/net-libs/libcec/patches/libcec-4.0.3.patchset b/dev-libs/libcec/patches/libcec-4.0.3.patchset similarity index 100% rename from net-libs/libcec/patches/libcec-4.0.3.patchset rename to dev-libs/libcec/patches/libcec-4.0.3.patchset diff --git a/net-libs/libcec/patches/platform-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset b/dev-libs/libcec/patches/platform-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset similarity index 100% rename from net-libs/libcec/patches/platform-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset rename to dev-libs/libcec/patches/platform-6535e48d68d69264c32d46ab9386ac18f77da5f7.patchset