Skip to content

Commit ba01d4f

Browse files
committed
package/wpe/wpewebkit: disable choosing unsupported configurations
Use dependencies to disable showing unsupported configurations for the wpewebkit version choices: - With libsoup2 it is possible to build 2.22 and 2.38 - With libsoup3 it is possible to build 2.28 only Signed-off-by: Adrian Perez de Castro <[email protected]>
1 parent 35f5874 commit ba01d4f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package/wpe/wpewebkit/Config.in

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,24 @@ choice
7171

7272
config BR2_PACKAGE_WPEWEBKIT2_22
7373
bool "2.22"
74+
depends on BR2_PACKAGE_LIBSOUP_VERSION_2
7475
help
7576
Build WPEWEBKIT 2.22
7677

78+
comment "version 2.22 depends on libsoup2"
79+
depends on !BR2_PACKAGE_LIBSOUP_VERSION_2
80+
7781
config BR2_PACKAGE_WPEWEBKIT2_28
7882
bool "2.28"
79-
select BR2_PACKAGE_LIBSOUP_VERSION_3
83+
depends on BR2_PACKAGE_LIBSOUP_VERSION_3
8084
help
8185
Build WPEWEBKIT 2.28
8286

87+
comment "version 2.28 depends on libsoup3"
88+
depends on !BR2_PACKAGE_LIBSOUP_VERSION_3
89+
8390
config BR2_PACKAGE_WPEWEBKIT2_38
8491
bool "2.38"
85-
select BR2_PACKAGE_LIBSOUP_VERSION_3
8692
help
8793
Build WPE WebKit 2.38.x
8894

0 commit comments

Comments
 (0)