1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
2 # Contributor: Aren Olson <reacocard at gmail dot com>
8 pkgdesc="A full featured music player written for GTK+"
10 url="https://launchpad.net/exaile"
11 license=('GPL2' 'GPL3')
12 depends=('dbus-python' 'desktop-file-utils' 'gstreamer0.10-good-plugins' \
13 'gstreamer0.10-python' 'mutagen' 'pygtk' 'python2-bsddb')
14 makedepends=('bzr' 'help2man')
15 optdepends=('exfalso: ex-falso tag editor'
16 'gstreamer0.10-plugins: more codecs'
17 'hal: device autodetection'
18 'ipython: ipython plugin'
19 'libgpod: iPod support'
20 'moodbar: moodbar plugin'
21 'notify-osd: notify-osd notifications'
22 'pybonjour: DAAP server plugin'
23 'pycddb: CD metadata retrieval'
24 'python-notify: libnotify notifications'
25 'python-imaging: contextinfo plugin'
26 'python2-mmkeys: xkeys plugin'
27 'pywebkitgtk: contextinfo plugin'
28 'streamripper: streamripper plugin')
29 provides=(${_pkgname})
30 conflicts=(${_pkgname} ${_pkgname}-beta ${_pkgname}-old)
31 install=${pkgname}.install
33 _bzrtrunk="lp:${_pkgname}"
39 msg "Connecting to the server...."
41 if [ -d ${_bzrmod} ]; then
43 msg "The local files are updated."
45 bzr co ${_bzrtrunk} ${_bzrmod}
48 msg "BZR checkout done or server timeout"
49 msg "Starting make..."
51 rm -rf "${_bzrmod}-build"
52 cp -r "${_bzrmod}" "${_bzrmod}-build"
56 for file in plugins/*/*.py; do
57 sed -i 's_python_&2_' "${file}"
64 cd "${srcdir}/${_bzrmod}-build"
66 make PREFIX=/usr DESTDIR="${pkgdir}" install
69 # vim:set ts=2 sw=2 et: