mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* 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
82 lines
2.0 KiB
Bash
82 lines
2.0 KiB
Bash
SUMMARY="Access to the windowing system"
|
|
DESCRIPTION="Convenience access to certain properties and features of the \
|
|
windowing system.
|
|
|
|
KWindowSystem provides information about the windowing system and allows \
|
|
interaction with the windowing system. It provides an high level API which \
|
|
is windowing system independent and has platform specific implementations. \
|
|
This API is inspired by X11 and thus not all functionality is available \
|
|
on all windowing systems.
|
|
|
|
In addition to the high level API, this framework also provides several \
|
|
more low level classes for interaction with the X Windowing System."
|
|
HOMEPAGE="https://github.com/KDE/kwindowsystem/"
|
|
COPYRIGHT="2010-2018 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kwindowsystem/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="9bb4a19e58b352076279e34157230a52876dcee9f5a71c38731767830d4e60de"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kwindowsystem$secondaryArchSuffix = $portVersion
|
|
lib:libKF5WindowSystem$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kwindowsystem${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF5WindowSystem$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kwindowsystem$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.45
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF5WindowSystem
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|