diff options
Diffstat (limited to 'packages/qemu.sh')
-rwxr-xr-x | packages/qemu.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/qemu.sh b/packages/qemu.sh new file mode 100755 index 0000000..8e86740 --- /dev/null +++ b/packages/qemu.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +function package_build { + run_git_switch_branch master + run_configure \ + --target-list=x86_64-linux-user,x86_64-softmmu \ + --disable-nettle \ + --enable-spice \ + --enable-vte \ + --audio-drv-list=sdl,alsa \ + --enable-virglrenderer \ + --enable-sdl \ + --with-sdlabi=2.0 + + run_make + run_make_install +} + +function package_get_source { + run_git_clone git://git.qemu-project.org/qemu.git +} + +function package_deps { + run_add_dep virglrenderer +} + +function package_use { + env_bin "bin" + env_man "share/man" +} |