2010-01-17 09:55:40 +00:00
|
|
|
# Template file for 'qemu'
|
|
|
|
pkgname=qemu
|
2011-12-16 13:52:06 +00:00
|
|
|
version=1.0
|
2011-08-11 07:50:41 +00:00
|
|
|
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.gz"
|
2010-01-17 09:55:40 +00:00
|
|
|
build_style=configure
|
2011-12-16 13:52:06 +00:00
|
|
|
configure_args="--prefix=/usr --sysconfdir=/etc --enable-spice
|
|
|
|
--enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen"
|
2010-01-17 09:55:40 +00:00
|
|
|
short_desc="Open Source Processor Emulator"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-11 07:50:41 +00:00
|
|
|
homepage="http://qemu.org"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2011-12-16 13:52:06 +00:00
|
|
|
checksum=47674b7da559d5e1b44cc401af9ac5ad962d14e9eede12567b13e4b841989737
|
2010-01-17 09:55:40 +00:00
|
|
|
long_desc="
|
|
|
|
QEMU is a generic and open source machine emulator and virtualizer.
|
|
|
|
|
|
|
|
When used as a machine emulator, QEMU can run OSes and programs made for
|
|
|
|
one machine (e.g. an ARM board) on a different machine (e.g. your own PC).
|
2011-08-11 07:50:41 +00:00
|
|
|
By using dynamic translation, it achieves very good performances."
|
2010-01-17 09:55:40 +00:00
|
|
|
|
2011-11-08 10:56:17 +00:00
|
|
|
conf_files="/etc/qemu/target-${XBPS_MACHINE}.conf"
|
2010-10-26 01:24:18 +00:00
|
|
|
nostrip=yes
|
|
|
|
|
2011-12-16 13:52:06 +00:00
|
|
|
Add_dependency build perl ">=0"
|
|
|
|
Add_dependency build python ">=0"
|
2010-10-26 01:24:18 +00:00
|
|
|
Add_dependency build attr-devel
|
|
|
|
Add_dependency build libpng-devel
|
|
|
|
Add_dependency build jpeg-devel
|
2010-01-17 09:55:40 +00:00
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build ncurses-devel
|
|
|
|
Add_dependency build libuuid-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build gnutls-devel
|
|
|
|
Add_dependency build SDL-devel
|
|
|
|
Add_dependency build libbluetooth-devel
|
2011-02-17 15:51:32 +00:00
|
|
|
Add_dependency build spice-devel
|
2011-08-11 07:50:41 +00:00
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build MesaLib-devel
|
2011-12-16 13:52:06 +00:00
|
|
|
Add_dependency build pulseaudio-devel
|
|
|
|
Add_dependency build nss-devel
|
|
|
|
Add_dependency build libcurl-devel
|
|
|
|
Add_dependency build libsasl-devel
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i -e 's/lib64/lib/g' x86_64.ld
|
|
|
|
}
|