summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk/mythbrowser/PKGBUILD
blob: 4c57cf02ff5f46f302f2e7d996dcb99c1951a314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

pkgname=mythbrowser-svn
pkgver=16153
pkgrel=2
pkgdesc="Mini web browser for MythTV"
url="http://www.mythtv.org"
arch=('i686')
depends=('mythtv-svn' 'wget' 'libxvmc' 'kdelibs')
conflicts=('mythtv-plugins-svn')
groups=('mythtv-all-plugins-svn')
license="GPL"
source=()
_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins
_svnmod=mythplugins

build() {
   cd $startdir/src/
	echo svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
 	svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
   cd $startdir/src/mythplugins
   pwd
   PLUGIN=mythbrowser
   grep -q  programs-libs.pro  $PLUGIN/$PLUGIN/$PLUGIN.pro
   if [ $? != 0 ]
   then
	   	echo "include ( ../../programs-libs.pro )" >> $PLUGIN/$PLUGIN/$PLUGIN.pro
			msg "appending program lib"
		fi
	make distclean
   ./configure  --enable-opengl --disable-all --enable-mythbrowser || return 1
 #  sed -i 's#kde3#kde#' ./mythbrowser/mythbrowser/Makefile || return 1
   make || return 1

   make INSTALL_ROOT=$startdir/pkg install
}