PKGBUILDs/extra/mythbrowser/PKGBUILD
2009-10-09 21:23:22 -05:00

33 lines
963 B
Bash

# $Id: PKGBUILD 27090 2009-02-16 05:26:27Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: kleptophobiac@gmail.com
pkgname=mythbrowser
pkgver=0.21
pkgrel=2
pkgdesc="Mini web browser for MythTV"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
depends=("mythtv>=${pkgver}" 'wget' 'libxvmc' 'kdelibs3')
groups=('mythtv-extras')
options=('!makeflags')
source=("ftp://ftp.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2")
md5sums=('6c08043227bef1384858deee12b5cdc3')
build() {
cd $startdir/src/mythplugins-${pkgver}
. /etc/profile.d/qt3.sh
. /etc/profile.d/kde3.sh
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
}