aboutsummaryrefslogtreecommitdiffstats
path: root/community/audacious/APKBUILD
blob: e8a03ec72f7f9209058eb3f113f63339897f8312 (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
35
36
37
38
39
40
41
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=audacious
pkgver=4.0
pkgrel=0
pkgdesc="A playlist-oriented media player with multiple interfaces"
url="https://audacious-media-player.org/"
arch="all !s390x"
license="BSD-2-Clause AND ISC"
depends_dev="dbus-glib-dev qt5-qtbase-dev"
makedepends="$depends_dev libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-chardet \
		--disable-valgrind \
		--enable-dbus \
		--disable-gtk \
		--enable-qt
	make
}

check() {
	cd "$builddir"/src/libaudcore/tests
	make test
	./test
}

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

sha512sums="82a44270a4dad39098f7055d540a44e6e0e9826a3f140d7feb537518e42a8d391357c1adbcc62d118b0a82e79c88729e74748f8b41b9d8e4ff40ffc5d96ec759  audacious-4.0.tar.bz2"