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-mythvideo
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 \
53 package_mythplugins-0.24-fixes-svn-mythvideo() {
54 pkgdesc="Video playback and browsing plugin for MythTV"
55 depends=("mythtv-0.24-fixes-svn" 'mplayer')
56 conflicts=('mythplugins-mythvideo')
57 provides=('mythplugins-mythvideo')
59 cd "$srcdir/$_svnmod-build/mythvideo"
60 make INSTALL_ROOT="$pkgdir" install
62 install -D -m755 "$srcdir/mtd.rc" "$pkgdir/etc/rc.d/mtd"