kdbusaddons6, bump version (#10946)

This commit is contained in:
Schrijvers Luc
2024-08-28 10:07:42 +02:00
committed by GitHub
parent 92020948d0
commit dbcc03df30

View File

@@ -6,7 +6,7 @@ COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kdbusaddons-${portVersion}.tar.xz"
CHECKSUM_SHA256="bca0df3fc7361effcf81ffb795d8ff62e2189ea9672492d6b26c1e0144fedd67"
CHECKSUM_SHA256="afacf9ff5d7a2dd294520718508d33eadf3f63a957091d30a68a45ab1ef0a8fe"
SOURCE_DIR="kdbusaddons-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -50,14 +50,11 @@ BUILD_PREREQUIRES="
cmd:make
"
#TEST_REQUIRES="
# cmd:dbus_launch$secondaryArchSuffix
# "
BUILD()
{
cmake -Bbuild -S. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_QTQCHDIR=$documentationDir/packages/qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DWITH_X11=OFF \
-DBUILD_QCH=ON \
@@ -74,15 +71,13 @@ INSTALL()
packageEntries devel \
$developDir \
$dataDir/doc \
$documentationDir \
$libDir/cmake
}
TEST()
{
# 0% tests passed, 2 tests failed out of 2 (1 crash, needs dbus_launch)
# with exporting it, it passes the test, but can't unmount so let's not enable it
# export $(dbus-launch)
# 0% tests passed, 2 tests failed out of 2 (needs dbus-launch, still crashes)
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
make -Cbuild test
ctest --test-dir build --output-on-failure
}