void-packages/srcpkgs/layer-shell-qt/template
2021-09-05 15:58:16 +02:00

26 lines
920 B
Bash

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