1 # Contributor: Xilon <xilon@gmail.com>
2 # Contributor: lh <jarryson@gmail.com>
7 pkgdesc="A complete rewrite of the popular music player with autocompletion and CUE support without ALSA dependence and fix /etc/rc.d/xmms2d"
9 url="http://wiki.xmms2.xmms.se"
11 backup=('etc/conf.d/xmms2d.conf')
12 depends=('sqlite3' 'libmad' 'libvorbis')
13 makedepends=('python' 'glib' 'sqlite3' 'curl' 'libmad' 'faad2' 'boost'
14 'flac' 'libmpcdec' 'smbclient' 'libmms' 'ffmpeg' 'ruby' 'avahi'
15 'jack-audio-connection-kit' 'libxml2' 'pyrex' 'libofa')
22 bash-completion-xmms2 \
26 _gitroot="git://git.xmms.se/xmms2/xmms2-devel"
27 _gitname="xmms2-devel"
31 msg "Connecting to git.xmms.se GIT server...."
33 if [ -d $startdir/src/$_gitname ] ; then
34 cd $_gitname && git pull origin
35 msg "The local files are updated."
42 cp -r $_gitname $_gitname-build
45 patch -p1 -i ../startms2.patch || return 1
47 ./waf configure --nocache --prefix=/usr --without-plugins=alsa --with-optionals=python,cli,launcher,xmmsclient++,xmmsclient++-glib,avahi,perl,ruby || return 1 || return 1
48 ./waf build || return 1
49 ./waf --destdir=$startdir/pkg install || return 1
51 install -D -m 0755 ../xmms2d.rc $startdir/pkg/etc/rc.d/xmms2d && \
52 install -D -m 0644 ../xmms2d.conf $startdir/pkg/etc/conf.d/xmms2d.conf
53 mkdir -pv $startdir/pkg/etc/bash_completion.d
54 install -v -m 644 $startdir/src/bash-completion-xmms2 $startdir/pkg/etc/bash_completion.d/xmms2