void-packages/srcpkgs/kwindowsystem/template

25 lines
926 B
Bash

# Template file for 'kwindowsystem'
pkgname=kwindowsystem
version=5.6.0
revision=2
build_style=cmake
configure_args="-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_TESTING=OFF"
hostmakedepends="cmake qt5-qmake pkg-config extra-cmake-modules"
makedepends="qt5-tools-devel qt5-x11extras-devel libXfixes-devel xcb-util-keysyms-devel"
short_desc="KDE frameworks - Access to the windowing system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/frameworks/kwindowsystem"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bf52735dd6302e5a2ab2d322eb8cb644d599bf8ea2fe5b7517558a1549540f13
kwindowsystem-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/*.so
}
}