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

27 lines
920 B
Bash

# Template file for 'layer-shell-qt'
pkgname=layer-shell-qt
version=5.25.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=60c5172a66562f1a12b8d27bc632e80eb721fb7dab89c5f3d7ac12c849c53d1b
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"
}
}