summaryrefslogtreecommitdiff
path: root/extra/qemu
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-10 01:01:50 -0700
committerroot <root@rshg054.dnsready.net>2013-07-10 01:01:50 -0700
commitb509d58f0ff9d5b9167eb65b0264d014c8ac9d66 (patch)
tree3f56c991ed763cacd474d208be44d496dbc96b48 /extra/qemu
parent10aa61ef39e662453e1d817046e359372fe3b326 (diff)
Wed Jul 10 01:01:50 PDT 2013
Diffstat (limited to 'extra/qemu')
-rw-r--r--extra/qemu/65-kvm.rules1
-rw-r--r--extra/qemu/PKGBUILD32
-rw-r--r--extra/qemu/qemu.install2
3 files changed, 16 insertions, 19 deletions
diff --git a/extra/qemu/65-kvm.rules b/extra/qemu/65-kvm.rules
index c2f7317aa..be955fd87 100644
--- a/extra/qemu/65-kvm.rules
+++ b/extra/qemu/65-kvm.rules
@@ -1 +1,2 @@
KERNEL=="kvm", GROUP="kvm", MODE="0660"
+KERNEL=="vhost-net", GROUP="kvm", MODE="0660", TAG+="uaccess"
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD
index 8a635ed4d..9220a8fee 100644
--- a/extra/qemu/PKGBUILD
+++ b/extra/qemu/PKGBUILD
@@ -1,34 +1,32 @@
-# $Id: PKGBUILD 185570 2013-05-15 08:05:29Z bpiotrowski $
+# $Id: PKGBUILD 189853 2013-07-09 13:42:03Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qemu
-pkgver=1.4.2
+pkgver=1.5.1
pkgrel=2
pkgdesc="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://wiki.qemu.org/Index.html"
makedepends=('texi2html' 'perl' 'python2')
-depends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2' 'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl' 'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp' 'libiscsi')
+depends=('pixman' 'libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2'
+ 'gnutls>=2.4.1' 'bluez-libs' 'vde2' 'util-linux' 'curl' 'libsasl'
+ 'libgl' 'libpulse' 'seabios' 'libcap-ng' 'libaio' 'libseccomp'
+ 'libiscsi')
backup=('etc/qemu/target-x86_64.conf')
install=qemu.install
source=(http://wiki.qemu.org/download/${pkgname}-${pkgver}.tar.bz2
65-kvm.rules)
replaces=('qemu-kvm')
-options=(!strip !libtool)
-
-prepare()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i -e 's/lib64/lib/g' ldscripts/x86_64.ld
-}
+options=(!strip)
build ()
{
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list=alsa,sdl,pa \
- --python=/usr/bin/python2 \
- --audio-card-list=ac97,sb16,es1370,hda \
- --enable-docs --enable-mixemu --libexecdir=/usr/lib/qemu
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # gtk gui breaks keymappings at the moment
+ ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list='pa alsa sdl'\
+ --python=/usr/bin/python2 --smbd=/usr/bin/smbd \
+ --enable-mixemu --libexecdir=/usr/lib/qemu \
+ --disable-gtk --enable-linux-aio --enable-seccomp
make
}
@@ -53,5 +51,5 @@ package() {
done
}
-md5sums=('b3eafa033ae4b8faba584f9f141b888f'
- 'b316a066d2f1bb57d8f5b7ea1d0d1caf')
+md5sums=('b56e73bdcfdb214d5c68e13111aca96f'
+ '9d6de26867a05c306157e3d3c612b28a')
diff --git a/extra/qemu/qemu.install b/extra/qemu/qemu.install
index f4fabcc54..79ee83536 100644
--- a/extra/qemu/qemu.install
+++ b/extra/qemu/qemu.install
@@ -2,8 +2,6 @@
post_install() {
#
groupadd kvm -f -g 78
- echo ">>> PLEASE READ FOR KVM USAGE!"
- echo ">>> Add yourself to the group 'kvm'."
}
post_upgrade() {