void-packages/srcpkgs/gnome-builder/template

35 lines
1.5 KiB
Bash

# Template file for 'gnome-builder'
pkgname=gnome-builder
version=42.1
revision=3
build_style=meson
build_helper=qemu
configure_args="-Dhelp=true -Dnetwork_tests=false"
hostmakedepends="pkg-config appstream-glib desktop-file-utils flex gobject-introspection
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext"
makedepends="cairo-devel clang devhelp-devel enchant2-devel flatpak-devel
gspell-devel gtksourceview4-devel gtk+3-devel json-glib-devel jsonrpc-glib-devel
libdazzle-devel libgit2-glib-devel libglib-devel libostree-devel libpeas-devel
libxml2-devel template-glib-devel vala-devel vte3-devel webkit2gtk-devel
libhandy1-devel pcre-devel libgit2-devel atk-devel gobject-introspection
python3-gobject-devel sysprof-devel glade3-devel libportal-gtk3-devel
libsoup-devel cmark-devel pango-devel fontconfig-devel libportal-devel"
depends="desktop-file-utils flatpak-builder python3-lxml devhelp python3-gobject"
checkdepends="xvfb-run"
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/gnome-builder-42/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5d4d51b702865b48017201f0c607e24a27d72031a8f5c88d4fce875b5545670a
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"
LIBS="-lexecinfo"
fi
do_check() {
xvfb-run ninja -C build test
}