summaryrefslogtreecommitdiff
path: root/xserver/glamor
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2023-01-22 09:21:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2023-01-22 09:21:12 +0000
commit5137be12226ec726cde8f1b16f38c9d0f63c8281 (patch)
tree2fa203cf313cd57f13dba789aae25c5cdf0aaf9b /xserver/glamor
parent2ca49aa841311a3b1769ec80cd148c2b7d1c7501 (diff)
Add back the meson build system to xserver.
Not having those file only create noise when merging upstream releases.
Diffstat (limited to 'xserver/glamor')
-rw-r--r--xserver/glamor/meson.build60
1 files changed, 60 insertions, 0 deletions
diff --git a/xserver/glamor/meson.build b/xserver/glamor/meson.build
new file mode 100644
index 000000000..268af593e
--- /dev/null
+++ b/xserver/glamor/meson.build
@@ -0,0 +1,60 @@
+srcs_glamor = [
+ 'glamor.c',
+ 'glamor_copy.c',
+ 'glamor_core.c',
+ 'glamor_dash.c',
+ 'glamor_font.c',
+ 'glamor_glx.c',
+ 'glamor_composite_glyphs.c',
+ 'glamor_image.c',
+ 'glamor_lines.c',
+ 'glamor_segs.c',
+ 'glamor_render.c',
+ 'glamor_gradient.c',
+ 'glamor_prepare.c',
+ 'glamor_program.c',
+ 'glamor_rects.c',
+ 'glamor_spans.c',
+ 'glamor_text.c',
+ 'glamor_transfer.c',
+ 'glamor_transform.c',
+ 'glamor_trapezoid.c',
+ 'glamor_triangles.c',
+ 'glamor_addtraps.c',
+ 'glamor_glyphblt.c',
+ 'glamor_points.c',
+ 'glamor_pixmap.c',
+ 'glamor_largepixmap.c',
+ 'glamor_picture.c',
+ 'glamor_vbo.c',
+ 'glamor_window.c',
+ 'glamor_fbo.c',
+ 'glamor_compositerects.c',
+ 'glamor_utils.c',
+ 'glamor_sync.c',
+]
+
+if build_xv
+ srcs_glamor += 'glamor_xv.c'
+endif
+
+epoxy_dep = dependency('epoxy')
+
+glamor = static_library('glamor',
+ srcs_glamor,
+ include_directories: inc,
+ dependencies: [
+ common_dep,
+ epoxy_dep,
+ ],
+)
+
+glamor_egl_stubs = static_library('glamor_egl_stubs',
+ 'glamor_egl_stubs.c',
+ include_directories: inc,
+ dependencies: common_dep,
+)
+
+if build_xorg
+ install_data('glamor.h', install_dir: xorgsdkdir)
+endif