mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
118 lines
3.4 KiB
Bash
118 lines
3.4 KiB
Bash
SUMMARY="Helper library to speed up start of applications on KDE workspaces"
|
|
DESCRIPTION="kdeinit is a process launcher somewhat similar to the famous \
|
|
init used for booting UNIX.
|
|
|
|
It launches processes by forking and then loading a dynamic library which \
|
|
should contain a 'kdemain(...)' function.
|
|
|
|
Using kdeinit to launch KDE applications makes starting a typical KDE \
|
|
applications 2.5 times faster (100ms instead of 250ms on a P-III 500) \
|
|
It reduces memory consumption by approx. 350Kb per application."
|
|
HOMEPAGE="https://github.com/KDE/kinit/"
|
|
COPYRIGHT="2010-2017 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kinit/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="742525bee0a166b7c4f67b3de1ba1e83ca16dbd40c257d81e706312bcd078bda"
|
|
PATCHES="kinit-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kinit$secondaryArchSuffix = $portVersion
|
|
cmd:kdeinit5$secondaryArchSuffix = $portVersion
|
|
cmd:kdeinit5_shutdown$secondaryArchSuffix = $portVersion
|
|
cmd:kdeinit5_wrapper$secondaryArchSuffix = $portVersion
|
|
cmd:kshell5$secondaryArchSuffix = $portVersion
|
|
cmd:kwrapper5$secondaryArchSuffix = $portVersion
|
|
lib:libkdeinit5_klauncher$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF5Completion$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5Crash$secondaryArchSuffix
|
|
lib:libKF5I18n$secondaryArchSuffix
|
|
lib:libKF5JobWidgets$secondaryArchSuffix
|
|
lib:libKF5KIOCore$secondaryArchSuffix
|
|
lib:libKF5KIOWidgets$secondaryArchSuffix
|
|
lib:libKF5Service$secondaryArchSuffix
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
|
lib:libKF5WindowSystem$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5DBus$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kinit${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libkdeinit5_klauncher$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
kinit$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.39
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libKF5Auth$secondaryArchSuffix
|
|
devel:libKF5Bookmarks$secondaryArchSuffix
|
|
devel:libKF5Codecs$secondaryArchSuffix
|
|
devel:libKF5Completion$secondaryArchSuffix
|
|
devel:libKF5ConfigCore$secondaryArchSuffix
|
|
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
|
devel:libKF5CoreAddons$secondaryArchSuffix
|
|
devel:libKF5Crash$secondaryArchSuffix
|
|
devel:libKF5I18n$secondaryArchSuffix
|
|
devel:libKF5ItemViews$secondaryArchSuffix
|
|
devel:libKF5JobWidgets$secondaryArchSuffix
|
|
devel:libKF5KIOCore$secondaryArchSuffix
|
|
devel:libKF5Service$secondaryArchSuffix
|
|
devel:libKF5Solid$secondaryArchSuffix
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
|
devel:libKF5WindowSystem$secondaryArchSuffix
|
|
devel:libKF5XmlGui$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python2
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libkdeinit5_klauncher
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$developDir
|
|
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|