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

32 lines
835 B
Bash

# $Id: PKGBUILD 27099 2009-02-16 05:47:22Z eric $
# Maintainer: Juergen Hoetzel <travis@archlinux.org>
# Contributor: kleptophobiac@gmail.com
pkgname=mythgallery
pkgver=0.21
pkgrel=1
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.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2")
md5sums=('6c08043227bef1384858deee12b5cdc3')
groups=('mythtv-extras')
build() {
cd $startdir/src/mythplugins-${pkgver}
. /etc/profile.d/qt3.sh
# 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
}