1 # Maintainer: Jannik Sost <jannik.sost at gmail.com>
2 # Contributor: Jonathan Conder <jonno.conder@gmail.com>
3 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
5 pkgbase=mythplugins-0.24-fixes-svn
6 pkgname=mythplugins-0.24-fixes-svn-mythmusic
10 url="http://www.mythtv.org"
12 makedepends=("mythtv-0.24-fixes-svn" 'cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg'
13 'python-imaging' 'libexif' 'perl-date-manip' 'zlib' 'cdparanoia'
14 'flac' 'libcdaudio' 'libvisual' 'libvorbis' 'sdl' 'taglib'
15 'python2-oauth' 'python-pycurl' 'mplayer' 'perl-date-manip'
16 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax' 'perl-xml-simple'
17 'perl-xml-xpath' 'perl-image-size' 'perl-datetime-format-iso8601'
21 md5sums=('476c12ba074794ad7f4ae092bdf949d6')
23 _svntrunk="http://code.mythtv.org/svn/branches/release-0-24-fixes/mythplugins"
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_svnmod-build"
39 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
40 cd "$srcdir/$_svnmod-build"
42 find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
44 ./configure --prefix=/usr \
55 package_mythplugins-0.24-fixes-svn-mythmusic() {
56 pkgdesc="Music playing plugin for MythTV"
57 depends=("mythtv-0.24-fixes-svn" 'cdparanoia' 'flac' 'libcdaudio' 'libvisual'
58 'libvorbis' 'sdl' 'taglib')
59 conflicts=('mythplugins-mythmusic')
60 provides=('mythplugins-mythmusic')
62 cd "$srcdir/$_svnmod-build/mythmusic"
63 make INSTALL_ROOT="$pkgdir" install