From 64b26c2f1e128eca4ea0818b86a2855b0f72f072 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Thu, 15 Jun 2023 13:43:56 +0000
Subject: [PATCH] community/pinentry-ui: enable fallback to curses

automatically invokes pinentry-curses when no graphical is detected-
worst case nothing happens if not present

closes #15026
---
 community/pinentry-ui/APKBUILD | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/community/pinentry-ui/APKBUILD b/community/pinentry-ui/APKBUILD
index 59508bd38e7d..cbba7aece2f7 100644
--- a/community/pinentry-ui/APKBUILD
+++ b/community/pinentry-ui/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=pinentry-ui
 pkgver=1.2.1
-pkgrel=0
+pkgrel=1
 pkgdesc="Graphical UI's for Pinentry"
 url="https://www.gnupg.org/aegypten2/"
 arch="all"
@@ -29,13 +29,12 @@ build() {
 		--build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr \
-		--disable-pinentry-gtk \
-		--enable-pinentry-gtk2 \
-		--enable-pinentry-qt \
+		--enable-fallback-curses \
+		--enable-libsecret \
 		--disable-pinentry-curses \
-		--disable-fallback-curses \
 		--enable-pinentry-gnome3 \
-		--enable-libsecret
+		--enable-pinentry-gtk2 \
+		--enable-pinentry-qt
 	make
 }
 
-- 
GitLab