Commit ecf62b7b authored by Jon Turney's avatar Jon Turney Committed by Adam Jackson

meson: Build rootless extension

parent b4ed20c4
......@@ -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')
......
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,
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment