aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious-plugins/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-29 09:46:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-29 09:46:42 +0000
commit08114e959a98c150888b90cc03eeb17898a6137f (patch)
treebc3801452a10426350f58ef17b6e250ebccdfbe5 /main/audacious-plugins/APKBUILD
parentc98d2c856a45c968ed7cb60ef354b4913bc12565 (diff)
downloadaports-08114e959a98c150888b90cc03eeb17898a6137f.tar.bz2
aports-08114e959a98c150888b90cc03eeb17898a6137f.tar.xz
main/audacious*: moved frrom testing
Diffstat (limited to 'main/audacious-plugins/APKBUILD')
-rw-r--r--main/audacious-plugins/APKBUILD88
1 files changed, 88 insertions, 0 deletions
diff --git a/main/audacious-plugins/APKBUILD b/main/audacious-plugins/APKBUILD
new file mode 100644
index 0000000000..d29f690623
--- /dev/null
+++ b/main/audacious-plugins/APKBUILD
@@ -0,0 +1,88 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=audacious-plugins
+pkgver=2.4.2
+pkgrel=7
+pkgdesc="playlist-oriented media player with multiple interfaces (plugins)"
+url="http://audacious-media-player.org/"
+arch="all"
+license="ISC"
+depends=audacious
+_want_ffmpeg="ffmpeg-dev"
+makedepends="libmowgli-dev
+ libmcs-dev
+ libguess-dev
+ gtk+-dev
+ dbus-glib-dev
+ audacious-dev
+ libxml2-dev
+
+ libcdio-dev
+ libcddb-dev
+
+ libxcomposite-dev
+ libsamplerate-dev
+ libcue-dev
+ libmms-dev
+ libsndfile-dev
+
+ libogg-dev
+ libvorbis-dev
+
+ $_want_ffmpeg
+
+ alsa-lib-dev
+ faad2-dev
+ neon-dev
+ curl-dev
+ wavpack-dev
+ lame-dev
+ flac-dev
+
+ autoconf"
+install=
+subpackages=
+source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz
+ alsa-period-wait.patch
+ ffaudio-linker-fix.patch"
+
+_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..."
+ autoconf
+
+ # workaround bug in busybox
+ sed -e "/touch/s/0001010000/200001010000/g" \
+ -i configure
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-chardet
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="c33d0ea67e8fb8d6ed3891d464d5009b audacious-plugins-2.4.2.tgz
+d52abb4b11b1b29ef1f75a2e5b03d3e6 alsa-period-wait.patch
+ce7f401fce3904e81ac8c190c92fb641 ffaudio-linker-fix.patch"