package/gcr: depends on !gnupg

Since gcr selects gnupg2, it's incompatible with gnupg. Add this
dependency and corresponding comment.

While we're at it, also hide the existing comment when
!BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2022-03-15 21:49:12 +01:00
parent 56b49691ab
commit 5783a418f4

View File

@ -5,6 +5,7 @@ config BR2_PACKAGE_GCR
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
depends on !BR2_STATIC_LIBS # p11-kit
depends on !BR2_PACKAGE_GNUPG # gnupg2
select BR2_PACKAGE_GNUPG2 # runtime
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBGLIB2
@ -15,6 +16,15 @@ config BR2_PACKAGE_GCR
https://developer.gnome.org/gcr/
comment "gcr needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
comment "gcr is incompatible with gnupg, gnupg2 only"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS
depends on BR2_PACKAGE_GNUPG # gnupg2