Files
haikuports/kde-frameworks/kwindowsystem/kwindowsystem-5.39.0.recipe

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-2017 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kwindowsystem/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="60b05630b1d0ff29242202e28d886b67dd31a90086e337a2c6988ed4c048e899"
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.39
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
}