pkgname=mythgallery-release-fixes pkgver=21228 pkgrel=1 pkgdesc="Image gallery plugin for MythTV" url="http://www.mythtv.org" arch=('i686') depends=('mythtv-release-fixes' 'libexif' 'libtiff') conflicts=('mythtv-plugins-release-fixes') groups=('mythtv-all-plugins-release-fixes') license="GPL" source=() _svntrunk=http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins _svntrunk=http://svn.mythtv.org/svn/branches/release-0-21-fixes/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 export QMAKESPEC='linux-g++' PLUGIN=mythgallery 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 --prefix=/usr --disable-all --enable-opengl --enable-mythgallery --enable-exif make -j 2 || return 1 make INSTALL_ROOT=$startdir/pkg install }