void-packages/srcpkgs/kwayland/template

26 lines
891 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.41.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=7661b91d39a268a4cd95f85be9b88c06fecb7d1a13cbfc1fed101ec9b97982b7
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
}
}