diff options
author | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
commit | 08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (patch) | |
tree | 90c7b6f80849c63a69d3c46d0f04fe23ebf0c099 /extra/qemu-kvm | |
parent | 0b31296d95d2e0f18abf69f30d0946e3a1f35672 (diff) |
Mon Jan 16 23:15:10 UTC 2012
Diffstat (limited to 'extra/qemu-kvm')
-rw-r--r-- | extra/qemu-kvm/PKGBUILD | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/extra/qemu-kvm/PKGBUILD b/extra/qemu-kvm/PKGBUILD index e934f7b2f..f1d7baaae 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) 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 |