summaryrefslogtreecommitdiff
path: root/emulators/qemu-sbruno/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-sbruno/Makefile')
-rw-r--r--emulators/qemu-sbruno/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/emulators/qemu-sbruno/Makefile b/emulators/qemu-sbruno/Makefile
index f5adf9c1e661..1bb124b33ae6 100644
--- a/emulators/qemu-sbruno/Makefile
+++ b/emulators/qemu-sbruno/Makefile
@@ -50,6 +50,7 @@ CONFIGURE_ARGS+= --disable-tools
.endif
.else
# qemu-system-* targets require pixman to build, add an explicit dependency.
+USES+= xorg
USE_XORG= pixman
.endif
@@ -58,6 +59,7 @@ USE_XORG= pixman
.if defined(QEMU_USER_STATIC)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20
.else
+USES+= gnome
USE_GNOME+= glib20
BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc
.endif
@@ -151,7 +153,7 @@ CONFIGURE_ARGS+= --disable-gtk --disable-vte
PLIST_SUB+= GTK2="@comment "
.else
USE_GNOME+= gtk20 vte
-USES+= gettext
+USES+= gettext gnome
PLIST_SUB+= GTK2=""
.endif
@@ -189,7 +191,8 @@ LIB_DEPENDS+= libcurl.so:ftp/curl
.if empty(PORT_OPTIONS:MOPENGL)
CONFIGURE_ARGS+= --disable-opengl
.else
-USE_GL= yes
+USES+= gl
+USE_GL= glu
.endif
.if empty(PORT_OPTIONS:MUSBREDIR)