void-packages/srcpkgs/kwayland/template
2019-12-14 20:39:19 +01:00

26 lines
907 B
Bash

# Template file for 'kwayland'
pkgname=kwayland
version=5.65.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel
wayland-devel"
makedepends="qt5-tools-devel MesaLib-devel wayland-devel wayland-protocols"
short_desc="Qt-style client and server library wrapper for Wayland libraries"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kwayland"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=75b22e59dd6d3d70ce7a46b8d431050e2f00f6094ae25e969af90ae535037b12
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"
}
}