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

27 lines
920 B
Bash

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