1 # Contributor: jarryson <jarryson@gmail.com>
6 pkgdesc="A GTK front-end of p2p TV sopcast without ALSA"
7 arch=('i686') # sopcast only available on i686
8 url="http://code.google.com/p/gsopcast/"
10 depends=('sopcast' 'gtk2' 'cairo')
11 makedepends=('pkgconfig' 'subversion' 'gnome-common')
13 conflicts=('gsopcast')
17 _svntrunk="http://gsopcast.googlecode.com/svn/trunk/"
22 msg "Getting sources..."
23 svn co $_svntrunk $_svnmod -r $pkgver
25 if [ -d $_svnmod-build ];then
29 cp $_svnmod $_svnmod-build -r
32 patch -Np0 -i ../../noalsa.patch || return 1
33 patch -Np0 -i ../../gsopcast-xdg.patch || return 1
34 ./autogen.sh --prefix=/usr --disable-alsa
35 ./configure --prefix=/usr --disable-alsa
37 make DESTDIR=$startdir/pkg install || return 1