32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'kwin'
|
|
pkgname=kwin
|
|
version=5.14.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules breeze pkg-config"
|
|
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 libcap-devel"
|
|
depends="breeze hicolor-icon-theme kinit"
|
|
short_desc="KDE Window manager"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/plasma/kwin"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=d146dd3742400684328b5ae268b24ebfb118b2cce75ab1b8994ea883491a323d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
fi
|
|
|
|
kwin-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|