aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-builder/APKBUILD
blob: cb40c6b5127549a8ef1b0119be9fd7227f443b9f (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.2
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="6f9d284a9c915562fe55a863ddcc385ca9278b4ee201f4b97272f425937066d630c35c0b337bdf94ce4b12226080a9020eb5dc253ccfb25bc6cdbf8e50779569  gnome-builder-3.38.2.tar.xz
ef7f75d316558e59ecb07b4fc8ef92abc51d78d6983021588546fadb57f90d971561be1f2491a2750e61e07c6d6200f3c199dab3db1060a2217ccbdb2505239e  fix-musl.patch"