1 # Maintainer: Dongfengweixiao <dongfengweixiao@gmail.com>
2 pkgname=gnome-shell-extension-music-integration
5 pkgdesc="Integrate your music into Gnome Shell automatically. Turn on more settings by reading the instructions on the extension homepage. "
7 url="https://extensions.gnome.org/extension/30/music-integration/"
9 depends=('gnome-shell-extensions-common')
10 makedepends=('git' 'gnome-common' 'intltool')
11 _gitroot="git://github.com/brianrobles204/Music-Integration.git"
12 _gitname="Music-Integration"
16 msg "Connecting to GIT server...."
18 if [ -d $_gitname ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot --depth=1
25 git branch -f gnome-3-0 origin/gnome-3-0
26 git checkout gnome-3-0
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
31 mkdir -p ${pkgdir}/usr/share/gnome-shell/extensions
34 cd ${srcdir}/${_gitname}
35 cp -rf music-integration@brianrobles204 ${pkgdir}/usr/share/gnome-shell/extensions
37 #This extension listens to Dbus MPRIS2 and automatically looks for players. It then adds an icon to the Gnome panel when it finds a music player and creates a nice notification when the song changes. You also have an option to integrate the player into the volume menu, much like in Ubuntu's setup. All these options are configurable through a nice GUI tool.
39 # Banshee - with DBus Mpris plugin
40 # Rhythmbox - with DBus Mpris plugin
43 # Quodlibet - with DBus Mpris plugin
44 # Google Music Frame / Nuvola
45 #Other Supported Players (may be untested or partially supported):
53 #Note: Audacious is unsupported because it uses an obsolete version of MPRIS. Sorry...