diff --git a/security/pinentry/pinentry.conf b/security/pinentry/pinentry.conf new file mode 100644 index 000000000..c71ec94e5 --- /dev/null +++ b/security/pinentry/pinentry.conf @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pinentry/pinentry.conf +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# always build ncurses frontend +pkgprefix -t ncurses + +# optional frontends +if ! pkginstalled -f gtk+; then + var_append extraconfopt ' ' "--disable-pinentry-gtk2" +fi + +if ! pkginstalled -f qt3; then + var_append extraconfopt ' ' "--disable-pinentry-qt" +fi + +if ! pkginstalled -f qt4; then + var_append extraconfopt ' ' "--disable-pinentry-qt4" +fi