# Contributor: Rasmus Thomsen # Maintainer: jane400 pkgname=gnome-builder pkgver=44.2 pkgrel=5 pkgdesc="Develop software for GNOME" url="https://wiki.gnome.org/Apps/Builder" # limited by polkit -> flatpak # ppc64le: libdex arch="all !ppc64le !s390x !riscv64" license="GPL-3.0-or-later" depends="flatpak-builder py3-lxml py3-gobject3" makedepends=" clang-dev cmark-dev ctags desktop-file-utils devhelp-dev d-spy-dev editorconfig-dev enchant2-dev flatpak-dev glib-dev gobject-introspection-dev gspell-dev gtk4.0-dev gtkmm3-dev gtksourceview5-dev json-glib-dev jsonrpc-glib-dev libadwaita-dev libdazzle-dev libdex-dev libgit2-glib-dev libpanel-dev libpeas-dev libportal-dev libxml2-dev llvm-dev meson pango-dev pcre2-dev template-glib-dev vala vte3-dev webkit2gtk-6.0-dev " checkdepends="appstream-glib xvfb-run" subpackages="$pkgname-pyc $pkgname-dev $pkgname-lang" source=" https://download.gnome.org/sources/gnome-builder/${pkgver%.*}/gnome-builder-$pkgver.tar.xz " options="!check" # re-enable once gnome.gitlab is back build() { abuild-meson \ -Db_lto=true \ -Dplugin_sysprof=false \ -Dtracing=false \ . output meson compile -C output } check() { # Increase the timeout, this can take pretty long, especially on armhf xvfb-run -a meson test --print-errorlogs -C output -t 10 } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 0e0bdf57b1467789b6fe221e484e2cce5e37dae0fe3c190db51ec0f150a0ced1eca574bebceefe4ca33d31b4f09f472a0853fce24b1ef3f5de82256fa01f6090 gnome-builder-44.2.tar.xz "