summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mytharchive/PKGBUILD
blob: fb3b7552c5c0ed376927460cdfac1261e34c4151 (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
34
35
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org> 
# Contributor: kleptophobiac@gmail.com

pkgname=mytharchive
pkgver=0.21
pkgrel=1
pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows."
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
depends=("mythtv>=${pkgver}" 'libxmu' 'mysql-python' 'pil' 'dvdauthor')
source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2")
md5sums=('af20a78ac66719feddf9a39f1a799ded')
groups=('mythtv-extras')

build() {
   cd $startdir/src/mythplugins-${pkgver}
   . /etc/profile.d/qt3.sh

   # use QT3 qmake
   export PATH=$QTDIR/bin:$PATH

   sed -i 's#kde3#kde#' configure || return 1
   ./configure --prefix=/usr --enable-opengl --disable-all \
               --enable-create-archive --enable-create-dvd --enable-mytharchive || return 1
 
   qmake mythplugins.pro || return 1
   make qmake || return 1
   sed -i 's#kde3#kde#' ./mytharchive/mytharchive/Makefile || return 1
   make -j 2 || return 1

   make INSTALL_ROOT=$startdir/pkg install
}