SUMMARY="Core components for the KDE Activity concept" DESCRIPTION="When a user is interacting with a computer, there are three main \ areas of contextual information that may affect the behaviour of the system: \ who the user is, where they are, and what they are doing. Activities deal with the last one. An activity might be \"developing a KDE \ application\", \"studying 19th century art\", \"composing music\" or \"watching \ funny videos\". Each of these activites may involve multiple applications, \ and a single application may be used in multiple activities (for example, \ most activities are likely to involve using a web browser, but different \ activities will probably involve different websites). KActivities provides the infrastructure needed to manage a user's activites, \ allowing them to switch between tasks, and for applications to update their \ state to match the user's current activity. This includes a daemon, a library \ for interacting with that daemon, and plugins for integration with other \ frameworks." HOMEPAGE="https://github.com/KDE/kactivities/" COPYRIGHT="2010-2018 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/kactivities/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="99b19ec08372b36968bd7efdb88257e8767bcfaac4e0a67dd569915a45f3cbb8" ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" kactivities$secondaryArchSuffix = $portVersion cmd:kactivities_cli$secondaryArchSuffix = $portVersion lib:libKF5Activities$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES=" haiku$secondaryArchSuffix lib:libKF5CoreAddons$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix " PROVIDES_devel=" kactivities${secondaryArchSuffix}_devel = $portVersion devel:libKF5Activities$secondaryArchSuffix = $portVersion compat >= 5 " REQUIRES_devel=" kactivities$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" extra_cmake_modules >= 5.47 haiku${secondaryArchSuffix}_devel devel:libkf5ConfigCore$secondaryArchSuffix == $portVersion devel:libkf5coreaddons$secondaryArchSuffix == $portVersion devel:libkf5windowsystem$secondaryArchSuffix == $portVersion devel:libQt5Core$secondaryArchSuffix >= 5.7 devel:libboost_system$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:make " BUILD() { mkdir -p build cd build cmake .. $cmakeDirArgs \ -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ -DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ -DCMAKE_CXX_FLAGS=-DBOOST_NO_CXX11_CONSTEXPR make $jobArgs } INSTALL() { cd build make install prepareInstalledDevelLibs \ libKF5Activities fixPkgconfig packageEntries devel \ $libDir/cmake \ $dataDir/Qt5/mkspecs \ $developDir } TEST() { cd build make test }