void-packages/srcpkgs/qemu/template

62 lines
2.2 KiB
Plaintext

# Template file for 'qemu'
pkgname=qemu
_distver=0.14.0
_patchver=rc1
version=${_distver}${_patchver}
wrksrc=qemu-${_distver}-${_patchver}
distfiles="http://download.savannah.gnu.org/releases/qemu/qemu-${_distver}-${_patchver}.tar.gz"
build_style=configure
configure_args="--prefix=/usr --enable-sdl --sysconfdir=/etc
--enable-curses --disable-curl --enable-bluez --enable-io-thread
--enable-kvm --enable-nptl --enable-uuid --enable-mixemu --disable-vnc-sasl
--audio-drv-list=oss,alsa,sdl --audio-card-list=ac97,sb16,es1370,adlib
--kerneldir=/usr/include --disable-xen"
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f79f887f87244ed231ee5fabff0ebbf93eb65bf9098ff7c0396146d2ed1c4c1c
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).
By using dynamic translation, it achieves very good performances.
When used as a virtualizer, QEMU achieves near native performances by
executing the guest code directly on the host CPU. A host driver called the
QEMU accelerator (also known as KQEMU) is needed in this case. The
virtualizer mode requires that both the host and guest machine use x86
compatible processors."
conf_files="/etc/qemu/target-${xbps_machine}.conf"
nostrip=yes
disable_parallel_build=yes
Add_dependency run glibc
Add_dependency run alsa-lib
Add_dependency run gnutls
Add_dependency run libbluetooth
Add_dependency run libidn
Add_dependency run libssl
Add_dependency run zlib
Add_dependency run ncurses-libs
Add_dependency run libuuid
Add_dependency run libX11
Add_dependency run attr
Add_dependency run libpng
Add_dependency run jpeg
Add_dependency run SDL
Add_dependency build attr-devel
Add_dependency build libpng-devel
Add_dependency build jpeg-devel
Add_dependency build libidn-devel
Add_dependency build openssl-devel
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