pkgname=mplayer-vdpau-nogui pkgver=28785 pkgrel=3 pkgdesc="Famous multimedia player, dev. version, without its GUI and support for nvidia VDPAU" arch=('i686' 'x86_64') url="http://www.mplayerhq.hu/" license=('GPL') depends=('ttf-dejavu' 'nvidia-utils>=1.80.22') makedepends=('subversion') conflicts=('mplayer') provides=('mplayer') source=('no_segfault_configure.diff') md5sums=(ed962f7642ffcf2411ec6465fdc8c132) _svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk _svnmod=mplayer-vdpau build() { cd $srcdir svn co $_svntrunk $_svnmod cp -R $_svnmod $_svnmod-build cd $_svnmod-build #unset CFLAGS CFLAGS="$CFLAGS -fomit-frame-pointer" ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \ --enable-runtime-cpudetection --enable-largefiles --enable-menu \ --disable-libdv --disable-aa --disable-liblzo --disable-speex \ --disable-fribidi --disable-arts --disable-smb --disable-dvdnav \ --disable-openal --disable-faad-internal --disable-jack \ --disable-musepack --disable-libamr_nb --disable-libamr_wb --enable-lirc \ --disable-lircc --disable-x264 --disable-x264-lavc --enable-vdpau \ --disable-directfb make || return 1 make DESTDIR=$pkgdir install || return 1 install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer install -d $pkgdir/usr/share/mplayer/ ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf cd ../ rm -rf ./$_svnmod-build }