# plasma-workspace - The Plasma shell and workspace
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=plasma-workspace
version=6.5.0
release=1
desc="The Plasma shell and workspace"
url="https://kde.org/"
license="GPL-2.0-or-later"
depend="kf6 qt6-base qt6-wayland kwin plasma-framework"
makedepend="cmake ninja"
source="https://download.kde.org/stable/plasma/6.5.0/plasma-workspace-6.5.0.tar.xz"
sha256="SKIP"

build() {
	cmake -S "plasma-workspace-6.5.0" -B build -G Ninja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DBUILD_SHARED_LIBS=ON
	ninja -C build -j"$JOBS"
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}
