mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Add KF6 frameworks, kpeople6 (#10539)
This commit is contained in:
126
kde-frameworks/kpeople/kpeople6-6.2.0.recipe
Normal file
126
kde-frameworks/kpeople/kpeople6-6.2.0.recipe
Normal file
@@ -0,0 +1,126 @@
|
||||
SUMMARY="KDE contact person abstraction library"
|
||||
DESCRIPTION="Provides access to all contacts and aggregates them by person.
|
||||
KPeople offers unified access to our contacts from different sources, grouping \
|
||||
them by person while still exposing all the data.
|
||||
Furthermore, KPeople will also provide facilities to integrate the data provided \
|
||||
in user interfaces by providing QML and Qt Widgets components."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/kpeople"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kpeople-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="3f5faa48ede1e47ee3e3747ef0adf2f1d8320dbefa8f0ec6eb75fd2f4ab45837"
|
||||
SOURCE_DIR="kpeople-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
kpeople6$secondaryArchSuffix = $portVersion
|
||||
lib:libKF6People$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libKF6PeopleBackend$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libKF6PeopleWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKF6AuthCore$secondaryArchSuffix
|
||||
lib:libKF6CalendarCore$secondaryArchSuffix
|
||||
lib:libKF6Codecs$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6ConfigGui$secondaryArchSuffix
|
||||
lib:libKF6ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6IconThemes$secondaryArchSuffix
|
||||
lib:libKF6ItemViews$secondaryArchSuffix
|
||||
lib:libKF6Package$secondaryArchSuffix
|
||||
lib:libKF6Service$secondaryArchSuffix
|
||||
lib:libKF6WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF6XmlGui$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6DBus$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
lib:libQt6QuickWidgets$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kpeople6${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF6People$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libKF6PeopleBackend$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libKF6PeopleWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kpeople6$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libKF6AuthCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6CalendarCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Codecs$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ConfigCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ConfigWidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Contacts$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Iconthemes$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6ItemViews$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Package$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6Service$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF6XmlGui$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:dot
|
||||
cmd:doxygen >= 1.9
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_QCH=ON \
|
||||
-DBUILD_TESTING=OFF
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF6People \
|
||||
libKF6PeopleBackend \
|
||||
libKF6PeopleWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/doc \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 67% tests passed, 1 tests failed out of 3
|
||||
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
||||
make -C build test
|
||||
}
|
||||
Reference in New Issue
Block a user