1 # Submitter: schuay <jakob.gruber@gmail.com>
2 # Maintainer: crazyelf5
7 pkgdesc="A music player written for the Elementary project"
9 url="https://launchpad.net/beat-box"
11 depends=('glib2' 'gtk3' 'libgee' 'gstreamer0.10' 'gstreamer0.10-base'
12 'taglib' 'hicolor-icon-theme' 'libxml2' 'gconf' 'libnotify' 'gettext'
13 'libsoup' 'json-glib' 'granite-bzr' 'sqlheavy-git' 'dconf' 'libgpod')
14 makedepends=('bzr' 'vala' 'cmake' 'desktop-file-utils' 'gtk-update-icon-cache')
15 optdepends=('libzeitgeist' 'libdbusmenu' 'libindicate')
16 install=$pkgname.install
22 msg "Connecting to Bazaar server...."
24 if [ -d $_bzrmod ]; then
25 cd $_bzrmod && bzr pull $_bzrtrunk -r $pkgver
26 msg "The local files are updated."
29 bzr branch $_bzrtrunk $_bzrmod -r $pkgver
32 msg "BZR checkout done or server timeout"
33 msg "Starting make..."
35 [ -d $_bzrmod-build ] && rm -rf $_bzrmod-build
36 cp -r $_bzrmod $_bzrmod-build
39 sed -i 's|sqlheavy-0.1|sqlheavy-0.2|' \
44 sed -i 's|lsqlheavy0.1|lsqlheavy0.2|' \
50 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
55 cd "$srcdir/$_bzrmod-build/build"
56 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install