Package Base Details: qemu-git

Git Clone URL: https://aur.archlinux.org/qemu-git.git (read-only)
Keywords: kvm qemu
Submitter: None
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 25
Popularity: 0.000467
First Submitted: 2009-09-19 20:02
Last Updated: 2019-07-17 09:52

FredBezies commented on 2011-02-13 08:58

And add spice too ?

Here is a modified PKGBUILD. Feel free to use it ;)

# Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=qemu-git
pkgver=20110213
pkgrel=1
pkgdesc="Processor emulator and virtual machine with with expansive multi-arch support and fast operation (with an accelerator), dev tree version."
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2')
url="http://wiki.qemu.org/Index.html"

makedepends=('git' 'texi2html' 'perl')
depends=('gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'curl' 'libsasl'
'sdl' 'alsa-lib' 'esound' 'spice')
conflicts=('qemu' 'kvm')
provides=('qemu')

source=('65-kvm.rules'
'qemu.install')
sha256sums=('c16a8dc7855880b2651f1a3ff488ecc54d4ac1036c71fffd5007021d8d18a7c5'
'910e845f3da5c4ea38b3f548dab8c0cfbcdd62822cd38afa2175ba23ac2c31f2')
install='qemu.install'

_gitroot="http://www.qemu.com/qemu.git"
_gitname=qemu


build()
{
msg "Performing source checkout..."
if [ -d "$_gitname" ]; then
cd "$_gitname"
git pull origin
cd ..
else
git clone "$_gitroot"
fi
msg "Source checkout finished."
rm -rf "$_gitname-build"
git clone "$_gitname" "$_gitname-build"
cd "$_gitname-build"

sed -i -e 's/lib64/lib/g' x86_64.ld

./configure --prefix=/usr --audio-drv-list=alsa,oss,sdl,esd \
--audio-card-list=ac97,sb16,es1370,adlib --enable-docs \
--extra-cflags=-D__EXPORTED__HEADERS__ \
--enable-spice
make
}
package() {
cd "$srcdir"/$_gitname-build

make DESTDIR="$pkgdir" install

install -Dm644 "$srcdir/65-kvm.rules" \
"$pkgdir/lib/udev/rules.d/65-kvm.rules"
}

FredBezies commented on 2011-02-03 15:19

For Spice, you have to modify spice pkgbuild line in makedepends, changing cegui by cegui-0.6

And after I think you can build it flawlessly.

Anonymous comment on 2011-02-03 13:10

==> GIT checkout done or server timeout
==> Starting make...
ERROR
ERROR: User requested feature spice
ERROR: configure was not able to find it
ERROR
Breche ab ...
==> ERROR: Makepkg was unable to build kvm-git.


SPICE is missing. but building spice from aur failed as well

FredBezies commented on 2011-02-03 11:29

kvm 20110203-2 : enabled again spice. Qemu-kvm version is now 0.14.50

[fred@fredo-arch ~]$ qemu-kvm --version
QEMU emulator version 0.14.50 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard

FredBezies commented on 2011-01-26 12:10

I have to disable spice support - for now - because it won't build with it enabled.

FredBezies commented on 2011-01-26 12:10

I have to disable spice support - for now - because it won't build with it enabled.

FredBezies commented on 2011-01-26 12:08

I have to disable spice support because it won't build with it enabled.

ftrvxmtrx commented on 2011-01-11 12:55

Can you please switch to http://www.qemu.com/qemu.git instead of savannah repo which hasn't been updated for a long time?

FredBezies commented on 2011-01-03 17:47

Since 30 december 2010, kvm is enabled by default.

Anonymous comment on 2010-12-31 21:38

I had a similar problem, so I removed that line for now.