Files
haikuports/kde-frameworks/kactivities/kactivities-5.38.0.recipe
Sergei Reznikov a1de2b8e0a Bring KDE Frameworks 5.38.0 to Haiku
* base library set for ongoing KDE apps
* some apps need more libs to be ported which will come later
2017-10-11 16:47:02 +03:00

96 lines
2.7 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-2017 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kactivities/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="abae66a7c215fafff44ee8c32bc50bf96fe7f5afb65c35b296914e4857ac87a3"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
kactivities$secondaryArchSuffix = $portVersion
cmd:kactivities_cli$secondaryArchSuffix = $portVersion
lib:libKF5Activities$secondaryArchSuffix = $portVersion
"
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
"
REQUIRES_devel="
kactivities$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
extra_cmake_modules
haiku${secondaryArchSuffix}_devel
devel:libkf5ConfigCore$secondaryArchSuffix
devel:libkf5coreaddons$secondaryArchSuffix
devel:libkf5windowsystem$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
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
make $jobArgs
}
INSTALL()
{
cd build
make install
prepareInstalledDevelLibs \
libKF5Activities
packageEntries devel \
$libDir/cmake \
$dataDir/Qt5/mkspecs \
$developDir
}
TEST()
{
cd build
make test
}