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

27 lines
920 B
Bash

# Template file for 'layer-shell-qt'
pkgname=layer-shell-qt
version=5.24.5
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=f591600cc0697cc94ce765bd17b1f9e3ab52d3d58c4de89e2820de3a7377b279
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"
}
}