summaryrefslogtreecommitdiff
path: root/libre/audacious-plugins-libre
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /libre/audacious-plugins-libre
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'libre/audacious-plugins-libre')
-rw-r--r--libre/audacious-plugins-libre/PKGBUILD83
1 files changed, 83 insertions, 0 deletions
diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD
new file mode 100644
index 000000000..aca8c9a8d
--- /dev/null
+++ b/libre/audacious-plugins-libre/PKGBUILD
@@ -0,0 +1,83 @@
+# $Id$
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=audacious-plugins-libre
+pkgver=2.4.4
+pkgrel=2
+pkgdesc='Plugins for Audacious without unfree plugins'
+arch=('i686' 'x86_64')
+url='http://audacious-media-player.org/'
+license=('GPL')
+provides=("audacious-plugins=$pkgver")
+replaces=("${pkgname%-libre}")
+conflicts=("${pkgname%-libre}")
+
+makedepends=("audacious>=${pkgver}"
+ 'alsa-lib' 'pulseaudio' 'jack' 'lame' 'libvorbis' 'flac'
+ 'faad2' 'ffmpeg' 'fluidsynth' 'libcdio' 'libsidplay' 'wavpack'
+ 'libnotify' 'lirc-utils' 'curl' 'libmtp'
+ 'neon' 'libmms' 'libcue')
+
+optdepends=('alsa-lib: Advanced Linux Sound Arch. output'
+ 'pulseaudio: PulseAudio output'
+ 'jack: Jack Audio Connection Kit output'
+ 'lame: FileWriter MP3 output'
+ 'libvorbis: Vorbis input, FileWriter Vorbis output'
+ 'flac: FLAC input, FileWriter FLAC output'
+
+ 'faad2: AAC input'
+ 'ffmpeg: ffaudio input'
+ 'fluidsynth: MIDI FluidSynth backend input'
+ 'libcdio: CD Digital Audio input'
+ 'libsidplay: Commodore 64 audio input'
+ 'wavpack: WavPack input'
+
+ 'libnotify: libnotify OSD'
+ 'lirc-utils: LIRC'
+ 'curl: AudioScrobbler Client'
+ 'libmtp: Upload to MTP device'
+
+ 'neon: neon-based http transport'
+ 'libmms: libmms-based mms transport'
+ 'libcue: CUE playlist format')
+
+source=("http://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.gz")
+
+# Source PKGBUILD and run this function from the shell
+mksource(){
+ tmpdir=$(mktemp -d /tmp/audacious-XXXX)
+ pushd $tmpdir >/dev/null
+ wget "http://distfiles.atheme.org/${pkgname%-libre}-$pkgver.tgz" -O - -q | tar xzf -
+
+ rm -rvf ${pkgname%-libre}-$pkgver/src/{u,p}sf/
+
+ mv -v ${pkgname%-libre}-$pkgver ${pkgname}-$pkgver
+
+ tar czf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}/
+
+ echo "You can find the sources at $tmpdir"
+
+ popd >/dev/null
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --build=$CHOST \
+ --host=$CHOST \
+ --target=$CHOST \
+ --prefix=/usr \
+ --enable-chardet \
+ --enable-amidiplug \
+ --disable-adplug \
+ --disable-psf
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('df761a2d07e2ad1221c5fe61fa32dcb0')