aboutsummaryrefslogtreecommitdiffstats
path: root/community/gitg/APKBUILD
blob: e03c7d50721a6439cf43e7ba6a2a0aafca18577f (plain)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gitg
pkgver=3.32.1
pkgrel=6
pkgdesc="gitg is the GNOME GUI client to view git repositories"
url="https://wiki.gnome.org/Apps/Gitg"
arch="all !s390x !mips !mips64" # missing gtksourceview
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="meson libsoup-dev libgee-dev glib-dev gobject-introspection-dev vala
	gsettings-desktop-schemas-dev libpeas-dev libgit2-glib-dev gtk+3.0-dev libsecret-dev
	libxml2-dev libdazzle-dev gtkspell3-dev gtksourceview-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gitg/${pkgver%.*}/gitg-$pkgver.tar.xz
	Allow-nullable-head-parameter-in-stash_if_needed.patch
	"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="243e630b3e5bb1919dc307e6b3fed1b1b0e3884d2a2507e4526b4af61e86f1cd7004a3dbb96001ffb0280cefe7cdb9b109c39996718913c7410224830c0145a4  gitg-3.32.1.tar.xz
99360bafd08c54470ed8f437ba9e49c2a08671e2ac0134c64ddc08c23e6217681b97c2d7408bfcdfacd6c1e8d02d60b2726bb313421ad8935fe1cbb5937aaba4  Allow-nullable-head-parameter-in-stash_if_needed.patch"