1 # Contributor: m23l <post235@gmail.com>
3 pkgname=gmusicbrowser-shimmer-git
6 pkgdesc="An open-source jukebox for large collections of mp3/ogg/flac/mpc/ape files, written in perl with shimmer layout"
8 url="http://gmusicbrowser.org"
12 optdepends=('alsa-utils: enables the ALSA backend'
13 'flac123: flac support for the ALSA backend'
14 'mpg321: mp3 support for the ALSA backend'
15 'vorbis-tools: vorbis support for the ALSA backend'
16 'mplayer: enables the mplayer backend'
17 'perl-gstreamer: enables the gstreamer backend'
18 'gstreamer0.10-base: vorbis supportfor the gstreamer backend'
19 'gstreamer0.10-good-plugins: flac support for the gstreamer backend'
20 'gstreamer0.10-ugly-plugins: mp3 support for the gstreamer backend'
21 'perl-gtk2-trayicon: tray icon support'
22 'perl-gtk2-mozembed: web-based plugins support'
23 'perl-gtk2-webkit: alternative web-based plugin support'
24 'perl-locale-gettext: localization support'
25 'perl-net-dbus: control gmusicbrowser through dbus and gnome hotkeys'
26 'perl-gnome2-wnck: titlebar plugin support')
27 conflicts=('gmusicbrowser' 'gmusicbrowser-devel')
31 _gitroot="https://github.com/shimmerproject/gmusicbrowser.git"
32 _gitname="gmusicbrowser"
36 msg "Connecting to GIT server...."
38 if [ -d $startdir/src/$_gitname ] ; then
39 cd $_gitname && git pull origin
40 msg "The local files are updated."
45 msg "GIT checkout done or server timeout"
46 msg "Starting make..."
50 cp -r "$_gitname" "$_gitname-build"
53 make DESTDIR=${pkgdir} install || return 1