mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
110 lines
3.4 KiB
Bash
110 lines
3.4 KiB
Bash
SUMMARY="Central daemon of KDE work spaces"
|
|
DESCRIPTION="KDED stands for KDE Daemon which isn't very descriptive. KDED \
|
|
runs in the background and performs a number of small tasks. Some of these tasks \
|
|
are built in, others are started on demand.
|
|
|
|
Built in tasks
|
|
|
|
* Checking for newly installed software and updating ksycoca when new \
|
|
software is detected. Updating of ksycoca is done by the program \
|
|
kbuildsycoca which gets started by kded. When kded is first started it \
|
|
always runs kbuildsycoca to ensure that ksycoca is up to date.
|
|
|
|
* Checking for newly installed update files. Applications can install *.upd \
|
|
update files. These *.upd files are used to update configuration files of \
|
|
users, primarily when new versions of applications are installed with \
|
|
(slightly) different configuration file formats. Updating of configuration \
|
|
files is done by kconf_update. kded starts kconf_update when it detects a \
|
|
new update file. When kded is first started it always runs kconf_update to \
|
|
ensure that it has not missed any update files. kconf_update keeps track of \
|
|
which update files have been processed already in the config-file \
|
|
kconf_updaterc. It only performs a certain update once."
|
|
HOMEPAGE="https://invent.kde.org/frameworks/kded"
|
|
COPYRIGHT="2010-2026 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kded-${portVersion}.tar.xz"
|
|
CHECKSUM_SHA256="030cc827c37b490a2181e120cd831b73c9a7683a87cf55d0d5b334059f78c590"
|
|
SOURCE_DIR="kded-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="$portVersion"
|
|
|
|
PROVIDES="
|
|
kded6$secondaryArchSuffix = $portVersion
|
|
cmd:kded6$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libKF6ConfigCore$secondaryArchSuffix
|
|
lib:libKF6CoreAddons$secondaryArchSuffix
|
|
lib:libKF6Crash$secondaryArchSuffix
|
|
lib:libKF6DBusAddons$secondaryArchSuffix
|
|
lib:libKF6Service$secondaryArchSuffix
|
|
lib:libQt6Core$secondaryArchSuffix
|
|
lib:libQt6DBus$secondaryArchSuffix
|
|
lib:libQt6Gui$secondaryArchSuffix
|
|
lib:libQt6Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kded6${secondaryArchSuffix}_devel = $portVersion
|
|
devel:kded6$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
kded6$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
qt6_tools${secondaryArchSuffix}_devel
|
|
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6Crash$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6DBusAddons$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6Service$secondaryArchSuffix >= $libVersion
|
|
devel:libQt6Core$secondaryArchSuffix
|
|
devel:libQt6Qml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
cmd:msgmerge$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DCMAKE_SKIP_RPATH=YES \
|
|
-DBUILD_TESTING=OFF \
|
|
-Wno-dev
|
|
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
|
|
# cleanup
|
|
rm -rf $dataDir/applications
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
# no test cases
|
|
export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
|
ctest --test-dir build --output-on-failure
|
|
}
|