PKGBUILDs/extra/audacious-plugins/PKGBUILD
2009-10-18 22:17:58 -05:00

50 lines
1.9 KiB
Bash

# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=audacious-plugins
pkgver=2.1
pkgrel=1
pkgdesc="Plugins for Audacious"
arch=('arm')
url="http://audacious-media-player.org/"
license=('GPL')
depends=('libmad' 'libvorbis')
makedepends=('jack-audio-connection-kit' 'lame' 'fluidsynth' 'libcdio>=0.81-2' 'libsidplay' 'wavpack'
'libmpcdec' 'taglib' 'lirc-utils' 'curl' 'libmtp>=0.3.7-1' 'sdl' 'projectm' 'imlib2'
'neon' 'libmms' 'gtkglext' "audacious>=${pkgver}")
optdepends=('jack-audio-connection-kit: JACK output plugin'
'lame: FileWriter output plugin'
'fluidsynth: FluidSynth backend for AMIDI-Plug input plugin'
'libcdio: CD Audio input plugin'
'libsidplay: SID input plugin'
'wavpack: WavPack input plugin'
'libmpcdec: Musepack input plugin'
'taglib: Musepack input plugin'
'lirc-utils: LIRC plugin'
'curl: Audioscrobbler plugin'
'libmtp: MTP upload plugin'
'sdl: Paranormal and projectM visualization plugins'
'projectm: projectM visualization plugin'
'imlib2: RootVis visualization plugin'
'neon: HTTP transport plugin'
'libmms: MMS transport plugin')
source=(http://distfiles.atheme.org/audacious-plugins-$pkgver.tgz)
md5sums=('087fcb1f6fb8429b267f18ed3e3acb7a')
build() {
cd "$srcdir/audacious-plugins-$pkgver"
if [[ $CARCH = "i686" ]]; then
./configure --prefix=/usr --disable-esd --disable-arts --disable-pulse \
--enable-amidiplug --disable-timidity --disable-adplug \
--enable-chardet --disable-sse2 || return 1
elif [[ $CARCH = "x86_64" ]]; then
./configure --prefix=/usr --disable-esd --disable-arts --disable-pulse \
--enable-amidiplug --disable-timidity --disable-adplug \
--enable-chardet || return 1
fi
make || return 1
make DESTDIR="$pkgdir" install || return 1
}