1 # Maintainer: Christopher Rosell <chrippa@tanuki.se>
2 # Contributor: Xilon <xilon@gmail.com>
3 # Contributor: lh <jarryson@gmail.com>
4 # Contributor: Aaron 'venisonslurpee' Laursen <venisonslurpee@gmail.com>
5 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
10 pkgdesc="complete rewrite of the popular music player"
11 arch=('i686' 'x86_64')
12 url="http://xmms2.org/"
13 license=('GPL' 'LGPL')
14 backup=('etc/conf.d/xmms2d.conf')
15 depends=('sqlite3' 'glib2' 'readline')
16 makedepends=('alsa-lib' 'avahi' 'boost' 'curl' 'faad2'
17 'ffmpeg' 'fftw' 'flac' 'glib2' 'jack' 'libao' 'libcdio'
18 'libdiscid' 'libgme' 'libmms' 'libmodplug' 'libmpcdec'
19 'libofa' 'libsamplerate' 'libshout' 'libvorbis'
20 'libxml2' 'mpg123' 'perl' 'pulseaudio' 'pyrex' 'python'
21 'ruby' 'sidplay2-libs' 'smbclient' 'speex' 'wavpack'
23 optdepends=('alsa-lib: ALSA audio output'
24 'avahi: announce xmms2d via bonjour/mDNS/zeroconf'
25 'boost: C++ language bindings'
26 'curl: play HTTP streams'
28 'ffmpeg: WMA, avcodec & avformat support'
29 'fftw: calculations for visualization'
31 'jack: JACK audio output'
32 'libao: liboa audio output'
33 'libdiscid: cdda support'
34 'libcdio: cdda support'
35 'libofa: MusicDNS fingerprinting'
36 'libgme: support various game music formats'
37 'libmms: play MMS streams'
38 'libmodplug: to play MOD files'
39 'libmpcdec: Musepack support'
40 'libpulse: PulseAudio audio output'
41 'libsamplerate: vocoder support'
42 'libshout: Icecast audio output'
43 'libvorbis: Ogg Vorbis support'
44 'libxml2: XSPF and podcast support'
45 'mpg123: alternative MP3 plugin'
46 'oss: OSS audio output'
47 'perl: Perl language bindings'
48 'pyrex: Python language bindings'
49 'ruby: Ruby language bindings'
50 'sidplay2-libs: to play a Commodore 64 music files AKA zaks'
51 'smbclient: direct CIFS/SMB access'
52 'speex: Speex support'
53 'wavpack: WavPack support')
54 conflicts=('xmms2' 'xmms2-devel')
57 source=(xmms2d.conf xmms2d.rc)
58 md5sums=('af13c937bf3c86b77ae6820107aab9b8'
59 '893371ba4dc7b428322e44329683211f')
61 _gitroot="git://git.xmms.se/xmms2/xmms2-devel"
62 _gitname="xmms2-devel"
66 msg "Connecting to git.xmms.se GIT server...."
68 if [ -d $startdir/src/$_gitname ] ; then
69 cd $_gitname && git pull origin
71 msg "The local files are updated."
73 git clone $_gitroot $_gitname
80 if [ -d $_gitname-build ]; then
81 rm -rf $_gitname-build
84 cp -a $_gitname $_gitname-build
87 ./waf configure --prefix=/usr \
88 --with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli,mdns,pixmaps,medialib-updater
93 cd $srcdir/$_gitname-build
94 ./waf --destdir=${pkgdir} install
96 install -D -m 0755 ../xmms2d.rc ${pkgdir}/etc/rc.d/xmms2d
97 install -D -m 0644 ../xmms2d.conf ${pkgdir}/etc/conf.d/xmms2d.conf
100 # vim:set ts=2 sw=2 et: