void-packages/srcpkgs/kwayland/template
2021-12-20 14:39:53 +01:00

26 lines
959 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.89.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"
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=525ceab76adb10cbd221b16def7a9d043def3bdfc2a9a1d1a378b9b892ff04eb
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"
}
}