void-packages/srcpkgs/gnome-builder/template

36 lines
1.4 KiB
Bash

# Template file for 'gnome-builder'
pkgname=gnome-builder
version=3.38.0
revision=3
build_style=meson
build_helper=qemu
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true"
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"
depends="desktop-file-utils flatpak-builder python3-lxml devhelp python3-gobject"
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-36/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d689538baf8efb1acf7ea607268b1aaa1418d5517d92d4f6946a3dbf814eae55
patch_args="-Np1"
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" libexecinfo-devel"
LIBS+=" -lexecinfo"
;;
esac
pre_configure() {
# this test needs X
vsed -i "s/test('test-text-iter'/#&/" src/tests/meson.build
}