aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lingot/APKBUILD
blob: 707467daed15eee67c00d5d388dd0cd37e55e4d2 (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
42
43
44
45
46
47
48
# Contributor: Kevin Thomas <me@kevinthomas.dev>
# Maintainer: Kevin Thomas <me@kevinthomas.dev>
pkgname=lingot
pkgver=1.1.1
pkgrel=0
pkgdesc="Musical instrument tuner"
url="https://github.com/ibancg/lingot"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake intltool gtk+3.0-dev libtool pkgconfig
	json-c-dev alsa-lib-dev pulseaudio-dev jack-dev fftw-dev"
checkdepends="cunit-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/ibancg/lingot/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-alsa \
		--with-pulseaudio \
		--with-jack \
		--with-oss \
		--with-fftw \
		--with-cunit \
		--disable-nls \
		--disable-dependency-tracking
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4bcfbabccfdfb4d7077d17eec709f35c1427ce91bc08f967bcc53cb321aaf2f83901cea19025d03ffe926b60c9b64d9d85b976852c709c52438c9d702912291c  lingot-1.1.1.tar.gz"