1 # Contributor: Jon Nordby <jononor@gmail.com>
6 pkgdesc="QEMU version with support for the SPICE virtual desktop protocol"
8 url="http://www.spice-space.org"
10 depends=('kernel26>=2.6.30' 'libspice')
11 makedepends=('dev86' 'iasl')
14 install=vdesktop.install
15 source=($url/download/${pkgname}_0_4.tar.bz2)
17 md5sums=('69d68fa351f890b3536f5ff2f9247c42')
22 # Build qemu with kvm and spice support
23 ./configure --prefix=/usr --enable-spice || return 1
28 ln -s x86_64-softmmu/qemu-system-x86_64 qemu
30 # Build BIOS for qemu. Binaries exist on spice website
31 cd "$srcdir/$pkgname/bios"
36 # Docs says these are needed but does not seem so
37 # ln -s "$srcdir/$pkgname/bios/BIOS-bochs-latest" ../qemu/pc-bios/bios.bin
38 # ln -s "$srcdir/$pkgname/vgabios/VGABIOS-lgpl-latest.bin" ../qemu/pc-bios/vgabios.bin
41 # Workaround to keep 'make install' from doing kernel stuff
42 make -C libkvm DESTDIR="$pkgdir/" install
43 make -C qemu DESTDIR="$pkgdir/" install
47 # vim:set ts=2 sw=2 et: