# Template file for 'libgnome-games-support2'
pkgname=libgnome-games-support2
version=2.0.2
revision=1
build_style=meson
hostmakedepends="gettext glib-devel pkg-config vala"
makedepends="gtk4-devel libgee-devel"
short_desc="Code shared between GNOME games"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/libgnome-games-support/"
changelog="https://gitlab.gnome.org/GNOME/libgnome-games-support/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/libgnome-games-support/${version%.*}/libgnome-games-support-${version}.tar.xz"
checksum=82bbc74f08f98b833a9b6444b8479e1bd84ded0a07425d057b45f38e8783e5bd

libgnome-games-support2-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
		vmove usr/share/vala
	}
}
