Skip to content

Commit fb73563

Browse files
committed
package/cog: import upstream patch to reduce build time dependencies
Import a patch which allows configuring Cog 0.16 without any platform plug-ins and building it without requiring wpebackend-fdo installed. Signed-off-by: Adrian Perez de Castro <[email protected]>
1 parent 3ba7d73 commit fb73563

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
From 38e438a5b875aeeb23b44951a5e48e6bab6d92c7 Mon Sep 17 00:00:00 2001
2+
From: Adrian Perez de Castro <[email protected]>
3+
Date: Fri, 14 Oct 2022 01:54:52 +0300
4+
Subject: [PATCH] meson: Avoid subdir when no platform plugins configured
5+
6+
This avoids a few dependency checks and makes it easier to build
7+
Cog when targeting a generic WPE backend.
8+
9+
Signed-off-by: Adrian Perez de Castro <[email protected]>
10+
---
11+
meson.build | 5 ++++-
12+
1 file changed, 4 insertions(+), 1 deletion(-)
13+
14+
diff --git a/meson.build b/meson.build
15+
index ca7bade..e4b4e8c 100644
16+
--- a/meson.build
17+
+++ b/meson.build
18+
@@ -147,7 +147,10 @@ wpe_dep = dependency('wpe-1.0')
19+
manette_dep = dependency('manette-0.2', version: '>=0.2.4', required: false)
20+
21+
subdir('core')
22+
-subdir('platform')
23+
+
24+
+if platform_plugins.length() > 0
25+
+ subdir('platform')
26+
+endif
27+
28+
if get_option('documentation')
29+
subdir('docs')
30+
--
31+
2.38.0
32+

0 commit comments

Comments
 (0)