100 lines
3.0 KiB
Bash
100 lines
3.0 KiB
Bash
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-2021 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kactivities/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="4b2ab6174ef3d8e8779181124420e1967a02fb711a0c1aef3ee64f8fc6a5278f"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
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="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libkf5ConfigCore$secondaryArchSuffix == $portVersion
|
|
devel:libkf5coreaddons$secondaryArchSuffix == $portVersion
|
|
devel:libkf5windowsystem$secondaryArchSuffix == $portVersion
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:lrelease$secondaryArchSuffix >= 5
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-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
|
|
}
|