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-2017 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/solid/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="9b2a6e25809ed907a31c23b54108ebaf4f12feb088867e5bd38a416554224d6b" PATCHES="solid-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86_64" 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=" extra_cmake_modules >= 5.39 haiku${secondaryArchSuffix}_devel devel:libQt5Core$secondaryArchSuffix >= 5.7 " BUILD_PREREQUIRES=" cmd:bison cmd:cmake cmd:flex cmd:g++$secondaryArchSuffix cmd:make " BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -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 }