void-packages/srcpkgs/kwayland/template

26 lines
891 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.29.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=e957dcbf32fe2c846ea11d82ece7519b7a513eaa9eb8021befa2c690ded9e957
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
}
}