aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gradio/APKBUILD
blob: 51ea85a7b0bba0573285f2443d8d934ad820cfdf (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
34
# Contributor: Daniele Debernardi <drebrez@gmail.com>
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=gradio
pkgver=7.3
pkgrel=2
pkgdesc="A GTK3 app for finding and listening to internet radio stations"
url="https://github.com/haecker-felix/Gradio"
arch="all !armhf" # gst-plugins-good missing, which depends on qt5-declarative
license="GPL-3.0-or-later"
depends="gst-plugins-good"
makedepends="meson vala gtk+3.0-dev libsoup-dev json-glib-dev gstreamer-dev gst-plugins-base-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/haecker-felix/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/Gradio-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="d2bfd49ead90627b0516c320a5260f14ba2ea9ab5e417dafc38babc7eaaa706395986122d103bde931406f4240212210d2a7dbee6b69bddb901dc5705cac977b  gradio-7.3.tar.gz"