void-packages/srcpkgs/kwayland/template

26 lines
891 B
Bash

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