diff --git a/audacious-plugins/PKGBUILD b/audacious-plugins/PKGBUILD new file mode 100644 index 0000000..96b23b6 --- /dev/null +++ b/audacious-plugins/PKGBUILD @@ -0,0 +1,77 @@ +# $Id$ +# Original Maintainer: Evangelos Foutras +# Contributor: Gaetan Bisson +# Contributor: Alexander Fehr +# Contributor: William Rea + +pkgname=audacious-plugins +pkgver=3.9 +pkgrel=2 +pkgdesc="Plugins for Audacious" +arch=('x86_64') +url="http://audacious-media-player.org/" +license=('BSD' 'GPL') + +makedepends=("audacious>=$pkgver" 'qt5-multimedia' + 'glib2' 'python' # for gdbus-codegen + 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' + 'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplayfp' 'wavpack' + 'dbus-glib' 'libsamplerate' 'libnotify' 'lirc' 'curl' 'libmtp' + 'neon' 'libmms' 'libcue') + +optdepends=('alsa-lib: Advanced Linux Sound Arch. output' + 'pulseaudio: PulseAudio output' + 'jack2: Jack Audio Connection Kit output' + 'lame: FileWriter MP3 output' + 'libvorbis: Vorbis input, FileWriter Vorbis output' + 'flac: FLAC input, FileWriter FLAC output' + + 'mpg123: MP3 input' + 'faad2: AAC input' + 'ffmpeg: ffaudio input' + 'libmodplug: modplug input' + 'fluidsynth: MIDI FluidSynth backend input' + 'libcdio-paranoia: CD Digital Audio input' + 'libsidplayfp: Commodore 64 audio input' + 'wavpack: WavPack input' + + 'dbus-glib: Gnome Shortcuts Plugin' + 'libsamplerate: Speed and Pitch Plugin' + 'libnotify: libnotify OSD' + 'lirc: LIRC' + 'curl: AudioScrobbler Client' + 'libmtp: Upload to MTP device' + + 'neon: neon-based http transport' + 'libmms: libmms-based mms transport' + 'libcue: CUE playlist format' + 'qt5-multimedia: qtaudio support') + +source=(http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2) +sha256sums=('8bf7f21089cb3406968cc9c71307774aee7100ec4607f28f63cf5690d5c927b8') + +prepare() { + cd "$srcdir/$pkgname-$pkgver"/src/qtui + + # /usr/include/qt/QtGui/qstatictext.h:70:18: note: no known conversion for argument 1 from ‘QString’ to ‘const QStaticText&’ + # Failed to compile info_bar.cc (plugin)! + sed -i 's|d.title = metrics.elidedText|d.title.text() = metrics.elidedText|' info_bar.cc +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --enable-qt \ + --enable-amidiplug + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/audacious/PKGBUILD b/audacious/PKGBUILD new file mode 100644 index 0000000..5c65c6d --- /dev/null +++ b/audacious/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Original Maintainer: Evangelos Foutras +# Contributor: Gaetan Bisson +# Contributor: Alexander Fehr +# Contributor: Giovanni Scafora + +pkgname=audacious +pkgver=3.9 +pkgrel=1 +pkgdesc="Lightweight, advanced audio player focused on audio quality" +arch=('x86_64') +url="http://audacious-media-player.org/" +license=('BSD') +depends=('qt5-base' 'gtk2' 'glib2' 'libguess' 'libsm' 'audacious-plugins' + 'gnome-icon-theme' 'hicolor-icon-theme' 'desktop-file-utils') +makedepends=('python') # for gdbus-codegen +optdepends=('unzip: zipped skins support') +provides=('audacious-player') +conflicts=('audacious-player') +replaces=('audacious-player') +source=(http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2) +sha256sums=('2d8044673ac786d71b08004f190bbca368258bf60e6602ffc0d9622835ccb05e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --enable-qt \ + --with-buildstamp='Arch Linux' + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: