aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/audacious/APKBUILD')
-rw-r--r--main/audacious/APKBUILD29
1 files changed, 24 insertions, 5 deletions
diff --git a/main/audacious/APKBUILD b/main/audacious/APKBUILD
index 93ce524430..51b8c09cba 100644
--- a/main/audacious/APKBUILD
+++ b/main/audacious/APKBUILD
@@ -1,25 +1,44 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious
-pkgver=3.2
-pkgrel=1
+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"
+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="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="7ee79d8314104534cf1c66c8c212515b audacious-3.2.tar.gz"
+md5sums="e7b1fc6eaf2acfcceb77ba8c98d113ee audacious-3.2.2.tar.gz
+7abde75797b18a2f9a3177027787213f audacious-3.2.2-fix-build-gmodule.patch"