summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythmusic/PKGBUILD
blob: 7f5497e261d168f466f072fc182b74a7c86f2ad0 (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 5680 2008-07-20 05:15:42Z eric $
# Maintainer: Juergen Hoetzel <travis@archlinux.org>
# Contributor: kleptophobiac@gmail.com

pkgname=mythmusic
pkgver=0.21
pkgrel=8
pkgdesc="Music playing plugin for MythTV"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
depends=("mythtv>=${pkgver}" 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \
         'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \
	 'libvisual-plugins' 'libvisual-projectm')
source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2")
md5sums=('00ee70be781b9af5913f046525d79ab9')
groups=('mythtv-extras')

build() {
   cd $startdir/src/mythplugins
   . /etc/profile.d/qt3.sh
   
   # use QT3 qmake
   export PATH=$QTDIR/bin:$PATH
  ./configure --prefix=/usr --disable-all --enable-mythmusic --enable-fftw \
    --enable-sdl --enable-aac --enable-opengl --enable-libvisual

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

   make INSTALL_ROOT=$startdir/pkg install
}