mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# $Id: PKGBUILD 27088 2009-02-16 05:16:38Z eric $
|
|
# 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.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
|
|
|
|
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
|
|
}
|
|
|