Source

builders / xmms2

#!/usr/bin/env python

import os
from build import *

apt_get(['git-core', 'libsqlite3-dev', 'libxml2-dev', 'libglib2.0-dev',
         'libasound2-dev', 'libpulse-dev', 'libcurl4-openssl-dev',
         'libavcodec-dev', 'libwavpack-dev', 'libssl-dev', 'libshout3-dev',
         'libmpcdec-dev', 'libmad0-dev', 'libmms-dev', 'libflac-dev',
         'libfftw3-dev', 'libmodplug-dev', 'python-dev', 'libvorbisenc2',
         'libreadline-dev', 'libncurses5-dev'])

rmtree(BUILD_DIR)
mkdir(BUILD_DIR)
call(['git', 'clone', 'git://git.xmms.se/xmms2/xmms2-devel.git/'],
     cwd=BUILD_DIR)
xmms_dir = join(BUILD_DIR, 'xmms2-devel')

call(['./waf', 'configure', '--with-default-output-plugin=pulse',
      '--without-optionals=perl', '--prefix=' + INSTALL_DIR], cwd=xmms_dir)
call(['./waf', 'build', parallelism_flag], cwd=xmms_dir)
call(['./waf', 'install'], cwd=xmms_dir)