summaryrefslogtreecommitdiff
path: root/opt/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'opt/qemu')
-rw-r--r--opt/qemu/.footprint206
-rw-r--r--opt/qemu/.signature6
-rw-r--r--opt/qemu/MAKEPKG67
3 files changed, 279 insertions, 0 deletions
diff --git a/opt/qemu/.footprint b/opt/qemu/.footprint
new file mode 100644
index 0000000..a3fb114
--- /dev/null
+++ b/opt/qemu/.footprint
@@ -0,0 +1,206 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/elf2dmp
+-rwxr-xr-x root/root usr/bin/qemu-edid
+-rwxr-xr-x root/root usr/bin/qemu-ga
+-rwxr-xr-x root/root usr/bin/qemu-img
+-rwxr-xr-x root/root usr/bin/qemu-io
+-rwxr-xr-x root/root usr/bin/qemu-keymap
+-rwxr-xr-x root/root usr/bin/qemu-nbd
+-rwxr-xr-x root/root usr/bin/qemu-pr-helper
+-rwxr-xr-x root/root usr/bin/qemu-storage-daemon
+-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
+-rwxr-xr-x root/root usr/bin/qemu-vmsr-helper
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/fdt.h
+-rw-r--r-- root/root usr/include/libfdt.h
+-rw-r--r-- root/root usr/include/libfdt_env.h
+-rw-r--r-- root/root usr/include/qemu-plugin.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libfdt.pc
+drwxr-xr-x root/root usr/lib/qemu/
+-rwxr-xr-x root/root usr/lib/qemu/qemu-bridge-helper
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/qemu.desktop
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
+drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/qemu.bmp
+-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/512x512/
+drwxr-xr-x root/root usr/share/icons/hicolor/512x512/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/512x512/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/qemu.png
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/qemu.svg
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/bg/
+drwxr-xr-x root/root usr/share/locale/bg/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/bg/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/de_DE/
+drwxr-xr-x root/root usr/share/locale/de_DE/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/de_DE/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/fr_FR/
+drwxr-xr-x root/root usr/share/locale/fr_FR/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr_FR/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/hu/
+drwxr-xr-x root/root usr/share/locale/hu/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/hu/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/it/
+drwxr-xr-x root/root usr/share/locale/it/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/it/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/sv/
+drwxr-xr-x root/root usr/share/locale/sv/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/sv/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/tr/
+drwxr-xr-x root/root usr/share/locale/tr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/tr/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/uk/
+drwxr-xr-x root/root usr/share/locale/uk/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/uk/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/locale/zh_CN/
+drwxr-xr-x root/root usr/share/locale/zh_CN/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/zh_CN/LC_MESSAGES/qemu.mo
+drwxr-xr-x root/root usr/share/qemu/
+-rw-r--r-- root/root usr/share/qemu/QEMU,cgthree.bin
+-rw-r--r-- root/root usr/share/qemu/QEMU,tcx.bin
+-rw-r--r-- root/root usr/share/qemu/ast27x0_bootrom.bin
+-rw-r--r-- root/root usr/share/qemu/bios-256k.bin
+-rw-r--r-- root/root usr/share/qemu/bios-microvm.bin
+-rw-r--r-- root/root usr/share/qemu/bios.bin
+-rw-r--r-- root/root usr/share/qemu/edk2-aarch64-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-arm-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-arm-vars.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-i386-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-i386-secure-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-i386-vars.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-licenses.txt
+-rw-r--r-- root/root usr/share/qemu/edk2-loongarch64-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-loongarch64-vars.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-riscv-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-riscv-vars.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-x86_64-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-x86_64-secure-code.fd
+-rw-r--r-- root/root usr/share/qemu/efi-e1000.rom
+-rw-r--r-- root/root usr/share/qemu/efi-e1000e.rom
+-rw-r--r-- root/root usr/share/qemu/efi-eepro100.rom
+-rw-r--r-- root/root usr/share/qemu/efi-ne2k_pci.rom
+-rw-r--r-- root/root usr/share/qemu/efi-pcnet.rom
+-rw-r--r-- root/root usr/share/qemu/efi-rtl8139.rom
+-rw-r--r-- root/root usr/share/qemu/efi-virtio.rom
+-rw-r--r-- root/root usr/share/qemu/efi-vmxnet3.rom
+-rw-r--r-- root/root usr/share/qemu/hppa-firmware.img
+-rw-r--r-- root/root usr/share/qemu/hppa-firmware64.img
+-rw-r--r-- root/root usr/share/qemu/kvmvapic.bin
+-rw-r--r-- root/root usr/share/qemu/linuxboot_dma.bin
+-rw-r--r-- root/root usr/share/qemu/multiboot_dma.bin
+-rw-r--r-- root/root usr/share/qemu/npcm7xx_bootrom.bin
+-rw-r--r-- root/root usr/share/qemu/npcm8xx_bootrom.bin
+-rw-r--r-- root/root usr/share/qemu/openbios-ppc
+-rw-r--r-- root/root usr/share/qemu/openbios-sparc32
+-rw-r--r-- root/root usr/share/qemu/openbios-sparc64
+-rw-r--r-- root/root usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
+-rw-r--r-- root/root usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin
+-rw-r--r-- root/root usr/share/qemu/palcode-clipper
+-rw-r--r-- root/root usr/share/qemu/pnv-pnor.bin
+-rw-r--r-- root/root usr/share/qemu/pvh.bin
+-rw-r--r-- root/root usr/share/qemu/pxe-e1000.rom
+-rw-r--r-- root/root usr/share/qemu/pxe-eepro100.rom
+-rw-r--r-- root/root usr/share/qemu/pxe-ne2k_pci.rom
+-rw-r--r-- root/root usr/share/qemu/pxe-pcnet.rom
+-rw-r--r-- root/root usr/share/qemu/pxe-rtl8139.rom
+-rw-r--r-- root/root usr/share/qemu/pxe-virtio.rom
+-rw-r--r-- root/root usr/share/qemu/qboot.rom
+-rw-r--r-- root/root usr/share/qemu/qemu-nsis.bmp
+-rw-r--r-- root/root usr/share/qemu/qemu_vga.ndrv
+-rw-r--r-- root/root usr/share/qemu/s390-ccw.img
+-rw-r--r-- root/root usr/share/qemu/skiboot.lid
+-rw-r--r-- root/root usr/share/qemu/slof.bin
+-rw-r--r-- root/root usr/share/qemu/trace-events-all
+-rw-r--r-- root/root usr/share/qemu/u-boot-sam460.bin
+-rw-r--r-- root/root usr/share/qemu/u-boot.e500
+-rw-r--r-- root/root usr/share/qemu/vgabios-ati.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-bochs-display.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-cirrus.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-qxl.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-ramfb.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-stdvga.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-virtio.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios-vmware.bin
+-rw-r--r-- root/root usr/share/qemu/vgabios.bin
+-rw-r--r-- root/root usr/share/qemu/vof-nvram.bin
+-rw-r--r-- root/root usr/share/qemu/vof.bin
+drwxr-xr-x root/root usr/share/qemu/dtb/
+-rw-r--r-- root/root usr/share/qemu/dtb/bamboo.dtb
+-rw-r--r-- root/root usr/share/qemu/dtb/canyonlands.dtb
+-rw-r--r-- root/root usr/share/qemu/dtb/pegasos1.dtb
+-rw-r--r-- root/root usr/share/qemu/dtb/pegasos2.dtb
+-rw-r--r-- root/root usr/share/qemu/dtb/petalogix-ml605.dtb
+-rw-r--r-- root/root usr/share/qemu/dtb/petalogix-s3adsp1800.dtb
+drwxr-xr-x root/root usr/share/qemu/firmware/
+-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-i386-secure.json
+-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-x86_64-secure.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-aarch64.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-arm.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-i386.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-loongarch64.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-riscv64.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-x86_64.json
+drwxr-xr-x root/root usr/share/qemu/keymaps/
+-rw-r--r-- root/root usr/share/qemu/keymaps/ar
+-rw-r--r-- root/root usr/share/qemu/keymaps/bepo
+-rw-r--r-- root/root usr/share/qemu/keymaps/cz
+-rw-r--r-- root/root usr/share/qemu/keymaps/da
+-rw-r--r-- root/root usr/share/qemu/keymaps/de
+-rw-r--r-- root/root usr/share/qemu/keymaps/de-ch
+-rw-r--r-- root/root usr/share/qemu/keymaps/en-gb
+-rw-r--r-- root/root usr/share/qemu/keymaps/en-us
+-rw-r--r-- root/root usr/share/qemu/keymaps/es
+-rw-r--r-- root/root usr/share/qemu/keymaps/et
+-rw-r--r-- root/root usr/share/qemu/keymaps/fi
+-rw-r--r-- root/root usr/share/qemu/keymaps/fo
+-rw-r--r-- root/root usr/share/qemu/keymaps/fr
+-rw-r--r-- root/root usr/share/qemu/keymaps/fr-be
+-rw-r--r-- root/root usr/share/qemu/keymaps/fr-ca
+-rw-r--r-- root/root usr/share/qemu/keymaps/fr-ch
+-rw-r--r-- root/root usr/share/qemu/keymaps/hr
+-rw-r--r-- root/root usr/share/qemu/keymaps/hu
+-rw-r--r-- root/root usr/share/qemu/keymaps/is
+-rw-r--r-- root/root usr/share/qemu/keymaps/it
+-rw-r--r-- root/root usr/share/qemu/keymaps/ja
+-rw-r--r-- root/root usr/share/qemu/keymaps/lt
+-rw-r--r-- root/root usr/share/qemu/keymaps/lv
+-rw-r--r-- root/root usr/share/qemu/keymaps/mk
+-rw-r--r-- root/root usr/share/qemu/keymaps/nl
+-rw-r--r-- root/root usr/share/qemu/keymaps/no
+-rw-r--r-- root/root usr/share/qemu/keymaps/pl
+-rw-r--r-- root/root usr/share/qemu/keymaps/pt
+-rw-r--r-- root/root usr/share/qemu/keymaps/pt-br
+-rw-r--r-- root/root usr/share/qemu/keymaps/ru
+-rw-r--r-- root/root usr/share/qemu/keymaps/sl
+-rw-r--r-- root/root usr/share/qemu/keymaps/sv
+-rw-r--r-- root/root usr/share/qemu/keymaps/th
+-rw-r--r-- root/root usr/share/qemu/keymaps/tr
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/run/
diff --git a/opt/qemu/.signature b/opt/qemu/.signature
new file mode 100644
index 0000000..b88607c
--- /dev/null
+++ b/opt/qemu/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mD1PW2aCXUVzFwYgbjwnoQhSbNbUcquA2H8UBzrxB5Y8Xsl9ymCgKt3MZ1G97FvG611HiqCg7iH011KetWVumQw=
+
+SHA256 (MAKEPKG) = 7a459e3cfc8f8240969e4408723f4a0a0430e6f959387706702b144e62b0c0fe
+SHA256 (.footprint) = 1d5149e54802c70712a49c93138eb56dbdbbb2219f5fcbc091baf24876671dbb
+SHA256 (qemu-11.1.1.tar.xz) = 079ffbff8a7111bbc89022107cbabf3bbfd614d5fc9d7cc675991196aca12482
+SHA256 (qemu#11.1.1-2.pkg.tar.gz) = 7c97dd18db66860cc9d88a51f253f0f36fbaa17bef9ac6d1cdce3d2a35e5c13f
diff --git a/opt/qemu/MAKEPKG b/opt/qemu/MAKEPKG
new file mode 100644
index 0000000..a4d4ab7
--- /dev/null
+++ b/opt/qemu/MAKEPKG
@@ -0,0 +1,67 @@
+#!/bin/mkpkg
+# description: Generic machine emulator and virtualizer
+# url: https://www.qemu.org
+
+name=qemu
+version=11.1.1
+release=2
+depends=(alsa-lib glib pixman libjpeg-turbo libpng zlib zstd lz4 nettle libslirp)
+makedeps=(git meson samurai pkgconf python3 flex bison perl gettext spice-protocol)
+source=(https://download.qemu.org/$name-$version.tar.xz)
+sha256sums=(
+ "079ffbff8a7111bbc89022107cbabf3bbfd614d5fc9d7cc675991196aca12482"
+)
+
+patch() {
+ cd $name-$version
+ sed -i 's/#include <nettle\/sha.h>/#include <nettle\/sha1.h>\n#include <nettle\/sha2.h>/' \
+ crypto/hash-nettle.c
+}
+
+build() {
+ cd $name-$version
+
+ NINJA=samu \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/qemu \
+ --target-list=x86_64-softmmu \
+ --enable-kvm \
+ --enable-virtfs \
+ --enable-pie \
+ --enable-vhost-net \
+ --enable-vhost-kernel \
+ --enable-slirp \
+ --enable-alsa \
+ --enable-gtk \
+ --disable-sdl \
+ --disable-spice \
+ --disable-opengl \
+ --disable-virglrenderer \
+ --disable-docs \
+ --disable-debug-info \
+ --disable-werror \
+ --disable-capstone \
+ --disable-bpf \
+ --audio-drv-list="" \
+ --cc=clang \
+ --cxx=clang++ \
+ --ninja=samu
+
+ samu -C build -j$(nproc)
+ DESTDIR=$PKG samu -C build install
+
+ # remove unneeded files
+ rm -rf $PKG/usr/share/doc
+ rm -rf $PKG/usr/share/info
+ rm -f $PKG/usr/lib/qemu/*.a
+ rm -f $PKG/usr/lib/libfdt.a
+}
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh