# Template file for 'd-spy'
pkgname=d-spy
version=1.4.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="Michal Vasilek <michal@vasilek.cz>"
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="https://gitlab.gnome.org/GNOME/d-spy/-/archive/$version/d-spy-$version.tar.gz"
checksum=dc6d1bcf9dca55d3ba28efc85f77a9ddb4e16c524776cbeb239f3d1eaad8bbfa

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"
	}
}
