39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'kwin'
|
|
pkgname=kwin
|
|
version=5.22.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF
|
|
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
hostmakedepends="extra-cmake-modules gettext breeze pkg-config
|
|
qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
|
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 lcms2-devel
|
|
kwayland-server-devel $(vopt_if pipewire pipewire-devel) krunner-devel"
|
|
depends="breeze hicolor-icon-theme kinit qt5-core>=5.15.2<5.16.0"
|
|
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=5506ee878e151734893bbcc0a70d6499c894b8986488c9c57285de1deb422850
|
|
patch_args=-Np1
|
|
|
|
build_options="pipewire"
|
|
build_options_default="pipewire"
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
kwin-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|