summaryrefslogtreecommitdiff
path: root/src/stage2/patches/pinentry.patch
blob: 64133a2742cc45681fedc41f191ce34123ba5f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/PKGBUILD	2018-02-24 21:11:19.960151917 +0100
+++ b/PKGBUILD	2018-02-26 18:22:05.483328241 +0100
@@ -9,7 +9,7 @@ pkgdesc='Collection of simple PIN or pas
 url='http://gnupg.org/related_software/pinentry/'
 arch=('x86_64')
 license=('GPL')
-depends=('ncurses' 'libcap' 'libassuan' 'libsecret')
+depends=('ncurses' 'libcap' 'libassuan')
 makedepends=('gtk2' 'qt5-base' 'gcr')
 optdepends=('gtk2: gtk2 backend'
             'qt5-base: qt backend'
@@ -22,15 +22,16 @@ validpgpkeys=('D8692123C4065DEA5E0F3AB52
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	./configure \
+		--host=@CHOST@ --build=@BUILDHOST@ \
 		--prefix=/usr \
 		--enable-pinentry-tty \
 		--enable-pinentry-curses \
 		--enable-fallback-curses \
-		--enable-pinentry-emacs \
-		--enable-pinentry-gtk2 \
-		--enable-pinentry-gnome3 \
-		--enable-pinentry-qt \
-		--enable-libsecret \
+		--disable-pinentry-emacs \
+		--disable-pinentry-gtk2 \
+		--disable-pinentry-gnome3 \
+		--disable-pinentry-qt \
+		--disable-libsecret \
 
 	make
 }