mirror of
https://github.com/brl/mutter.git
synced 2025-04-13 13:49:38 +00:00

The paint-wrapper test wraps around the painting process of an actor to paint its own texture before and after painting, it does that using the "paint" signal. This signal is deprecated and will be removed from Clutter, and since this "use-case" won't be supported anymore afterwards (the proper way is to use a ClutterEffect for things like this), remove the test. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1522
78 lines
2.1 KiB
Meson
78 lines
2.1 KiB
Meson
clutter_tests_interactive_srcdir = meson.current_source_dir()
|
|
clutter_tests_interactive_includepath = include_directories('.')
|
|
|
|
clutter_tests_interactive_c_args = [
|
|
'-DTESTS_DATADIR="@0@"'.format(clutter_tests_interactive_srcdir),
|
|
'-DG_DISABLE_SINGLE_INCLUDES',
|
|
'-DGLIB_DISABLE_DEPRECATION_WARNINGS',
|
|
'-DCOGL_DISABLE_DEPRECATION_WARNINGS',
|
|
'-DCLUTTER_DISABLE_DEPRECATION_WARNINGS',
|
|
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
|
|
]
|
|
clutter_tests_interactive_c_args += clutter_debug_c_args
|
|
|
|
clutter_tests_interactive_link_args = [
|
|
'-Wl,--export-dynamic',
|
|
]
|
|
|
|
clutter_tests_interactive_test_sources = [
|
|
'test-events.c',
|
|
'test-actors.c',
|
|
'test-script.c',
|
|
'test-grab.c',
|
|
'test-cogl-shader-glsl.c',
|
|
'test-cogl-tex-tile.c',
|
|
'test-cogl-tex-convert.c',
|
|
'test-cogl-offscreen.c',
|
|
'test-cogl-tex-polygon.c',
|
|
'test-animation.c',
|
|
'test-easing.c',
|
|
'test-binding-pool.c',
|
|
'test-text.c',
|
|
'test-text-field.c',
|
|
'test-cairo-clock.c',
|
|
'test-cairo-flowers.c',
|
|
'test-stage-sizing.c',
|
|
'test-swipe-action.c',
|
|
'test-cogl-point-sprites.c',
|
|
'test-devices.c',
|
|
'test-content.c',
|
|
'test-keyframe-transition.c',
|
|
'test-touch-events.c',
|
|
'test-rotate-zoom.c',
|
|
'test-image.c',
|
|
]
|
|
|
|
gen_test_unit_names = find_program('meson/gen-test-unit-names.sh')
|
|
clutter_interactive_test_unit_names_h = custom_target('gen-test-unit-names',
|
|
output: 'test-unit-names.h',
|
|
input: clutter_tests_interactive_test_sources,
|
|
command: [gen_test_unit_names, '@OUTPUT@', '@INPUT@'],
|
|
install: false,
|
|
)
|
|
|
|
clutter_tests_interactive_sources = [
|
|
'test-main.c',
|
|
clutter_interactive_test_unit_names_h,
|
|
clutter_tests_interactive_test_sources,
|
|
clutter_test_utils,
|
|
]
|
|
|
|
executable('test-interactive',
|
|
sources: clutter_tests_interactive_sources,
|
|
include_directories: [
|
|
clutter_includes,
|
|
clutter_tests_includepath,
|
|
clutter_tests_interactive_includepath,
|
|
],
|
|
c_args: clutter_tests_interactive_c_args,
|
|
link_args: clutter_tests_interactive_link_args,
|
|
dependencies: [
|
|
clutter_deps,
|
|
libmutter_clutter_dep,
|
|
libmutter_dep,
|
|
gdk_pixbuf_dep,
|
|
],
|
|
install: false,
|
|
)
|