void-packages/srcpkgs/libkscreen/template

27 lines
898 B
Bash

# Template file for 'libkscreen'
pkgname=libkscreen
version=5.12.0
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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://projects.kde.org/projects/extragear/libs/libkscreen"
distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=9b9752e7ead91982a84ff064a64836ba824919db1ac4122a5a73d2f5ba8dab73
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
}
}