1 # Maintainer: majia321<majia321@gmail.com>
6 pkgdesc="A Qt4 front-end for sopcast"
8 url="http://code.google.com/p/qsopcast/"
10 depends=('sopcast' 'qt')
11 [ "$CARCH" == "x86_64" ] && depends=('bin32-sopcast' 'qt')
15 source=('qstring.patch')
18 _svntrunk=http://qsopcast.googlecode.com/svn/trunk/
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 cp -r $_svnmod $_svnmod-build
34 # Thanks baghera (federico.chia@gmail.com)
35 patch -Np0 < ../qstring.patch
39 cmake -DCMAKE_BUILD_TYPE=relwithdeb -DCMAKE_INSTALL_PREFIX=/usr ..
41 make DESTDIR=$pkgdir install || return 1
43 #cd $srcdir/gmlive-extra-0.3
44 #install -Dm755 xpplive $pkgdir/usr/bin/ || return 1
46 rm -r $startdir/src/$_svnmod-build
48 md5sums=('a901196c41ea3bc6ed631f47b6d1f127')