# Template file for 'd-spy'
pkgname=d-spy
version=1.8.0
revision=1
build_style=meson
hostmakedepends="pkg-config gettext glib-devel desktop-file-utils
 gtk-update-icon-cache"
makedepends="gtk4-devel libadwaita-devel"
short_desc="Like d-feet, but written in C and blisteringly fast"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/d-spy"
changelog="https://gitlab.gnome.org/GNOME/d-spy/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/d-spy/${version%.*}/d-spy-${version}.tar.xz"
checksum=f89d795d0686d82da1dceb236148f7ce54d5ca78f0b98e0f1336b263a5afcea1

d-spy-devel_package() {
	depends="gtk4-devel libadwaita-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
