# Contributor: Ɓukasz Jendrysik # Contributor: William Pitcock # Maintainer: William Pitcock pkgname=audacious-plugins pkgver=3.7.2 pkgrel=2 pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)" url="http://audacious-media-player.org/" arch="all" license="ISC" depends="audacious" install_if="audacious=$pkgver" _want_ffmpeg="ffmpeg-dev" makedepends="libmowgli-dev libguess-dev gtk+-dev dbus-glib-dev audacious-dev>=${pkgver%.*} libxml2-dev mpg123-dev libcdio-dev libcdio-paranoia-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 sdl-dev automake autoconf" install= subpackages="$pkgname-lang $pkgname-dbg" source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2" _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 # workaround bug in busybox sed -e "/touch/s/0001010000/200001010000/g" \ -i configure } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="6ae2f17885897e717b8bbafc32858e2f audacious-plugins-3.7.2.tar.bz2" sha256sums="fcf7488f01781c8f51e0af5cabacdd582b22537a0085f26aa5ca636373f8e1ff audacious-plugins-3.7.2.tar.bz2" sha512sums="20bb5b6c777fd6b8bb7a4789bc638faa4146aa7d39c099fe2c2ccd3c919e3548a6a387cd5fa39003cbb4e02e9d78b49461943135e24ee6dabac9eedd3394ba97 audacious-plugins-3.7.2.tar.bz2"