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

28 lines
1000 B
Bash

# Template file for 'layer-shell-qt'
pkgname=layer-shell-qt
version=6.1.1
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base pkg-config
qt6-wayland-tools wayland-devel qt6-declarative-host-tools"
makedepends="qt6-wayland-private-devel qt6-declarative-devel qt6-base-private-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=7c60e37301e8f343ef4965494b60186fda82798dd29aadbb35712daf62e34f53
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"
}
}