From 30109d6dbbc6dd3b31c54cf34a25396808d2d03b Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 7 Apr 2023 12:02:10 +0200 Subject: [PATCH] libcec, cleanup, remove python support (#8302) --- net-libs/libcec/libcec-4.0.3.recipe | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/net-libs/libcec/libcec-4.0.3.recipe b/net-libs/libcec/libcec-4.0.3.recipe index 0a224739e..5674d19ee 100644 --- a/net-libs/libcec/libcec-4.0.3.recipe +++ b/net-libs/libcec/libcec-4.0.3.recipe @@ -3,8 +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="2" - +REVISION="3" srcGitRev="$portVersion" SOURCE_URI="https://github.com/Pulse-Eight/libcec/archive/libcec-$srcGitRev.tar.gz" CHECKSUM_SHA256="ef90d6e4cf9d5847c14d3ff21b71579e5110643f31e8574766d3fa6c89c6239c" @@ -51,7 +50,6 @@ REQUIRES=" haiku$secondaryArchSuffix lib:libncurses$secondaryArchSuffix lib:libp8_platform$secondaryArchSuffix - lib:libpython3.7m$secondaryArchSuffix " PROVIDES_devel=" libcec${secondaryArchSuffix}_devel = $portVersion @@ -66,7 +64,6 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libncurses$secondaryArchSuffix devel:libp8_platform$secondaryArchSuffix - devel:libpython3.7m$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake @@ -85,20 +82,19 @@ BUILD() ln -sfn $sourceDir4 src/platform ln -sfn $sourceDir5 src/platform/support # building - mkdir -p build && cd build - cmake -DCMAKE_BUILD_TYPE=Release \ + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$prefix \ -DCMAKE_INSTALL_LIBDIR=$libDir \ - -DCMAKE_INSTALL_INCLUDEDIR=$includeDir .. - make $jobArgs + -DCMAKE_INSTALL_INCLUDEDIR=$includeDir + make -C build $jobArgs } INSTALL() { - cd build - make install + make -C build install prepareInstalledDevelLib libcec fixPkgconfig + packageEntries devel $developDir }