libcec: drop x86_gcc2, move to proper category. (#12847)

This commit is contained in:
OscarL
2025-08-29 12:50:27 -03:00
committed by GitHub
parent 2eb13b2652
commit b72250713c
3 changed files with 7 additions and 4 deletions

View File

@@ -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
}