2 #Maintainer: Swift Geek (swiftgeek (at) google mail service)
3 #Maintainer's bitcoin address: 1KkTAxW66TL9mTML3BpFMMSH8TRetvVtG4
8 pkgdesc="Me TV is a GTK desktop application for watching digital television services that use the DVB standard - DVB-T, DVB-S, DVB-C and ATSC"
10 url="https://github.com/lamothe/me-tv"
12 depends=('glibmm' 'gtkmm' 'gconfmm' 'glib2' 'sqlite3' 'linuxtv-dvb-apps' 'libunique' 'gnome-common' 'libgdamm')
13 makedepends=('intltool' 'git')
15 conflicts=('me-tv2-bzr')
16 install=me-tv-bzr.install
18 _gitroot="https://github.com/lamothe/me-tv.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 cd "${srcdir}/${_gitname}" || return 1
37 ./configure CXXFLAGS="$CXXFLAGS -D__KERNEL_STRICT_NAMES" --prefix=/usr || return 1
39 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install || return 1
40 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
41 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain me-tv ${pkgdir}/usr/etc/gconf/schemas/*.schemas || return 1
42 rm -f ${pkgdir}/usr/etc/gconf/schemas/*.schemas