void-packages/srcpkgs/kwayland/template

26 lines
891 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.39.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel wayland-devel"
makedepends="qt5-tools-devel MesaLib-devel wayland-devel"
short_desc="Qt-style client and server library wrapper for Wayland libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/frameworks/kwayland"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dd74c8edef9f28dd8f2df9e52a7f32f844d16c342e3184a69a57eb6c0f893029
kwayland-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
}
}