aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/ecore_buffer/meson.build
blob: 00f393fdb4afaf9399a34f1d3910a8ed29587f51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


subdir('shm')

#common dri packages
libtbm = dependency('libtbm', required: false)
libdrm = dependency('libdrm', required: false)

if libtbm.found() == true and libdrm.found() == true
  libdri2 = dependency('libdri2', required: false)
  if libdri2.found()
    subdir('x11_dri2')
  endif
endif

if libtbm.found() == true and libdrm.found() == true
  xshmfence = dependency('xshmfence', required: false)
  xcb = dependency('xcb', required: false)
  x11_xcb = dependency('x11_xcb', required: false)
  xcb_sync = dependency('xcb_sync', required: false)
  xcb_dri3 = dependency('xkb_dri3', required: false)
  if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found()
    subdir('x11_dri3')  
  endif
endif