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

28 lines
1000 B
Bash

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