mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-18 00:15:12 +02:00
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Template file for 'gtk4-layer-shell'
|
|
pkgname=gtk4-layer-shell
|
|
version=1.1.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="gobject-introspection pkg-config"
|
|
makedepends="gtk4-devel vala-devel wayland-devel wayland-protocols"
|
|
checkdepends="dejavu-fonts-ttf gtk4 python3 python3-gobject vala xvfb-run"
|
|
short_desc="Library to create panels and other desktop components for Wayland (GTK4)"
|
|
maintainer="Xavier Fortier <xavier.fortier@proton.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/wmww/gtk4-layer-shell"
|
|
changelog="https://raw.githubusercontent.com/wmww/gtk4-layer-shell/main/CHANGELOG.md"
|
|
distfiles="https://github.com/wmww/gtk4-layer-shell/archive/v${version}.tar.gz"
|
|
checksum=5db158d570e28f56625d5fb2022bc487c0f1b1b21a965702e461a5a5a049a439
|
|
make_check_pre="xvfb-run"
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+="-Dexamples=true -Dtests=true"
|
|
fi
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" vala wayland-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
gtk4-layer-shell-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/girepository-1.0
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
}
|
|
}
|