Skip to contentSkip to conversation

package/mutt: add gpgme optional dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mutt: add gpgme optional dependency

gpgme is supported since 2005 and
https://gitlab.com/muttmua/mutt/-/commit/4bb5db92a89158cc45c3480f2be62d0b435c9a4e

---
 package/mutt/mutt.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
package/mutt/mutt.mk +9 -0
index c2188cebea..9557983a07 100644
@@ -36,6 +36,15 @@ else
 MUTT_CONF_OPTS += --without-idn --without-idn2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGPGME),y)
+MUTT_DEPENDENCIES += libgpgme
+MUTT_CONF_OPTS += \
+	--enable-gpgme \
+	--with-gpgme-prefix=$(STAGING_DIR)/usr
+else
+MUTT_CONF_OPTS += --disable-gpgme
+endif
+
 ifeq ($(BR2_PACKAGE_MUTT_IMAP),y)
 MUTT_CONF_OPTS += --enable-imap
 else
Signature · 1 line
2.29.2