# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Juergen Hoetzel # Contributor: kleptophobiac@gmail.com pkgname=mythgallery pkgver=0.21 pkgrel=3 pkgdesc="Image gallery plugin for MythTV" arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') depends=("mythtv>=${pkgver}" 'libexif' 'libtiff') source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2") md5sums=('00ee70be781b9af5913f046525d79ab9') groups=('mythtv-extras') build() { cd $startdir/src/mythplugins . /etc/profile.d/qt3.sh svn update # use QT3 qmake export PATH=$QTDIR/bin:$PATH ./configure --prefix=/usr --disable-all --enable-opengl --enable-mythgallery --enable-exif qmake mythplugins.pro make qmake || return 1 make -j 2 || return 1 make INSTALL_ROOT=$startdir/pkg install }