summaryrefslogtreecommitdiff
path: root/extra/qemu-kvm
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qemu-kvm')
-rw-r--r--extra/qemu-kvm/PKGBUILD21
1 files changed, 18 insertions, 3 deletions
diff --git a/extra/qemu-kvm/PKGBUILD b/extra/qemu-kvm/PKGBUILD
index 35c6bdc20..338395870 100644
--- a/extra/qemu-kvm/PKGBUILD
+++ b/extra/qemu-kvm/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 145070 2011-12-16 11:39:16Z tpowa $
+# $Id: PKGBUILD 146639 2012-01-15 08:31:08Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qemu-kvm
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Latest KVM QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
arch=(i686 x86_64 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://www.linux-kvm.org"
depends=('libjpeg' 'libpng' 'libsasl' 'curl' 'sdl' 'alsa-lib' 'nss' 'glib2' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'libpulse')
-makedepends=('texi2html' 'perl' 'python2')
+makedepends=('git' 'iasl' 'texi2html' 'perl' 'python2')
backup=('etc/qemu/target-x86_64.conf')
install=qemu-kvm.install
conflicts=('qemu')
@@ -29,11 +29,26 @@ build()
--audio-card-list=ac97,sb16,es1370,hda \
--enable-docs
make
+
+ # Use latest seabios version
+ # https://bugs.archlinux.org/task/27616
+ cd ${srcdir}/
+ git clone git://git.seabios.org/seabios.git
+ cd seabios
+ find 'tools/' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ make clean
+ make
}
+
package()
{
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
+
+ # Use latest seabios version
+ # https://bugs.archlinux.org/task/27616
+ cp ${srcdir}/seabios/out/bios.bin ${pkgdir}/usr/share/qemu/bios.bin
+
# symbolic link for backwards compatibility
ln -s qemu-system-x86_64 ${pkgdir}/usr/bin/qemu-kvm
# symbolic link for to qemu binary for emulator apps