void-packages/srcpkgs/layer-shell-qt/template

27 lines
921 B
Bash

# Template file for 'layer-shell-qt'
pkgname=layer-shell-qt
version=5.27.11
revision=1
build_style=cmake
confiugre_args="-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake pkg-config
qt5-wayland wayland-devel"
makedepends="qt5-wayland-devel qt5-declarative-devel libxkbcommon-devel
wayland-protocols wayland-devel"
short_desc="Qt component exposing Wayland wl-layer-shell protocol"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/layer-shell-qt"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=f4c321091619c9aeffe9e3568ff22ba4434538dcb3e89e6e23f5950d1e76d350
layer-shell-qt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}