mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
KDE frameworks, bump to 6.25.0 part3 (#13941)
This commit is contained in:
104
kde-frameworks/kjobwidgets/kjobwidgets6-6.25.0.recipe
Normal file
104
kde-frameworks/kjobwidgets/kjobwidgets6-6.25.0.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
SUMMARY="Widgets for showing progress of asynchronous jobs"
|
||||
DESCRIPTION="KJobWIdgets provides widgets for showing progress of asynchronous jobs."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/kjobwidgets"
|
||||
COPYRIGHT="2010-2026 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kjobwidgets-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="756bdc0a1c89a8e732ea7299bd325c38b81604da76b4cf361ccfc8b40a6e781e"
|
||||
SOURCE_DIR="kjobwidgets-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
kjobwidgets6$secondaryArchSuffix = $portVersion
|
||||
lib:libKF6JobWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6Notifications$secondaryArchSuffix
|
||||
lib:libKF6WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kjobwidgets6${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF6JobWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kjobwidgets6$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
ARCHITECTURES_doc="any"
|
||||
|
||||
PROVIDES_doc="
|
||||
kjobwidgets6_doc = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
|
||||
devel:libKF6Notifications$secondaryArchSuffix >= $libVersion
|
||||
devel:libKF6WidgetsAddons$secondaryArchSuffix >= $libVersion
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6DBus$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
kde_qdoc_common
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
|
||||
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
cmake --build build --target prepare_docs
|
||||
cmake --build build --target generate_docs
|
||||
cmake --build build --target generate_qch
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
# cmake --build build --target install_html_docs
|
||||
cmake --build build --target install_qch_docs
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libKF6JobWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
|
||||
packageEntries doc \
|
||||
$documentationDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# HAVE_QTDBUS disabled, so no tests provided
|
||||
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
Reference in New Issue
Block a user