[arch-commits] CVS update of extra/emulators/qemu (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Wed Feb 6 20:33:29 UTC 2008
Date: Wednesday, February 6, 2008 @ 15:33:29
Author: tpowa
Path: /home/cvs-extra/extra/emulators/qemu
Modified: PKGBUILD (1.20 -> 1.21)
'upgpkg: update to new version'
----------+
PKGBUILD | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Index: extra/emulators/qemu/PKGBUILD
diff -u extra/emulators/qemu/PKGBUILD:1.20 extra/emulators/qemu/PKGBUILD:1.21
--- extra/emulators/qemu/PKGBUILD:1.20 Fri Nov 23 02:43:23 2007
+++ extra/emulators/qemu/PKGBUILD Wed Feb 6 15:33:29 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.20 2007/11/23 07:43:23 tpowa Exp $
+# $Id: PKGBUILD,v 1.21 2008/02/06 20:33:29 tpowa Exp $
# Maintainer: Thomas B�chler <thomas at archlinux.org>
pkgname=qemu
-pkgver=0.9.0
-pkgrel=14
-_kvmver=53
+pkgver=0.9.1
+pkgrel=1
+_kvmver=60
pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
arch=(i686 x86_64)
license=('GPL')
@@ -23,11 +23,12 @@
if [ "${CARCH}" = "x86_64" ]; then
# any "xxx-user" target seems to not build on x86_64
./configure --prefix=/usr --enable-alsa \
- --target-list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu" \
- --qemu-cc=gcc-3.4
+ --target-list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu"
else
- ./configure --prefix=/usr --enable-alsa --qemu-cc=gcc-3.4
+ ./configure --prefix=/usr --enable-alsa
fi
+ # fix sdl compilation
+ sed -i -e 's#-rpath,/usr/lib#-rpath,/usr/lib,-rpath,/lib#g' config-host.mak
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
@@ -36,8 +37,9 @@
# we add the kvm/qemu version
cd ${startdir}/src/kvm-$_kvmver
- ./configure --prefix=/usr --qemu-cc=gcc-3.4 --enable-alsa
-
+ ./configure --prefix=/usr --enable-alsa
+ # fix sdl compilation
+ sed -i -e 's#-rpath,/usr/lib#-rpath,/usr/lib,-rpath,/lib#g' qemu/config-host.mak
for dir in libkvm user qemu; do
cd ${startdir}/src/kvm-$_kvmver/${dir}
make || return 1
@@ -48,6 +50,6 @@
install -D -m644 ${startdir}/src/kvm-$_kvmver/scripts/65-kvm.rules \
${startdir}/pkg/etc/udev/rules.d/65-kvm.rules || return 1
}
-md5sums=('ab11a03ba30cf4a70641f0f170473d69'
+md5sums=('6591df8e9270eb358c881de4ebea1262'
'ec06591830b8fcf53913f05f3d66f7e5'
- '25f09a0df49ffac08cc14f693c17f21f')
+ '79d92d57ad3b6057a717b25bb20ee72c')
More information about the arch-commits
mailing list