aboutsummaryrefslogtreecommitdiffstats
path: root/community/audacious-plugins/APKBUILD
blob: dfbff3b70804ec492b6722744846a7f04dff5641 (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
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
74
75
76
77
78
79
80
81
82
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: 
# Maintainer: 
pkgname=audacious-plugins
pkgver=3.10
pkgrel=1
pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)"
url="http://audacious-media-player.org/"
arch="all !s390x"
license="ISC"
depends="audacious"
install_if="audacious=$pkgver"
_want_ffmpeg="ffmpeg-dev"
makedepends="libmowgli-dev
             libguess-dev
             gtk+-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

	     $_want_ffmpeg

             alsa-lib-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"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	msg "Rebuilding configure..."
	aclocal -I m4 && autoheader && autoconf

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

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

sha512sums="88dd93b5a7f6582ec42cf539d1000de0900cce683f4de85d8a17f57c7ba34545c6277882cad1505cb6682ee7b885ffcd1fe5675f7e24dc3e2a650615789d9d52  audacious-plugins-3.10.tar.bz2"