# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-builder pkgver=3.36.0 pkgrel=0 pkgdesc="Develop software for GNOME" url="https://wiki.gnome.org/Apps/Builder" arch="all !s390x" license="GPL-3.0-or-later" depends="devhelp flatpak-builder py3-lxml py3-gobject3" makedepends="meson libdazzle-dev glib-dev gtk+3.0-dev gtksourceview4-dev json-glib-dev jsonrpc-glib-dev pango-dev libpeas-dev webkit2gtk-dev libxml2-dev libgit2-glib-dev template-glib-dev llvm-dev gspell-dev enchant2-dev devhelp-dev glade-dev pcre2-dev gtkmm3-dev vte3-dev vala gobject-introspection-dev ctags clang-dev flatpak-dev libexecinfo-dev libportal-dev" checkdepends="appstream-glib desktop-file-utils xvfb-run" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/gnome-builder/${pkgver%.*}/gnome-builder-$pkgver.tar.xz fix-musl.patch " build() { export LIBS="$LIBS -lexecinfo" meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Dplugin_sysprof=false \ . output ninja -C output } check() { # Increase the timeout, this can take pretty long, especially on armhf xvfb-run meson test -C output -t 10 } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="ccd6ca916ed6ad10b69e5573482e2ea48cf4227d858605825ab56989840ebbf5a6dfafc915a1f8df3a1061b37c80adfbd03fc9d616c67e08a5032069b11aa4a6 gnome-builder-3.36.0.tar.xz 7e235b7591c73f4e19edcc9cfc17be65fa81d66ea4b098673c5750e6ab93cf8ba59a7d55d4d2f5bd44134608ad08664d905fd8e74d4941f09e6dc0257fa60547 fix-musl.patch"