purpose6, revbump, fixes 32bit build, keep kaccounts for 64bit only (#11287)

This commit is contained in:
Schrijvers Luc
2024-10-30 15:38:56 +01:00
committed by GitHub
parent e52b4a10e5
commit 413fadaaa5

View File

@@ -7,7 +7,7 @@ receive all the information they need."
HOMEPAGE="https://invent.kde.org/frameworks/purpose"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/purpose-${portVersion}.tar.xz"
CHECKSUM_SHA256="4f8bbf19022c70df1dc345a4abd81677a505a2e8fef643311287fe8e9212d56a"
SOURCE_DIR="purpose-$portVersion"
@@ -48,6 +48,12 @@ REQUIRES="
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Qml$secondaryArchSuffix
"
if [ "$targetArchitecture" != x86_gcc2 ]; then
REQUIRES+="
accounts_qml$secondaryArchSuffix
lib:libkaccounts6$secondaryArchSuffix
"
fi
PROVIDES_devel="
purpose6${secondaryArchSuffix}_devel = $portVersion
@@ -60,7 +66,6 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libkaccounts6$secondaryArchSuffix
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libKF6Bookmarks$secondaryArchSuffix == $portVersion
devel:libKF6CalendarEvents$secondaryArchSuffix == $portVersion
@@ -85,6 +90,12 @@ BUILD_REQUIRES="
devel:libQt6Qml$secondaryArchSuffix
devel:libQt6QuickControls2$secondaryArchSuffix
"
if [ "$targetArchitecture" != x86_gcc2 ]; then
BUILD_REQUIRES+="
accounts_qml$secondaryArchSuffix
devel:libkaccounts6$secondaryArchSuffix
"
fi
BUILD_PREREQUIRES="
cmd:arc
cmd:cmake