void-packages/srcpkgs/libkscreen/template

29 lines
937 B
Bash

# Template file for 'libkscreen'
pkgname=libkscreen
version=5.27.11
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel
plasma-wayland-protocols qt5-wayland wayland-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel libXrandr-devel kwayland-devel
kconfig-devel"
short_desc="KDE screen management software"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/libkscreen"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=0d11f41d489f32303988e5a2eee8cef7f4eb18faea5614e65bf202007ea21dd5
libkscreen-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}