SUMMARY="Desktop hardware abstraction" DESCRIPTION="Solid is a device integration framework. It provides a way of \ querying and interacting with hardware independently of the underlying \ operating system. It provides the following features for application developers: * Hardware Discovery * Power Management * Network Management" HOMEPAGE="https://github.com/KDE/solid/" COPYRIGHT="2010-2021 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/solid/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="ace8ac9da7cf8b437ca273e0a971534733dad3497ad0b30545f4e840f6e7dcb5" PATCHES="solid-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" solid$secondaryArchSuffix = $portVersion cmd:solid_hardware5$secondaryArchSuffix = $portVersion lib:libKF5Solid$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5DBus$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix " PROVIDES_devel=" solid${secondaryArchSuffix}_devel = $portVersion devel:libKF5Solid$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" solid$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion devel:libQt5Core$secondaryArchSuffix >= 5.7 " BUILD_PREREQUIRES=" cmd:bison cmd:cmake cmd:flex cmd:g++$secondaryArchSuffix cmd:lrelease$secondaryArchSuffix >= 5 cmd:make " BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake make $jobArgs } INSTALL() { cd build make install prepareInstalledDevelLibs \ libKF5Solid packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }