2025-03-04 12:23:55 -05:00

38 lines
1.1 KiB
Bash

# Template file for 'gtk-layer-shell'
pkgname=gtk-layer-shell
version=0.9.0
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="gobject-introspection pkg-config wayland-devel"
makedepends="gtk+3-devel wayland-devel"
checkdepends="cantarell-fonts xvfb-run"
short_desc="Library to create panels and other desktop components for Wayland"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-3.0-or-later, MIT"
homepage="https://github.com/wmww/gtk-layer-shell"
changelog="https://raw.githubusercontent.com/wmww/gtk-layer-shell/master/CHANGELOG.md"
distfiles="https://github.com/wmww/gtk-layer-shell/archive/refs/tags/v${version}.tar.gz"
checksum=3809e5565d9ed02e44bb73787ff218523e8760fef65830afe60ea7322e22da1c
make_check_pre="xvfb-run"
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true"
fi
post_install() {
vlicense LICENSE_MIT.txt
}
gtk-layer-shell-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}