sys-apps/fwupd: fix configure with USE=test,-gnutls

See: https://github.com/fwupd/fwupd/pull/3921

Closes: https://bugs.gentoo.org/791760
Signed-off-by: James Beddek <telans@posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/22756
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
James Beddek
2021-10-31 02:45:34 +00:00
committed by Sam James
parent 8c3e2277df
commit 7ad43fe5d4
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,20 @@
# https://bugs.gentoo.org/791760
# https://github.com/fwupd/fwupd/pull/3921
diff --git a/plugins/synaptics-rmi/meson.build b/plugins/synaptics-rmi/meson.build
index acbb6b92..10ac3047 100644
--- a/plugins/synaptics-rmi/meson.build
+++ b/plugins/synaptics-rmi/meson.build
@@ -38,7 +38,6 @@ shared_module('fu_plugin_synaptics_rmi',
fwupdplugin,
],
)
-endif
if get_option('tests')
e = executable(
@@ -67,3 +66,4 @@ if get_option('tests')
)
test('synaptics-rmi-self-test', e)
endif
+endif
+1
View File
@@ -91,6 +91,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.5.7-logind_plugin.patch
"${FILESDIR}"/${P}-elanfp-requires-gusb.patch
"${FILESDIR}"/${P}-fix-test-configure.patch # bug 791760
)
pkg_setup() {