summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythstream/PKGBUILD
blob: 5137b9991c6964b94a898eb959fd172b2a7f8e40 (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
36
37
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org> 
# Contributor: kleptophobiac@gmail.com

pkgname=mythstream
pkgver=0.18_3
pkgrel=10
pkgdesc="Unofficial MythTV plugin for Internet audio and video streams."
arch=('i686' 'x86_64')
url="http://home.kabelfoon.nl/~moongies/streamtuned.html"
license=('GPL')
depends=('mythtv' 'perl-xml-simple' 'fftw' 'fftw2' 'perl-xml-xql')
source=("http://home.kabelfoon.nl/~moongies/sw9vc4htz2/mythstream_mythtv-r21640.tar.gz" "mythstream.patch" "streams.res")
md5sums=('')
install=mythstream.install
groups=('mythtv-extras')
install=mythstream.install

build() {
   cd $startdir/src/mythstream_mythtv-r21640
   ln -s ../../../mythtv/stable-0.23/mythtv/src/mythtv/libs/lib* .

   patch -p1 < ../mythstream.patch || return 1

   export QTDIR=/usr/lib/qt
   export PATH=$QTDIR/bin:$PATH

   qmake mythstream.pro
   make qmake || return 1

   make INSTALL_ROOT=$startdir/pkg install
   cp $srcdir/streams.res $pkgdir/usr/share/mythtv/mythstream
}

md5sums=('ba354b83fefe6028c5379fb832a44b6a'
         '0131d9e05b55141357bc66e2a88a8132'
         'b7fb47a56b6809938f237632174faeb2')