37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# Template file for 'kwin'
|
|
pkgname=kwin
|
|
version=5.27.4.1
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON
|
|
-DKF5_HOST_TOOLING=/usr/lib/cmake"
|
|
hostmakedepends="extra-cmake-modules gettext breeze pkg-config
|
|
qt5-qmake qt5-host-tools kcoreaddons kconfig-devel qt5-wayland
|
|
kwayland-devel kpackage-devel kservice-devel kcmutils-devel"
|
|
makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel
|
|
kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel
|
|
kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel
|
|
libICE-devel xcb-util-wm-devel qt5-sensors-devel lcms2-devel
|
|
pipewire-devel krunner-devel xorg-server-xwayland libxcvt-devel hwids
|
|
libatomic-devel"
|
|
depends="breeze hicolor-icon-theme kinit qt5-core>=5.15.2<5.16.0
|
|
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%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b39f1d3cc528505213dbb72958e80d6cdad75617cb26c215607d6f12bf0e02b1
|
|
replaces="kwayland-server>=0"
|
|
|
|
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
|
|
}
|
|
}
|