This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yml
92 lines (89 loc) · 3.24 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name : qemu
version : 7.2.5
release : 59
source :
- https://download.qemu.org/qemu-7.2.5.tar.xz : 172042aa37609240130fe03f5925001e717d74dbd0799adf15b15dc038aef9d1
license : GPL-2.0-only
homepage : https://wiki.qemu.org/Main_Page
component : virt
summary : QEMU is a generic and open source machine emulator and virtualizer.
description: |
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 performance.
When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests.
builddeps :
- pkgconfig(SDL2_image)
- pkgconfig(alsa)
- pkgconfig(bzip2)
- pkgconfig(fuse3)
- pkgconfig(epoxy)
- pkgconfig(gbm)
- pkgconfig(glu)
- pkgconfig(gnutls)
- pkgconfig(gtk+-3.0)
- pkgconfig(libattr)
- pkgconfig(libcacard)
- pkgconfig(libcap-ng)
- pkgconfig(libcurl)
- pkgconfig(libdrm)
- pkgconfig(libnfs)
- pkgconfig(libpng)
- pkgconfig(libpulse)
- pkgconfig(libsasl2)
- pkgconfig(libseccomp)
- pkgconfig(libturbojpeg)
- pkgconfig(libusb-1.0)
- pkgconfig(libusbredirhost)
- pkgconfig(liburing)
- pkgconfig(libzstd)
- pkgconfig(lzo2)
- pkgconfig(slirp)
- pkgconfig(spice-protocol)
- pkgconfig(spice-server)
- pkgconfig(virglrenderer)
- pkgconfig(x11)
- libaio-devel
rundeps :
- edk2-ovmf
setup : |
%apply_patches
./configure --prefix=/usr \
--libdir=%libdir% \
--sysconfdir=/etc \
--libexecdir=%libdir%/qemu \
--localstatedir=/var \
--audio-drv-list=pa,alsa \
--disable-strip \
--enable-attr \
--enable-curl \
--enable-curses \
--enable-gtk \
--enable-kvm \
--enable-libnfs \
--enable-libusb \
--enable-linux-aio \
--enable-opengl \
--enable-pie \
--enable-png \
--enable-sdl-image \
--enable-spice \
--enable-vhost-net \
--enable-virglrenderer \
--enable-virtfs \
--enable-vnc \
--enable-vnc-jpeg \
--enable-zstd \
--target-list='aarch64-softmmu arm-linux-user arm-softmmu i386-linux-user i386-softmmu mips-linux-user mips-softmmu mipsel-linux-user mipsel-softmmu x86_64-linux-user x86_64-softmmu'
build : |
%make
install : |
%make_install
# Qemu installs this during build..
rm -rf $installdir/{var,usr/include}
# Provided by the edk2-ovmf package
rm -rf $installdir/usr/share/qemu/edk2*
rm -rf $installdir/usr/share/qemu/firmware
check : |
unset LD_PRELOAD
# Currently flaking on aarch64
%make check V=1 || :