43 lines
1.7 KiB
Bash
43 lines
1.7 KiB
Bash
# Template file for 'kwin'
|
|
pkgname=kwin
|
|
version=6.0.5
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON
|
|
-DKF6_HOST_TOOLING=/usr/lib/cmake -DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules gettext pkg-config kf6-kauth-tools
|
|
qt6-base qt6-tools libcap-progs kf6-kconfig kf6-kpackage kf6-kcmutils
|
|
qt6-wayland-tools"
|
|
makedepends="libplasma-devel kf6-kcmutils-devel kf6-knewstuff-devel
|
|
kscreenlocker-devel kglobalacceld-devel xcb-util-cursor-devel qt6-wayland-devel
|
|
qt6-multimedia-devel kf6-kdecoration-devel libxkbcommon-devel libinput-devel
|
|
libSM-devel libICE-devel xcb-util-wm-devel qt6-sensors-devel lcms2-devel
|
|
pipewire-devel kf6-krunner-devel xorg-server-xwayland libxcvt-devel hwids
|
|
libdisplay-info-devel breeze-qt6 kf6-kwayland-devel libcap-devel
|
|
libqaccessibilityclient-devel qt6-declarative-devel kf6-kirigami-devel
|
|
kf6-kpackage-devel kf6-kauth-devel kf6-kconfig-devel"
|
|
depends="breeze hicolor-icon-theme kglobalacceld hwids libcap-progs"
|
|
short_desc="KDE Window manager"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/plasma/kwin"
|
|
distfiles="${KDE_SITE}/plasma/${version:0:5}/${pkgname}-${version}.tar.xz"
|
|
checksum=242e7d210529ec631bc5fe3fe0a117a3d1d4edb1dd3a644aafd5089312f8b0d7
|
|
replaces="kwayland-server>=0"
|
|
|
|
if [ $CROSS_BUILD ]; then
|
|
hostmakedepends+=" kf6-kirigami-devel libcap-devel"
|
|
fi
|
|
|
|
kwin-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
replaces="kwayland-server-devel>=0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|