void-packages/srcpkgs/kwayland/template

28 lines
975 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.116.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel
plasma-wayland-protocols qt5-wayland-devel wayland-devel"
makedepends="qt5-tools-devel MesaLib-devel wayland-devel wayland-protocols qt5-wayland-devel
libxkbcommon-devel"
short_desc="Qt-style client and server library wrapper for Wayland libraries"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kwayland"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=88b5970c2d6f6d5f46e6ffac66233bf23f2fcf016dea39fffbd9f47b1fc0aed8
kwayland-devel_package() {
short_desc+=" - development"
depends="${sourcepkg}-${version}_${revision} qt5-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}