mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qemu to 8.0.0-1
This commit is contained in:
parent
293ae1e08d
commit
8d6ce6e267
1 changed files with 34 additions and 67 deletions
|
@ -27,10 +27,9 @@ pkgname=(
|
|||
qemu-ui-{curses,dbus,egl-headless,gtk,opengl,sdl,spice-{app,core}}
|
||||
qemu-user{,-binfmt}
|
||||
qemu-vhost-user-gpu
|
||||
qemu-virtiofsd
|
||||
qemu-{base,desktop,emulators-full,full}
|
||||
)
|
||||
pkgver=7.2.1
|
||||
pkgver=8.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="A generic and open source machine emulator and virtualizer"
|
||||
arch=(x86_64)
|
||||
|
@ -42,7 +41,6 @@ license=(GPL2 LGPL2.1)
|
|||
# TODO: package openbios for qemu-system-{ppc,sparc}
|
||||
# TODO: package /usr/share/qemu/{efi,pxe}-* for qemu (ipxe)
|
||||
# TODO: package /usr/share/qemu/slof.bin for qemu-system-ppc (slof)
|
||||
# TODO: package /usr/share/qemu/sgabios.bin for qemu-system-x86 (sgabios)
|
||||
makedepends=(
|
||||
alsa-lib
|
||||
brltty
|
||||
|
@ -109,25 +107,21 @@ source=(
|
|||
qemu-sysusers.conf
|
||||
65-kvm.rules
|
||||
99-qemu-guest-agent.rules
|
||||
# fixes https://gitlab.com/qemu-project/qemu/-/issues/1471
|
||||
$pkgbase-7.2.0-gen_adcox.patch::https://gitlab.com/qemu-project/qemu/-/commit/60c7dd22e1383754d5f150bc9f7c2785c662a7b6.patch
|
||||
)
|
||||
sha512sums=('e286dc66c923a5df77eb02d69235d048e80a7cced638fae52fbed385b4c3cd736cfea66bb3c9843bebf0a33e81ea141fc015e0bd82108df304f148ce59d9ae8a'
|
||||
sha512sums=('1f31d1e653dec2d35f1b7a5468ee3f471553b48eca8c8afafffcf9243c6b2260e78a5b73da3fe567f9b85d4133573eebd397747b3aec501fb24076263eb07b27'
|
||||
'SKIP'
|
||||
'7b412ffa5dcda47b0a4ec9e2c5e5e1d9eaaaf0a087b7ea3ead3e706ba4c9cafb919beadd088a0299b6f7aab753b81a5eafb545b4842ee5f26646d16544dd02a7'
|
||||
'6e838773d63ae0ffdffe2b891bf611d8f5f3c67a9bc4cbbedf8363c150c2c9971c8e44d92270bc581af40eb0ece02192760bcdd6aee229fff55635f3a4825afa'
|
||||
'985c2c7a6b5217c87a15b45368089ee91b2f9027b070f9eafa448a18b27ae0d9edd964d52e134b9c1f4aeef4d6aae88afd3f454551ca898affef7f9d28b99b8f'
|
||||
'bdf05f99407491e27a03aaf845b7cc8acfa2e0e59968236f10ffc905e5e3d5e8569df496fd71c887da2b5b8d1902494520c7da2d3a8258f7fd93a881dd610c99'
|
||||
'93b905046fcea8a0a89513b9259c222494ab3b91319dde23baebcb40dc17376a56661b159b99785d6e816831974a0f3cbd7b2f7d89e5fc3c258f88f4492f3839'
|
||||
'505ddd4e387a29882a6ae1abac1d972371abac9abe0141358c0ab65bb11c5ac89c6e50d2639e4b8bb5e0ad9c3b805cbe3a01e33baaa44f8005db1f084fb2c4a3')
|
||||
b2sums=('bae1df5d332beaca313c4bac88f06dd5992988d7c1b6fdc6ced4043d858f437339cd7d0009ae667f9e66705117697bee7ee44ec4e911cc203d34eecc3d8f139b'
|
||||
'93b905046fcea8a0a89513b9259c222494ab3b91319dde23baebcb40dc17376a56661b159b99785d6e816831974a0f3cbd7b2f7d89e5fc3c258f88f4492f3839')
|
||||
b2sums=('9b54aae10fe09691a26e68374723ded5fdda6409673b4de9461a25ee060cfd03968a16ddeadc21d48b9262e53aa6d4e5eb645376969f97c65807fad19607b04f'
|
||||
'SKIP'
|
||||
'b1eca364aa60f130ff5e649f5d004d3fcb75356d3421a4542efdfc410d39b40d9434d15e1dd7bbdbd315cb72b5290d3ea5f77f9c41961a5601cd28ef7bbe72e8'
|
||||
'2102e4a34e11e406e9606c97e026e7b92e887e296a7f77b9cede1b37119d0df33735f3588628167b2b8e32244c196c491bfab623e2caddac9014d445aa2a6d98'
|
||||
'69177b962d2fda20cafdbc6226fd017b5ca5a0f69f866d055dc1c744b7b2955059f47c693cfb5b4c863ec159569fdabd4327ab4b8a95566a68cd8ce38e339c7a'
|
||||
'3559fe9c4f744194939770047a0a02d07ff791c845a80726d0bc7b8c4801ed5f11150e7d5adab813844b3dab1cf38c3a5a87fb6efbb8fc9dccdda9fa56409ed8'
|
||||
'a9a2bdfeeb44eb86cbe88ac7c65f72800bdb2fd5cecb02f3a258cf9470b52832180aab43c89d481f7fd4d067342a9a27dd6c8a94d625b95d6e2b912e47d274e7'
|
||||
'6f8b1004835d0a9834c5b609f88589bdd243185b989cb1b4ce9c2792bb38f213a65c662d5f230099ee7e823481a28997997dd3082a95de54de26fd7d76b9d273')
|
||||
'a9a2bdfeeb44eb86cbe88ac7c65f72800bdb2fd5cecb02f3a258cf9470b52832180aab43c89d481f7fd4d067342a9a27dd6c8a94d625b95d6e2b912e47d274e7')
|
||||
validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584') # Michael Roth <flukshun@gmail.com>
|
||||
|
||||
_qemu_system_deps=(
|
||||
|
@ -140,6 +134,7 @@ _qemu_system_deps=(
|
|||
gnutls
|
||||
keyutils
|
||||
libaio
|
||||
libelf
|
||||
libbpf libbpf.so
|
||||
libjpeg-turbo libjpeg.so
|
||||
libpng
|
||||
|
@ -159,36 +154,17 @@ _qemu_system_deps=(
|
|||
zstd libzstd.so
|
||||
)
|
||||
|
||||
_qemu_optdepends=(
|
||||
'qemu-audio-alsa: for ALSA audio driver'
|
||||
'qemu-audio-dbus: for D-Bus audio driver'
|
||||
'qemu-audio-jack: for JACK audio driver'
|
||||
'qemu-audio-oss: for OSS audio driver'
|
||||
'qemu-audio-pa: for PulseAudio audio driver'
|
||||
'qemu-audio-sdl: for SDL audio driver'
|
||||
'qemu-audio-spice: for spice audio driver'
|
||||
'qemu-block-curl: for curl block driver'
|
||||
'qemu-block-dmg: for DMG block driver'
|
||||
_qemu_common_optdepends=(
|
||||
'qemu-user-static: for static user mode emulation of QEMU targets'
|
||||
'samba: for SMB/CIFS server support'
|
||||
)
|
||||
|
||||
_qemu_desktop_optdepends=(
|
||||
"${_qemu_common_optdepends[@]}"
|
||||
'qemu-block-gluster: for Gluster block driver'
|
||||
'qemu-block-iscsi: for iSCSI block driver'
|
||||
'qemu-block-nfs: for NFS block driver'
|
||||
'qemu-block-ssh: for SSH block driver'
|
||||
'qemu-chardev-baum: for Baum chardev driver'
|
||||
'qemu-chardev-spice: for spice chardev driver'
|
||||
'qemu-docs: for documentation'
|
||||
'qemu-hw-display-qxl: for QXL display device'
|
||||
'qemu-hw-display-virtio-gpu-gl: for virtio-gpu-gl display device'
|
||||
'qemu-hw-display-virtio-gpu: for virtio-gpu display device'
|
||||
'qemu-hw-display-virtio-gpu-pci: for virtio-gpu-pci display device'
|
||||
'qemu-hw-display-virtio-gpu-pci-gl: for virtio-gpu-pci-gl display device'
|
||||
'qemu-hw-display-virtio-vga: for virtio-gpu-vga display device'
|
||||
'qemu-hw-display-virtio-vga-gl: for virtio-gpu-vga-gl display device'
|
||||
'qemu-hw-s390x-virtio-gpu-ccw: for s390x-virtio-gpu-ccw display device'
|
||||
'qemu-hw-usb-host: for USB host device'
|
||||
'qemu-hw-usb-redirect: for usbredir device'
|
||||
'qemu-hw-usb-smartcard: for USB smartcard device'
|
||||
'qemu-img: for manipulating disk images'
|
||||
'qemu-pr-helper: for persistent reservation utility'
|
||||
'qemu-system-aarch64: for AARCH64 system emulator'
|
||||
'qemu-system-alpha: for Alpha system emulator'
|
||||
'qemu-system-arm: for ARM system emulator'
|
||||
|
@ -207,23 +183,28 @@ _qemu_optdepends=(
|
|||
'qemu-system-sh4: for SH4 system emulator'
|
||||
'qemu-system-sparc: for SPARC system emulator'
|
||||
'qemu-system-tricore: for tricore system emulator'
|
||||
'qemu-system-x86: for x86 system emulator'
|
||||
'qemu-system-xtensa: for Xtensa system emulator'
|
||||
'qemu-tests: for QEMU tests'
|
||||
'qemu-tools: for QEMU tools'
|
||||
'qemu-ui-curses: for curses UI driver'
|
||||
'qemu-user: for user mode emulation of QEMU targets'
|
||||
'qemu-user-static: for static user mode emulation of QEMU targets'
|
||||
'samba: for SMB/CIFS server support'
|
||||
)
|
||||
|
||||
_qemu_base_optdepends=(
|
||||
"${_qemu_desktop_optdepends[@]}"
|
||||
'qemu-audio-alsa: for ALSA audio driver'
|
||||
'qemu-audio-dbus: for D-Bus audio driver'
|
||||
'qemu-audio-jack: for JACK audio driver'
|
||||
'qemu-audio-oss: for OSS audio driver'
|
||||
'qemu-audio-pa: for PulseAudio audio driver'
|
||||
'qemu-audio-sdl: for SDL audio driver'
|
||||
'qemu-ui-dbus: for D-Bus UI driver'
|
||||
'qemu-ui-egl-headless: for EGL headless UI driver'
|
||||
'qemu-ui-gtk: for GTK UI driver'
|
||||
'qemu-ui-opengl: for OpenGL UI driver'
|
||||
'qemu-ui-sdl: for SDL UI driver'
|
||||
'qemu-ui-spice-app: for spice app UI driver'
|
||||
'qemu-ui-spice-core: for spice core UI driver'
|
||||
'qemu-user: for user mode emulation of QEMU targets'
|
||||
'qemu-user-static: for static user mode emulation of QEMU targets'
|
||||
'qemu-vhost-user-gpu: for vhost-user-gpu display device'
|
||||
'virtiofsd-provider: for virtio-fs shared filesystem daemon'
|
||||
'samba: for SMB/CIFS server support'
|
||||
)
|
||||
|
||||
_pick() {
|
||||
|
@ -463,8 +444,6 @@ package_qemu-common() {
|
|||
|
||||
_pick qemu-system-x86-firmware usr/share/qemu/{kvmvapic,linuxboot,multiboot{,_dma},pvh}.bin
|
||||
_pick qemu-system-x86-firmware usr/share/qemu/qboot.rom
|
||||
# NOTE: needs to be replaced by sgabios
|
||||
_pick qemu-system-x86-firmware usr/share/qemu/sgabios.bin
|
||||
|
||||
_pick qemu-system-xtensa usr/bin/qemu-system-xtensa{,eb}
|
||||
_pick qemu-system-xtensa usr/share/man/man1/qemu-system-xtensa{,eb}.1*
|
||||
|
@ -488,10 +467,6 @@ package_qemu-common() {
|
|||
|
||||
_pick qemu-vhost-user-gpu usr/lib/qemu/vhost-user-gpu
|
||||
_pick qemu-vhost-user-gpu usr/share/qemu/vhost-user/50-qemu-gpu.json
|
||||
|
||||
_pick qemu-virtiofsd usr/lib/qemu/virtiofsd
|
||||
_pick qemu-virtiofsd usr/share/man/man1/virtiofsd.1*
|
||||
_pick qemu-virtiofsd usr/share/qemu/vhost-user/50-qemu-virtiofsd.json
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -906,7 +881,6 @@ package_qemu-ui-gtk() {
|
|||
pkgdesc="QEMU GTK UI driver"
|
||||
depends=(
|
||||
cairo
|
||||
gcc-libs
|
||||
gdk-pixbuf2 libgdk_pixbuf-2.0.so
|
||||
glib2 libgobject-2.0.so libglib-2.0.so
|
||||
glibc
|
||||
|
@ -923,7 +897,7 @@ package_qemu-ui-gtk() {
|
|||
|
||||
package_qemu-ui-opengl() {
|
||||
pkgdesc="QEMU OpenGL UI driver"
|
||||
depends=(glibc libepoxy mesa pixman libpixman-1.so qemu-common=$pkgver-$pkgrel)
|
||||
depends=(gcc-libs glibc libepoxy mesa pixman libpixman-1.so qemu-common=$pkgver-$pkgrel)
|
||||
mv -v $pkgname/* "$pkgdir"
|
||||
}
|
||||
|
||||
|
@ -947,7 +921,7 @@ package_qemu-ui-spice-core() {
|
|||
|
||||
package_qemu-user() {
|
||||
pkgdesc="QEMU user mode emulation"
|
||||
depends=(capstone gcc-libs glib2 libglib-2.0.so libgmodule-2.0.so glibc gnutls liburing liburing.so numactl libnuma.so qemu-common=$pkgver-$pkgrel zlib)
|
||||
depends=(capstone gcc-libs glib2 libglib-2.0.so libgmodule-2.0.so glibc gnutls libelf liburing liburing.so numactl libnuma.so qemu-common=$pkgver-$pkgrel zlib)
|
||||
optdepends=('qemu-user-binfmt: for binary format rules')
|
||||
mv -v $pkgname/* "$pkgdir"
|
||||
}
|
||||
|
@ -966,13 +940,6 @@ package_qemu-vhost-user-gpu() {
|
|||
mv -v $pkgname/* "$pkgdir"
|
||||
}
|
||||
|
||||
package_qemu-virtiofsd() {
|
||||
pkgdesc="QEMU virtio-fs shared filesystem daemon"
|
||||
depends=(gcc-libs glib2 libglib-2.0.so libgmodule-2.0.so glibc libcap-ng libcap-ng.so libseccomp libseccomp.so numactl libnuma.so qemu-common=$pkgver-$pkgrel)
|
||||
provides=(virtiofsd-provider)
|
||||
mv -v $pkgname/* "$pkgdir"
|
||||
}
|
||||
|
||||
package_qemu-base() {
|
||||
pkgdesc="A basic QEMU setup for headless environments"
|
||||
depends=(
|
||||
|
@ -988,7 +955,7 @@ package_qemu-base() {
|
|||
qemu-pr-helper=$pkgver-$pkgrel
|
||||
qemu-tools=$pkgver-$pkgrel
|
||||
qemu-ui-{curses,spice-{app,core}}=$pkgver-$pkgrel
|
||||
virtiofsd-provider
|
||||
virtiofsd
|
||||
)
|
||||
# Add the native target as the dependency.
|
||||
if [ $CARCH == "x86_64" ]; then
|
||||
|
@ -998,7 +965,7 @@ package_qemu-base() {
|
|||
elif [ $CARCH == "arm" ]; then
|
||||
depends+=(qemu-system-arm=$pkgver-$pkgrel)
|
||||
fi
|
||||
optdepends=("${_qemu_optdepends[@]}")
|
||||
optdepends=("${_qemu_base_optdepends[@]}")
|
||||
# TODO: remove conflicts/provides/replaces for qemu-headless after 2022-10-01
|
||||
conflicts=(qemu qemu-headless)
|
||||
provides=(qemu=$pkgver qemu-headless)
|
||||
|
@ -1021,7 +988,7 @@ package_qemu-desktop() {
|
|||
qemu-tools=$pkgver-$pkgrel
|
||||
qemu-ui-{curses,dbus,egl-headless,gtk,opengl,sdl,spice-{app,core}}=$pkgver-$pkgrel
|
||||
qemu-vhost-user-gpu=$pkgver-$pkgrel
|
||||
virtiofsd-provider
|
||||
virtiofsd
|
||||
)
|
||||
# Add the native target as the dependency.
|
||||
if [ $CARCH == "x86_64" ]; then
|
||||
|
@ -1031,7 +998,7 @@ package_qemu-desktop() {
|
|||
elif [ $CARCH == "arm" ]; then
|
||||
depends+=(qemu-system-arm=$pkgver-$pkgrel)
|
||||
fi
|
||||
optdepends=("${_qemu_optdepends[@]}")
|
||||
optdepends=("${_qemu_desktop_optdepends[@]}")
|
||||
conflicts=(qemu)
|
||||
provides=(qemu=$pkgver)
|
||||
replaces=('qemu<7')
|
||||
|
@ -1068,9 +1035,9 @@ package_qemu-full() {
|
|||
qemu-ui-{curses,dbus,egl-headless,gtk,opengl,sdl,spice-{app,core}}=$pkgver-$pkgrel
|
||||
qemu-user=$pkgver-$pkgrel
|
||||
qemu-vhost-user-gpu=$pkgver-$pkgrel
|
||||
virtiofsd-provider
|
||||
virtiofsd
|
||||
)
|
||||
optdepends=("${_qemu_optdepends[@]}")
|
||||
optdepends=("${_qemu_common_optdepends[@]}")
|
||||
conflicts=(qemu)
|
||||
provides=(qemu=$pkgver)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue