meson: Build rootless extension
This commit is contained in:
parent
b4ed20c4f1
commit
ecf62b7ba6
|
@ -242,6 +242,12 @@ conf_data.set_quoted('__VENDORDWEBSUPPORT__', get_option('vendor_web'))
|
|||
conf_data.set_quoted('BUILDERADDR', get_option('builder_addr'))
|
||||
conf_data.set_quoted('BUILDERSTRING', get_option('builder_string'))
|
||||
|
||||
if build_rootless
|
||||
conf_data.set('ROOTLESS', build_rootless)
|
||||
conf_data.set('ROOTLESS_WORKAROUND', 1)
|
||||
conf_data.set('ROOTLESS_SAFEALPHA', 1)
|
||||
endif
|
||||
|
||||
#
|
||||
# for xorg-server.h only
|
||||
#
|
||||
|
|
|
@ -230,6 +230,11 @@ endif
|
|||
# XXX: Finish these.
|
||||
build_xquartz = false
|
||||
|
||||
build_rootless = false
|
||||
if build_xquartz
|
||||
build_rootless = true
|
||||
endif
|
||||
|
||||
if get_option('ipv6') == 'auto'
|
||||
build_ipv6 = cc.has_function('getaddrinfo')
|
||||
else
|
||||
|
@ -590,6 +595,9 @@ subdir('dbe')
|
|||
subdir('miext/damage')
|
||||
subdir('miext/shadow')
|
||||
subdir('miext/sync')
|
||||
if build_rootless
|
||||
subdir('miext/rootless')
|
||||
endif
|
||||
subdir('present')
|
||||
if build_xwin or build_xquartz
|
||||
subdir('pseudoramiX')
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
srcs_miext_rootless = [
|
||||
'rootlessCommon.c',
|
||||
'rootlessGC.c',
|
||||
'rootlessScreen.c',
|
||||
'rootlessValTree.c',
|
||||
'rootlessWindow.c',
|
||||
]
|
||||
|
||||
libxserver_miext_rootless = static_library('libxserver_miext_rootless',
|
||||
srcs_miext_rootless,
|
||||
include_directories: inc,
|
||||
dependencies: common_dep,
|
||||
)
|
Loading…
Reference in New Issue