diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 9dd0ebc09c5..da6a4b7d862 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -1,9 +1,8 @@ # Template file for 'qemu' pkgname=qemu version=1.1.1 -revision=1 +revision=2 nostrip=yes -noextract=yes build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-spice --enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen @@ -18,8 +17,8 @@ short_desc="Open Source Processor Emulator" maintainer="Juan RP " homepage="http://qemu.org" license="GPL-2, LGPL-2.1" -distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2" -checksum=004a3032b504e70174c504d6c156b1ec3445abd9913602af0d7a5ac0703ddf5c +distfiles="http://wiki.qemu.org/download/qemu-${version}-1.tar.bz2" +checksum=6fbaff1fa75aae1a06947cf7cb101c35273712c561b87ef8eaec92aa39734ac8 long_desc=" QEMU is a generic and open source machine emulator and virtualizer. @@ -27,15 +26,12 @@ long_desc=" one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances." -do_extract() { - # XXX distfile is not bzip2 compressed! it's in gzip format. - tar xfz $XBPS_SRCDISTDIR/qemu-${version}.tar.bz2 -C $XBPS_BUILDDIR -} - pre_configure() { sed -i -e 's/lib64/lib/g' x86_64.ld } post_install() { vinstall ${FILESDIR}/65-kvm.rules 644 usr/lib/udev/rules.d + # qemu-bridge-helper must be setuid for non privileged users. + chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper }