aboutsummaryrefslogtreecommitdiffstats
path: root/main/d-feet/APKBUILD
blob: f782a213d380b38f57cef6d5670e025b04265bd6 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=d-feet
pkgver=0.3.15
_v=${pkgver%.*}
pkgrel=4
pkgdesc="A powerful D-Bus Debugger"
options="!check" # Testsuite loops infinitely
url="https://wiki.gnome.org/action/show/Apps/DFeet"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 py3-gobject3 gtk+3.0"
makedepends="
	meson
	itstool
	glib-dev
	gtk+3.0-dev
	gobject-introspection-dev
	"
source="https://download.gnome.org/sources/d-feet/$_v/d-feet-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dtests=false \
		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

	# Fix on musl
	sed -i 's|locale.textdomain("d-feet")||' "$pkgdir"/usr/bin/d-feet
}

sha512sums="c8ac20b91dfa5fea2282099a772c3668ebe75b0e4977b08adc3ee9591e00e391398835af5486b32d8d65e558c58f55cc26523b0e4a3ff1745b722ee90000de87  d-feet-0.3.15.tar.xz"