mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libcec, cleanup, remove python support (#8302)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user