summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable-0.21/mythbrowser/PKGBUILD
blob: 51a27d25b0a04d7402384868e13cb1bc298e8357 (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
# $Id: PKGBUILD 7374 2008-07-31 06:53:36Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org> 
# Contributor: kleptophobiac@gmail.com

pkgname=mythbrowser
pkgver=0.21
pkgrel=6
pkgdesc="Mini web browser for MythTV"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
depends=("mythtv>=${pkgver}" 'wget' 'libxvmc' 'kdelibs3' 'qt3')
groups=('mythtv-extras')
options=('!makeflags')
source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2")
md5sums=('1b3e2a97b7ecf7373e162fe20b6faabe')

build() {
   cd $startdir/src/mythplugins
   . /etc/profile.d/qt3.sh
   . /etc/profile.d/kde3.sh
   svn update
   sed -i 's#kde3#kde#' configure || return 1
   ./configure --prefix=/usr --enable-opengl --disable-all --enable-mythbrowser || return 1
 
   qmake mythplugins.pro || return 1
   make qmake || return 1
   sed -i 's#kde3#kde#' ./mythbrowser/mythbrowser/Makefile || return 1
   make || return 1

   make INSTALL_ROOT=$startdir/pkg install
}