void-packages/srcpkgs/kwayland/template

27 lines
892 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.26.0
revision=2
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=69242ffddd77e19618ee19d332210fb8e98e85cd743012001b2a6b1c267042b1
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
}
}