void-packages/srcpkgs/libkscreen/template
2020-10-30 00:00:11 +01:00

26 lines
869 B
Bash

# Template file for 'libkscreen'
pkgname=libkscreen
version=5.20.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel libXrandr-devel kwayland-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=2ee2c77556ac30ec49be5bc7db552332f6b1084f6d7737b711d3c9c01b523c5d
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"
}
}