# Template file for 'libgedit-gtksourceview'
pkgname=libgedit-gtksourceview
version=299.7.0
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dgtk_doc=false"
hostmakedepends="pkg-config glib-devel gettext"
makedepends="gtk+3-devel libxml2-devel libgedit-amtk-devel libgedit-gfls-devel"
checkdepends="xvfb-run"
short_desc="Source code editing widget"
maintainer="Matt Boehlke <git@mtboehlke.com>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview"
changelog="https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview/-/raw/main/NEWS"
distfiles="https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview/-/archive/${version}/libgedit-gtksourceview-${version}.tar.gz"
checksum=c08a70666d5aad156a3fe9dd178ddd3bdf07b3733a1d37dccae0e366585e91f0
make_check_pre="xvfb-run"

libgedit-gtksourceview-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} libglib-devel gtk+3-devel libxml2-devel"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share/gir-1.0
	}
}
