mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Add KF6 frameworks, kparts6 (#10522)
This commit is contained in:
123
kde-frameworks/kparts/kparts6-6.2.0.recipe
Normal file
123
kde-frameworks/kparts/kparts6-6.2.0.recipe
Normal file
@@ -0,0 +1,123 @@
|
||||
SUMMARY="Plugin framework for user interface components"
|
||||
DESCRIPTION="This library implements the framework for KDE parts, which are \
|
||||
elaborate widgets with a user-interface defined in terms of actions (menu \
|
||||
items, toolbar icons)."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/kparts"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kparts-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="04f70829abc7033327f42e5e5ee1365f4dba9968b184f34212c5486e36a9beb1"
|
||||
SOURCE_DIR="kparts-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
kparts6$secondaryArchSuffix = $portVersion
|
||||
lib:libKF6Parts$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKF6ColorScheme$secondaryArchSuffix
|
||||
lib:libKF6Completion$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6ConfigGui$secondaryArchSuffix
|
||||
lib:libKF6ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6JobWidgets$secondaryArchSuffix
|
||||
lib:libKF6KIOCore$secondaryArchSuffix
|
||||
lib:libKF6Service$secondaryArchSuffix
|
||||
lib:libKF6Solid$secondaryArchSuffix
|
||||
lib:libKF6WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF6XmlGui$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6DBus$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kparts6${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF6Parts$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kparts6$secondaryArchSuffix == $portVersion base
|
||||
devel:libKF6KIOCore$secondaryArchSuffix == $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libKF6Bookmarks$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Codecs$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ColorScheme$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ConfigCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Completion$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ItemViews$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6JobWidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6KIOCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Service$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Solid$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6WindowSystem$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6XmlGui$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Dbus$secondaryArchSuffix
|
||||
devel:libQt6Gui$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libQt6Test$secondaryArchSuffix
|
||||
devel:libQt6Widgets$secondaryArchSuffix
|
||||
devel:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:dot
|
||||
cmd:doxygen >= 1.9
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_QCH=ON \
|
||||
-DBUILD_TESTING=OFF
|
||||
make -Cbuild $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libKF6Parts
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$dataDir/doc \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
||||
make -Cbuild test
|
||||
}
|
||||
Reference in New Issue
Block a user