summaryrefslogtreecommitdiffstats
path: root/main/audacious/APKBUILD
blob: c8f20e9912f8ae19fc2d8205579266e7fe0f3432 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious
pkgver=3.2.4
pkgrel=0
pkgdesc="playlist-oriented media player with multiple interfaces"
url="http://audacious-media-player.org/"
arch="all"
license="ISC"
depends=
depends_dev="gtk+-dev dbus-glib-dev"
makedepends="$depends_dev libguess-dev libxml2-dev autoconf automake"
install=
subpackages="$pkgname-dev $pkgname-lang"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.gz
	"

source /usr/share/abuildhelper/rules/base.sh

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"

	for i in $source; do
		case $i in
		*.patch)
			msg "Applying $i..."
			patch -s -p1 -N -i "$srcdir"/$i || return 1
			;;
		esac
	done

	msg "Rebuilding configure..."
	aclocal -I m4 && autoheader && autoconf || return 1
}
using autotools
using makeinstall
using plugin atheme-buildsys

ac_enable_opt chardet

md5sums="2d8e262ea6ffee704d4d0d72b49b13bc  audacious-3.2.4.tar.gz"