summaryrefslogtreecommitdiff
path: root/community/xmms2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-04-18 00:01:47 +0000
commit637c1cfdcd258a870ad5367cbf47a8a2799039c7 (patch)
tree04dabe84f2527ce4ef85b0905f186ebb93cacdb9 /community/xmms2
parent0fb510ac9b1defac6c3d54a68eccd7e18635b474 (diff)
Wed Apr 18 00:01:47 UTC 2012
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
}