emulators/qemu42: UNBREAK for 13.X and later

- Mark DEPRECATED as there are more recent versions in the tree
- Update pkg-descr as https://oszoo.org no longer hosts qemu images and
  is totally an irrelevent site
- Do some housekeeping to remove stage-qa errors
This commit is contained in:
Muhammad Moinur Rahman 2021-12-05 17:55:52 -06:00
parent 5ccd54578c
commit 5ab52ebb4b
3 changed files with 23 additions and 14 deletions

View file

@ -13,13 +13,16 @@ COMMENT?= QEMU CPU Emulator - 4.2.X branch
LICENSE= GPLv2
DEPRECATED= Use emulators/qemu or emulators/qemu-devel
EXPIRATION_DATE=2022-01-10
BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
LIB_DEPENDS?= libnettle.so:security/nettle \
LIB_DEPENDS?= libepoxy.so:graphics/libepoxy \
libfdt.so:sysutils/dtc \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libepoxy.so:graphics/libepoxy \
libpcre2-8.so:devel/pcre2 \
libfdt.so:sysutils/dtc
libnettle.so:security/nettle \
libpcre2-8.so:devel/pcre2
.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent")
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le
@ -106,7 +109,8 @@ X11_CONFIGURE_ENABLE= sdl
X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2
X11_USES= sdl
.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent")
X86_TARGETS_USE_OFF= XORG=pixman,x11
X86_TARGETS_LIB_DEPENDS_OFF= libharfbuzz.so:print/harfbuzz
X86_TARGETS_USE_OFF= GL=gbm XORG=pixman,x11
X86_TARGETS_USES_OFF= xorg
.endif
@ -145,6 +149,12 @@ MAKE_ARGS+= ARCH=ppc64
CONFIGURE_ARGS+= --sparc_cpu=v9
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000
PLIST_SUB+= IVSHMEM=""
.else
PLIST_SUB+= IVSHMEM="@comment "
.endif
PLIST_SUB+= LINUXBOOT_DMA=""
post-patch-CDROM_DMA-off:

View file

@ -3,17 +3,14 @@ good emulation speed.
QEMU has two operating modes:
* Full system emulation. In this mode, QEMU emulates a full system
(for example a PC), including a processor and various peripherials.
It can be used to launch different Operating Systems without rebooting
the PC or to debug system code.
(for example a PC), including a processor and various peripherials.
It can be used to launch different Operating Systems without rebooting
the PC or to debug system code.
* User mode emulation (Linux host only). In this mode, QEMU can launch
Linux processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator or to ease cross-compilation and
cross-debugging.
Linux processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator or to ease cross-compilation and
cross-debugging.
As QEMU requires no host kernel patches to run, it is very safe and easy to use.
See also the preconfigured system images on http://oszoo.org/
Many live cd isos also work.
WWW: http://wiki.qemu.org/Main_Page

View file

@ -1,4 +1,6 @@
bin/elf2dmp
%%IVSHMEM%%bin/ivshmem-client
%%IVSHMEM%%bin/ivshmem-server
bin/qemu-edid
bin/qemu-ga
bin/qemu-i386