1 # Maintainer: M0Rf30 < morf3089 at gmail dot com >
3 pkgname=kdeplasma-addons-applets-veromix-svn
6 pkgdesc="A plasmoid mixer for the Pulseaudio sound server"
7 url="http://code.google.com/p/veromix-plasmoid/"
10 depends=('kdebindings-python' 'kdebase-workspace' 'python2-qt' 'pulseaudio' 'pyxdg')
11 conflicts=('kdeplasma-addons-applets-veromix')
13 optdepends=('pulseaudio-equalizer'
14 'swh-plugins: equalizer and other effects support')
16 _svntrunk="http://veromix-plasmoid.googlecode.com/svn/trunk/"
22 msg "Connecting to $_svnmod SVN server..."
24 if [ -d $_svnmod ] ; then
25 (cd $_svnmod && svn update)
26 msg "The local files are updated."
28 svn co ${_svntrunk} ${_svnmod}
32 msg "SVN checkout done or server timeout"
34 install -dm755 ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid || return 1
35 cp -R {contents,dbus-service,metadata.desktop} ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid || return 1
36 install -Dm644 metadata.desktop ${pkgdir}/usr/share/kde4/services/plasma-applet-veromix-plasmoid.desktop || return 1
39 sed -i -e '1 s/python/python2/' ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid/dbus-service/VeromixServiceMain.py