void-packages/srcpkgs/gnome-builder/template
2022-01-21 08:57:16 +01:00

34 lines
1.3 KiB
Bash

# Template file for 'gnome-builder'
pkgname=gnome-builder
version=41.3
revision=1
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
python3-gobject-devel sysprof-devel glade3-devel libportal-devel cmark-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-3-40/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e2250fc8e9e9f2002c452e5950d82685734d3c4480b35167ab508ac8702509e1
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" libexecinfo-devel"
LIBS+=" -lexecinfo"
;;
esac
do_check() {
xvfb-run ninja -C build test
}