aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-builder/APKBUILD
blob: 0327a9c8a66379abef1dff8eaa5cd9b10509b976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-builder
pkgver=3.38.1
pkgrel=0
pkgdesc="Develop software for GNOME"
url="https://wiki.gnome.org/Apps/Builder"
arch="all !s390x !mips !mips64"
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"
	abuild-meson \
		-Dplugin_sysprof=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -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" meson install --no-rebuild -C output
}

sha512sums="50872a7285292f4e29acec153a7ba4616ab8e69529fbc7682fb74fa9d8b5c49ed52b939c7652bcf410444e2c2de969280b82ab4da44008f4b95863bfd52ac59a  gnome-builder-3.38.1.tar.xz
ef7f75d316558e59ecb07b4fc8ef92abc51d78d6983021588546fadb57f90d971561be1f2491a2750e61e07c6d6200f3c199dab3db1060a2217ccbdb2505239e  fix-musl.patch"