summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/mythstream/PKGBUILD
blob: 73fbf2549f1c6fa66ee9186f31991e5c8a49551d (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=13
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.0.24.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.24/mythtv/src/mythtv/mythtv/libs/lib* .

   patch -p1 < ../mythstream.0.24.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'
         '69804486cde663586283cf2a226f0ed4'
         'b7fb47a56b6809938f237632174faeb2')