aboutsummaryrefslogtreecommitdiffstats
path: root/community/audacious-plugins/APKBUILD
blob: 41efafab621939afd4a3482b45c34a976b62bea9 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=audacious-plugins
pkgver=3.10.1
pkgrel=3
pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)"
url="https://audacious-media-player.org/"
arch="all !s390x"
license="ISC"
depends="audacious"
install_if="audacious=$pkgver"
makedepends="
	libmowgli-dev
	libguess-dev
	dbus-glib-dev
	audacious-dev>=${pkgver%.*}
	libxml2-dev
	mpg123-dev
	libcdio-dev
	libcdio-paranoia-dev
	libcddb-dev
	libxcomposite-dev
	libsamplerate-dev
	libcue-dev
	libmms-dev
	libsndfile-dev
	libnotify-dev
	libogg-dev
	libvorbis-dev
	ffmpeg-dev
	alsa-lib-dev
	pulseaudio-dev
	faad2-dev
	neon-dev
	curl-dev
	wavpack-dev
	lame-dev
	flac-dev
	sdl-dev
	automake
	autoconf
	"
subpackages="$pkgname-lang $pkgname-dbg"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"

prepare() {
	default_prepare

	aclocal -I m4 && autoheader && autoconf

	# workaround bug in busybox
	sed -e "/touch/s/0001010000/200001010000/g" \
		-i configure
}

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

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

sha512sums="454e9ce4061e92a0ecda40f562d4cc7453fc0019fd76b25dbe9e319319fa37c22f9785cb29563e8074de8a88e6130106aca1e431790297e1b4636dc974fde565  audacious-plugins-3.10.1.tar.bz2"