Files
haikuports/kde-frameworks/kactivities/kactivities-5.45.0.recipe
Sergei Reznikov a26720a2a3 kde-frameworks: bump to 5.45.0
* for future reference batch git rename was done using this command:
find . -maxdepth 3 -type f -name '*5.39*.recipe' | grep -v 1 | a
while read fname; do git mv $fname ${fname//5.39/5.45}; done

(don't forget to repeat for .patchset files)

* batch CHECKSUM_SHA256 update was done using this script:

cd haikuports
tar --exclude download --exclude work* -zcvf kde-frameworks-`date '+%Y-%m-%d-%H-%M-%S'`.tgz kde-frameworks/

find /home/haikuports/kde-frameworks -maxdepth 2 -name "*5.39*.recipe" | while read FNAME; do \

portVersion=5.45.0 ; source $FNAME ; echo $SOURCE_URI $FNAME ;
echo `curl -s -L $SOURCE_URI | sha256sum | head -c 64`
sed -i "s/$CHECKSUM_SHA256/`curl -s -L $SOURCE_URI | sha256sum | head -c 64`/" $FNAME ; done

* the recipes were built in this order

hp extra_cmake_modules
hp phonon
hp karchive
hp kcodecs
hp kconfig
hp kcoreaddons
hp kdbusaddons
hp kguiaddons
hp ki18n
hp kitemmodels
hp kitemviews
hp kwidgetsaddons
hp kwindowsystem
hp solid
hp sonnet
hp threadweaver
hp kauth
hp kcompletion
hp kcrash
hp kdoctools
hp kunitconversion
hp kconfigwidgets
hp kservice
hp kglobalaccel
hp kpackage
hp kemoticons
hp kiconthemes
hp kjobwidgets
hp knotifications
hp ktextwidgets
hp kxmlgui
hp kbookmarks
hp kwallet
hp kio
hp kdeclarative
hp kcmutils
hp kinit
hp knotifyconfig
hp kparts
hp kactivities
hp kded
hp kdesignerplugin
hp breeze_icons
hp kdelibs4support
hp kross
hp kdiagram
2018-04-17 18:28:59 +03:00

97 lines
2.8 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-2018 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kactivities/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="26754b69f218829b0b20243e010cf6076bad90f450399d6fd73a6b3a538967d9"
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.45
haiku${secondaryArchSuffix}_devel
devel:libkf5ConfigCore$secondaryArchSuffix
devel:libkf5coreaddons$secondaryArchSuffix
devel:libkf5windowsystem$secondaryArchSuffix
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
packageEntries devel \
$libDir/cmake \
$dataDir/Qt5/mkspecs \
$developDir
}
TEST()
{
cd build
make test
}