Files
haikuports/kde-frameworks/kinit/kinit-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

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-2018 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kinit/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="658e8dad5d0af1d0534f955bbe63878ca4d8fa10a22093959945b66071cae844"
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.45
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
}