mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
kirigami_addons1, revert version bump, needs newer frameworks (#10740)
This commit is contained in:
@@ -3,39 +3,24 @@ DESCRIPTION="Visual end user components for Kirigami-based applications"
|
||||
HOMEPAGE="https://invent.kde.org/libraries/kirigami-addons"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.kde.org/stable/kirigami-addons/kirigami-addons-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="56e3ceb52055b5603320ea08b27d3673d32a391a8d58646d998227d8b51f0a93"
|
||||
CHECKSUM_SHA256="f5e44d7a7d7dfd866c529bb004f7204013609a16c9757091fcdb2c6c5be00ff3"
|
||||
SOURCE_DIR="kirigami-addons-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
kirigami_addons1$secondaryArchSuffix = $portVersion
|
||||
lib:libKirigamiAddonsStatefulApp$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
# KF6
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
# Qt6
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kirigami_addons1${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKirigamiAddonsStatefulApp$secondaryArchSuffix = $libVersionCompat
|
||||
devel:kirigami_addons1$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kirigami_addons1$secondaryArchSuffix == $portVersion base
|
||||
@@ -46,9 +31,6 @@ BUILD_REQUIRES="
|
||||
# KF6
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libKF6ConfigCore$secondaryArchSuffix
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix
|
||||
devel:libKF6GlobalAccel$secondaryArchSuffix
|
||||
devel:libKF6GuiAddons$secondaryArchSuffix
|
||||
devel:libKF6I18n$secondaryArchSuffix
|
||||
devel:libKirigami$secondaryArchSuffix
|
||||
# Qt6
|
||||
@@ -64,18 +46,12 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins$secondaryArchSuffix
|
||||
devel:libQt6Multimedia$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-Wno-dev
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
@@ -83,16 +59,11 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libKirigamiAddonsStatefulApp
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 80% tests passed, 1 tests failed out of 5
|
||||
ctest --test-dir build --output-on-failure
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user