mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
51 lines
2 KiB
Bash
51 lines
2 KiB
Bash
# $Id: PKGBUILD 45594 2009-07-13 01:10:18Z eric $
|
|
# 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=('i686' 'x86_64')
|
|
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
|
|
}
|