summaryrefslogtreecommitdiff
path: root/community/xmms2
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmms2')
-rw-r--r--community/xmms2/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/xmms2/PKGBUILD b/community/xmms2/PKGBUILD
index 13b6c006f..3ef7e4962 100644
--- a/community/xmms2/PKGBUILD
+++ b/community/xmms2/PKGBUILD
@@ -1,19 +1,19 @@
-# $Id: PKGBUILD 67933 2012-03-16 10:22:42Z spupykin $
+# $Id: PKGBUILD 69440 2012-04-16 10:52:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=xmms2
pkgver=0.8DrO_o
-pkgrel=5
+pkgrel=6
pkgdesc="complete rewrite of the popular music player"
arch=('i686' 'x86_64')
url="http://xmms2.org/"
license=('LGPL')
backup=('etc/conf.d/xmms2d.conf')
-depends=('sqlite3' 'libmad')
+depends=('sqlite' 'libmad')
makedepends=('alsa-lib' 'boost' 'curl' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib'
'jack' 'libao' 'libmms' 'libmpcdec' 'libofa' 'libsamplerate' 'libshout'
'libvorbis' 'libxml2' 'mpg123' 'oss' 'perl' 'pulseaudio' 'pyrex'
- 'ruby' 'smbclient' 'speex' 'wavpack' 'libmodplug') # avahi
+ 'ruby' 'smbclient' 'speex' 'wavpack' 'libmodplug' 'python' 'python2' 'libgme' 'avahi')
optdepends=('alsa-lib: ALSA audio output'
'avahi: announce xmms2d via bonjour/mDNS/zeroconf'
'boost: C++ language bindings'
@@ -24,6 +24,7 @@ optdepends=('alsa-lib: ALSA audio output'
'flac: FLAC support'
'jack: JACK audio output'
'libao: liboa audio output'
+ 'libgme: game-music-emu support'
'libofa: MusicDNS fingerprinting'
'libmms: play MMS streams'
'libmodplug: to play MOD files'
@@ -57,15 +58,19 @@ build() {
cd ${srcdir}/${pkgname}-${pkgver}
# python2 fix
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' waf
+# sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' waf
./waf configure --prefix=/usr \
- --with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli,pixmaps \
+ --with-optionals=python,launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli,pixmaps,et,mdns,medialib-updater \
--with-ruby-archdir=`ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]'` \
--with-ruby-libdir=`ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]'`
./waf build
./waf --destdir=${pkgdir} install
+ PYTHON=/usr/bin/python2 ./waf configure --prefix=/usr --with-optionals=python --without-xmms2d
+ ./waf build
+ ./waf --destdir=${pkgdir} install
+
install -D -m 0755 ../xmms2d.rc ${pkgdir}/etc/rc.d/xmms2d
install -D -m 0644 ../xmms2d.conf ${pkgdir}/etc/conf.d/xmms2d.conf
}