Annotation of pkgsrc/emulators/qemu/options.mk, Revision 1.8
1.8 ! kamil 1: # $NetBSD: options.mk,v 1.7 2020/02/06 22:01:37 kamil Exp $
1.1 wiz 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.qemu
1.7 kamil 4: PKG_SUPPORTED_OPTIONS= gtk3 sdl spice
1.8 ! kamil 5: PKG_SUGGESTED_OPTIONS+=
1.1 wiz 6:
7: .include "../../mk/bsd.fast.prefs.mk"
8:
1.6 gutterid 9: .if ${OPSYS} == "Linux"
10: PKG_SUPPORTED_OPTIONS+= virtfs-proxy-helper
11: .endif
12:
1.5 adam 13: .if ${OPSYS} != "Darwin"
1.2 ryoon 14: PKG_SUGGESTED_OPTIONS+= sdl
1.1 wiz 15: .endif
16:
17: .include "../../mk/bsd.options.mk"
18:
1.6 gutterid 19: PLIST_VARS+= gtk virtfs-proxy-helper
1.3 adam 20:
21: .if !empty(PKG_OPTIONS:Mgtk3)
22: PLIST.gtk= yes
23: CONFIGURE_ARGS+= --enable-gtk
24: .include "../../x11/gtk3/buildlink3.mk"
25: .else
26: CONFIGURE_ARGS+= --disable-gtk
27: .endif
28:
1.1 wiz 29: .if !empty(PKG_OPTIONS:Msdl)
30: CONFIGURE_ARGS+= --enable-sdl
1.3 adam 31: .include "../../devel/SDL2/buildlink3.mk"
1.1 wiz 32: .else
33: CONFIGURE_ARGS+= --disable-sdl
34: .endif
1.6 gutterid 35:
36: # NB to successfully build virtfs-proxy-helper, the upstream Linux
37: # header/development libraries for libcap and libattr must be installed.
38: .if !empty(PKG_OPTIONS:Mvirtfs-proxy-helper)
39: PLIST.virtfs-proxy-helper= yes
40: CONFIGURE_ARGS+= --enable-virtfs
41: .else
42: CONFIGURE_ARGS+= --disable-virtfs
43: .endif
1.7 kamil 44:
45: .if !empty(PKG_OPTIONS:Mspice)
46: CONFIGURE_ARGS+= --enable-spice
47: .include "../../sysutils/spice-protocol/buildlink3.mk"
48: .include "../../sysutils/spice-server/buildlink3.mk"
49: .else
50: CONFIGURE_ARGS+= --disable-spice
51: .endif
CVSweb <webmaster@jp.NetBSD.org>