diff --git a/cross/qemu/Makefile b/cross/qemu/Makefile new file mode 100644 index 00000000000..1f74dc9c0b4 --- /dev/null +++ b/cross/qemu/Makefile @@ -0,0 +1,27 @@ +PKG_NAME = qemu +PKG_VERS = 9.0.1 +PKG_EXT = tar.xz +PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) +PKG_DIST_SITE = https://download.qemu.org +PKG_DIR = $(PKG_NAME)-$(PKG_VERS) + +include ../../mk/spksrc.common.mk +ifneq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH)) +UNSUPPORTED_ARCHS = $(ARCH) +endif + +DEPENDS = cross/glib +DEPENDS += cross/pixman + +HOMEPAGE = https://wiki.qemu.org/Features/GuestAgent +COMMENT = Support for QMP commands and events that terminate and originate respectively within the guest using an agent built as part of QEMU. +LICENSE = GPLv2 + +GNU_CONFIGURE = 1 +CONFIGURE_ARGS = --target-list=x86_64-softmmu + +include ../../mk/spksrc.cross-cc.mk + +# x64-7.2: +# cross/glib fails to build glib 2.78.4 and glib 2.66.8 (all glib versions built with meson): +# glib/gnulib/meson.build:313:2: ERROR: Problem encountered: frexp() is missing or broken beyond repair, and we have nothing to replace it with diff --git a/cross/qemu/PLIST b/cross/qemu/PLIST new file mode 100644 index 00000000000..7627ec5b8f6 --- /dev/null +++ b/cross/qemu/PLIST @@ -0,0 +1,2 @@ +bin:bin/qemu-ga +bin:libexec/qemu-bridge-helper diff --git a/cross/qemu/digests b/cross/qemu/digests new file mode 100644 index 00000000000..1f9d1b34e18 --- /dev/null +++ b/cross/qemu/digests @@ -0,0 +1,3 @@ +qemu-9.0.1.tar.xz SHA1 241fb1b9c89e02e700be48ec47bc04b1bc6e8f6e +qemu-9.0.1.tar.xz SHA256 d0f4db0fbd151c0cf16f84aeb2a500f6e95009732546f44dafab8d2049bbb805 +qemu-9.0.1.tar.xz MD5 905f7f21d3507c057e2fb65b142e960e diff --git a/spk/qemu-ga/Makefile b/spk/qemu-ga/Makefile new file mode 100644 index 00000000000..660e22ebc75 --- /dev/null +++ b/spk/qemu-ga/Makefile @@ -0,0 +1,25 @@ +SPK_NAME = qemu-ga +SPK_VERS = 9.0.1 +SPK_REV = 1 +SPK_ICON = src/qemu.png + +include ../../mk/spksrc.common.mk +ifneq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH)) +UNSUPPORTED_ARCHS = $(ARCH) +endif + +REQUIRED_MIN_DSM = 7.1 + +DEPENDS = cross/qemu + +MAINTAINER = hgy59 +HOMEPAGE = https://wiki.qemu.org/Features/GuestAgent +DISPLAY_NAME = QEMU Guest Agent +DESCRIPTION = Support for QMP commands and events that terminate and originate respectively within the guest using an agent built as part of QEMU. +LICENSE = GPLv2 + +STARTABLE = no + +SPK_COMMANDS = bin/qemu-ga + +include ../../mk/spksrc.spk.mk diff --git a/spk/qemu-ga/src/qemu.png b/spk/qemu-ga/src/qemu.png new file mode 100644 index 00000000000..4b6cc8a5b32 Binary files /dev/null and b/spk/qemu-ga/src/qemu.png differ