summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythstream/PKGBUILD
blob: e7e2418682145f19b0e568b202227bfef85b43d9 (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
# $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_1
pkgrel=6
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')
source=("http://home.kabelfoon.nl/~moongies/sw9vc4htz2/mythstream-v0.18_1.tar.gz" "http://home.kabelfoon.nl/~moongies/sw9vc4htz2/mythstream.cpp.patch_svn20071123" "mythstream.diff")
md5sums=('')
install=mythstream.install
groups=('mythtv-extras')
install=mythstream.install

build() {
   cd $startdir/src/mythstream-0.18_1
   patch -p1 < ../mythstream.diff
   patch -p0 < ../mythstream.cpp.patch_svn20071123
   ln -s ../../../mythtv/src/mythtv-0.21/libs/lib* .
   . /etc/profile.d/qt3.sh

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

   qmake mythstream.pro
   make qmake || return 1
   make -j 2 || return 1

   make INSTALL_ROOT=$startdir/pkg install
}