svn commit: r492838 - head/sysutils/xen-tools411
Roger Pau Monné
royger at FreeBSD.org
Wed Feb 13 09:44:27 UTC 2019
Author: royger (src committer)
Date: Wed Feb 13 09:44:26 2019
New Revision: 492838
URL: https://svnweb.freebsd.org/changeset/ports/492838
Log:
xen-tools411: add optional SPICE support
Add a new config option to enable SPICE support for QEMU. Note that
the SPICE code in QEMU requires llvm 7.0 or higher, so it's currently
only available for FreeBSD 13.0 and higher and disabled by default.
Submitted by: Oleg Ginzburg <olevole at olevole.ru>
Reviewed by: royger
Modified:
head/sysutils/xen-tools411/Makefile
Modified: head/sysutils/xen-tools411/Makefile
==============================================================================
--- head/sysutils/xen-tools411/Makefile Wed Feb 13 09:39:20 2019 (r492837)
+++ head/sysutils/xen-tools411/Makefile Wed Feb 13 09:44:26 2019 (r492838)
@@ -3,7 +3,7 @@
PORTNAME= xen
PKGNAMESUFFIX= -tools411
PORTVERSION= 4.11.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= sysutils emulators
MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/
@@ -21,8 +21,14 @@ BUILD_DEPENDS= seabios>0:misc/seabios
RUN_DEPENDS= seabios>0:misc/seabios
DOCS_BUILD_DEPENDS=markdown:textproc/markdown
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS SPICE
+OPTIONS_DEFAULT= DOCS
+SPICE_DESC= Enable SPICE protocol for QEMU
+SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice"
+SPICE_BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol
+SPICE_LIB_DEPENDS= libspice-server.so:devel/libspice-server
+
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64"
@@ -69,6 +75,10 @@ IGNORE= only supported on FreeBSD
.if ${OSVERSION} < 1200074
IGNORE= only supported on recent FreeBSD HEAD
+.endif
+
+.if ${PORT_OPTIONS:MSPICE} && ${OSVERSION} < 1300008
+BROKEN= SPICE support requires FreeBSD version 13.0 or higher
.endif
post-patch:
More information about the svn-ports-all
mailing list