# Template file for 'gnome-builder'
pkgname=gnome-builder
version=48.0
revision=2
_llvmver=19
build_style=meson
build_helper=qemu
configure_args="-Dhelp=true -Dnetwork_tests=false"
hostmakedepends="pkg-config appstream-glib desktop-file-utils flex gobject-introspection
 mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext llvm${_llvmver}"
makedepends="llvm${_llvmver}-devel cairo-devel clang${_llvmver} libspelling-devel flatpak-devel
 gtksourceview5-devel gtk4-devel json-glib-devel jsonrpc-glib-devel gom-devel
 libgit2-glib-devel libglib-devel libostree-devel libpeas2-devel libspelling-devel
 libxml2-devel template-glib-devel vala-devel vte3-gtk4-devel libwebkitgtk60-devel
 libadwaita-devel pcre2-devel gobject-introspection
 python3-gobject-devel sysprof-devel libportal-gtk4-devel
 libsoup3-devel cmark-devel pango-devel libportal-devel
 libpanel-devel editorconfig-devel libdex-devel"
depends="desktop-file-utils flatpak-builder python3-lxml python3-gobject"
checkdepends="xvfb-run cmark-devel dbus"
short_desc="IDE for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Builder"
#changelog="https://gitlab.gnome.org/GNOME/gnome-builder/-/raw/main/NEWS"
changelog="https://gitlab.gnome.org/GNOME/gnome-builder/-/raw/gnome-builder-48/NEWS"
distfiles="${GNOME_SITE}/gnome-builder/${version%.*}/gnome-builder-${version}.tar.xz"
checksum=7afe9a7a3b3c6621768bc46a61d698dd788b3653fb46a708238bdccf4de67ba4
make_check_pre="xvfb-run"
