# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=audacious-plugins pkgver=3.1 pkgrel=0 pkgdesc="playlist-oriented media player with multiple interfaces (plugins)" url="http://audacious-media-player.org/" arch="all" license="ISC" depends=audacious install_if=audacious _want_ffmpeg="ffmpeg-dev" makedepends="libmowgli-dev libmcs-dev libguess-dev gtk+-dev dbus-glib-dev audacious-dev>=${pkgver%.*} libxml2-dev mpg123-dev libcdio-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 autoconf" install= subpackages= source="http://distfiles.atheme.org/$pkgname-$pkgver.tar.gz" _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="46606131a9fd11d190b9a0181cc4ffa2 audacious-plugins-3.1.tar.gz"