aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious/APKBUILD
blob: 51b8c09cbaaf0c924c509cc27fc3f18de2e6d362 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious
pkgver=3.2.2
pkgrel=0
pkgdesc="playlist-oriented media player with multiple interfaces"
url="http://audacious-media-player.org/"
arch="all"
license="ISC"
depends=
depends_dev="libmowgli-dev libmcs-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
	audacious-3.2.2-fix-build-gmodule.patch
	"

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="e7b1fc6eaf2acfcceb77ba8c98d113ee  audacious-3.2.2.tar.gz
7abde75797b18a2f9a3177027787213f  audacious-3.2.2-fix-build-gmodule.patch"