49 lines
1.7 KiB
Bash
49 lines
1.7 KiB
Bash
# Template file for 'kf6-kwindowsystem'
|
|
pkgname=kf6-kwindowsystem
|
|
version=6.3.0
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
|
qt6-declarative-host-tools pkg-config wayland-devel qt6-wayland-tools"
|
|
makedepends="qt6-declarative-devel qt6-wayland-devel
|
|
plasma-wayland-protocols wayland-devel qt6-base-private-devel"
|
|
short_desc="KDE frameworks - Access to the windowing system"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kwindowsystem"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=40e33c592934bc27484b922e3dab3c9fdbe078063fa5bcaf29d50d2cd8e8aab9
|
|
|
|
do_check() {
|
|
cd build
|
|
# disable failing tests
|
|
tests=("kwindowsystem-kmanagerselectiontest"
|
|
"kwindowsystem-kstartupinfo_unittest"
|
|
"kwindowsystem-kxmessages_unittest"
|
|
"kwindowsystem-kkeyserver_x11_unittest"
|
|
"kwindowsystem-kwindoweffectstest"
|
|
"kwindowsystem-kwindowinfox11test"
|
|
"kwindowsystem-kwindowsystemx11test"
|
|
"kwindowsystem-kwindowsystem_threadtest"
|
|
"kwindowsystem-netrootinfotestwm"
|
|
"kwindowsystem-netwininfotestclient"
|
|
"kwindowsystem-netwininfotestwm"
|
|
"kwindowsystem-kmanagerselectiontest"
|
|
"kwindowsystem-compositingenabled_test"
|
|
"kwindowsystem-compositingenabled_test")
|
|
ctest -E "($( echo ${tests[@]} | tr " " "|" ))"
|
|
}
|
|
|
|
kf6-kwindowsystem-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|