SUMMARY="Configuration dialog for desktop notificationsr" DESCRIPTION="KNotifyConfig provides a configuration dialog for desktop \ notifications which can be embedded in your application." HOMEPAGE="https://invent.kde.org/frameworks/knotifyconfig/" COPYRIGHT="2010-2024 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/knotifyconfig-${portVersion}.tar.xz" CHECKSUM_SHA256="0547982279856f716782a1218c597aa2bddeaaeb82b469000cb1b51e1dbc08d6" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" knotifyconfig$secondaryArchSuffix = $portVersion lib:libKF5NotifyConfig$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libKF5Completion$secondaryArchSuffix lib:libKF5ConfigCore$secondaryArchSuffix lib:libKF5CoreAddons$secondaryArchSuffix lib:libKF5I18n$secondaryArchSuffix lib:libKF5JobWidgets$secondaryArchSuffix lib:libKF5KIOCore$secondaryArchSuffix lib:libKF5KIOWidgets$secondaryArchSuffix lib:libKF5Service$secondaryArchSuffix lib:libKF5Solid$secondaryArchSuffix lib:libKF5WidgetsAddons$secondaryArchSuffix lib:libKF5WindowSystem$secondaryArchSuffix lib:libphonon4qt5$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5DBus$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Network$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix " PROVIDES_devel=" knotifyconfig${secondaryArchSuffix}_devel = $portVersion devel:libKF5NotifyConfig$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" knotifyconfig$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion devel:libKF5Auth$secondaryArchSuffix == $portVersion devel:libKF5Bookmarks$secondaryArchSuffix == $portVersion devel:libKF5Codecs$secondaryArchSuffix == $portVersion devel:libKF5Completion$secondaryArchSuffix == $portVersion devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion devel:libKF5ConfigWidgets$secondaryArchSuffix == $portVersion devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion devel:libKF5I18n$secondaryArchSuffix == $portVersion devel:libKF5ItemViews$secondaryArchSuffix == $portVersion devel:libKF5JobWidgets$secondaryArchSuffix == $portVersion devel:libKF5KIOCore$secondaryArchSuffix == $portVersion devel:libKF5Notifications$secondaryArchSuffix == $portVersion devel:libKF5Service$secondaryArchSuffix == $portVersion devel:libKF5Solid$secondaryArchSuffix == $portVersion devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion devel:libKF5XmlGui$secondaryArchSuffix == $portVersion devel:libphonon4qt5$secondaryArchSuffix devel:libQt5Core$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:lrelease$secondaryArchSuffix >= 5 cmd:make cmd:python3.10 " PATCH() { sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml } BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake make $jobArgs } INSTALL() { cd build make install prepareInstalledDevelLibs \ libKF5NotifyConfig packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }