2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2023 OmniOS Community Edition (OmniOSce) Association.
18 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_VERSION
= 7.2.0
25 A generic and open source machine emulator and virtualizer
26 COMPONENT_PROJECT_URL
= https
://www.qemu.org
/
27 COMPONENT_FMRI
= system
/qemu
28 COMPONENT_CLASSIFICATION
= System
/Virtualization
29 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
30 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
31 COMPONENT_ARCHIVE_HASH
= sha256
:5b49ce2687744dad494ae90a898c52204a3406e84d072482a1e1be854eeb2157
32 COMPONENT_ARCHIVE_URL
= https
://download.qemu.org
/$(COMPONENT_ARCHIVE
)
33 COMPONENT_SIG_URL
= $(COMPONENT_ARCHIVE_URL
).sig
34 COMPONENT_LICENSE
= GPLv2
35 COMPONENT_LICENSE_FILE
= COPYING
37 TEST_TARGET
= $(NO_TESTS
)
38 include $(WS_MAKE_RULES
)/common.mk
39 include $(WS_MAKE_RULES
)/ninja.mk
41 COMPONENT_POST_INSTALL_ACTION
= \
42 ( find
$(PROTOUSRBINDIR
) -name
'qemu-system-*' -type f
-exec
strip {} + )
43 COMPONENT_INSTALL_ARGS
=
45 CPPFLAGS
+= $(JPEG_CPPFLAGS
)
46 CFLAGS
+= $(JPEG_CFLAGS
)
47 LDFLAGS
+= $(JPEG_LDFLAGS
)
51 REQUIRED_PACKAGES
+= library
/libtasn1
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
55 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
56 REQUIRED_PACKAGES
+= compress
/bzip2
57 REQUIRED_PACKAGES
+= compress
/zstd
58 REQUIRED_PACKAGES
+= image
/library
/libpng16
59 REQUIRED_PACKAGES
+= library
/desktop
/cairo
60 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
61 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
62 REQUIRED_PACKAGES
+= library
/desktop
/vte-291
63 REQUIRED_PACKAGES
+= library
/glib2
64 REQUIRED_PACKAGES
+= library
/gnutls-3
65 REQUIRED_PACKAGES
+= library
/graphics
/pixman
66 REQUIRED_PACKAGES
+= library
/libusb-1
67 REQUIRED_PACKAGES
+= library
/lzo
68 REQUIRED_PACKAGES
+= library
/sdl2
69 REQUIRED_PACKAGES
+= library
/zlib
70 REQUIRED_PACKAGES
+= system
/library
71 REQUIRED_PACKAGES
+= system
/library
/math
72 REQUIRED_PACKAGES
+= web
/curl
73 REQUIRED_PACKAGES
+= x11
/library
/libepoxy
74 REQUIRED_PACKAGES
+= x11
/library
/libx11
75 REQUIRED_PACKAGES
+= x11
/library
/mesa