diff options
-rw-r--r-- | dev-libs/weston/files/weston-10.0.0-test-deps.patch | 34 | ||||
-rw-r--r-- | dev-libs/weston/weston-10.0.0.ebuild | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/weston/files/weston-10.0.0-test-deps.patch b/dev-libs/weston/files/weston-10.0.0-test-deps.patch new file mode 100644 index 000000000000..cc6ad8c6e130 --- /dev/null +++ b/dev-libs/weston/files/weston-10.0.0-test-deps.patch @@ -0,0 +1,34 @@ +From 9516859b9fdb2899a37116b55200fb04f7726b45 Mon Sep 17 00:00:00 2001 +From: Daniel Stone <daniels@collabora.com> +Date: Tue, 8 Feb 2022 22:39:42 +0000 +Subject: [PATCH] tests: Add dependency on screenshooter client protocol + +Given that the test-helper code relies on the screenshooter protocol, +make sure it's available for us to build, and the dependency ensures we +build in order. + +Fixes: #588 + +Signed-off-by: Daniel Stone <daniels@collabora.com> +--- + tests/meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tests/meson.build b/tests/meson.build +index d8e96e77d..955c4226c 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -29,8 +29,9 @@ lib_test_client = static_library( + 'weston-test-client-helper.c', + 'weston-test-fixture-compositor.c', + weston_test_client_protocol_h, +- weston_screenshooter_protocol_c, + weston_test_protocol_c, ++ weston_screenshooter_client_protocol_h, ++ weston_screenshooter_protocol_c, + viewporter_client_protocol_h, + viewporter_protocol_c, + 'color_util.h', +-- +GitLab + diff --git a/dev-libs/weston/weston-10.0.0.ebuild b/dev-libs/weston/weston-10.0.0.ebuild index ef2891bf73bb..d488637fff57 100644 --- a/dev-libs/weston/weston-10.0.0.ebuild +++ b/dev-libs/weston/weston-10.0.0.ebuild @@ -98,6 +98,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-10.0.0-backend-default.patch + "${FILESDIR}"/${PN}-10.0.0-test-deps.patch ) src_configure() { |