1 # Maintainer: Damien Churchill <damoxc@gmail.com>
6 pkgdesc="Media Explorer is a media centre application for Linux "
8 url="http://media-explorer.github.com/"
11 makedepends=('git' 'gnome-common' 'intltool' 'gtk-doc' 'librest>=0.7' 'grilo>=0.1.14' 'mx-1.2' 'gssdp>=0.10' 'gnome-desktop2')
15 _gitroot=git://github.com/media-explorer/media-explorer
16 _gitname=media-explorer
20 msg "Connecting to github.com GIT server...."
22 if [ -d $startdir/src/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated"
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
31 cd "$srcdir/$_gitname"
34 sed -i 's/python/python2/g' tools/glib-ginterface-gen.py
35 sed -i 's/python/python2/g' mex/Makefile*
36 sed -i 's/python/python2/g' applets/rebinder/Makefile*
38 ./autogen.sh --prefix=/usr --enable-lirc
43 cd "$srcdir/$_gitname"
44 make install DESTDIR="${pkgdir}"