app-crypt/pinentry: Remove package
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Mon, 24 Jul 2017 10:52:50 +0000 (12:52 +0200)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Mon, 24 Jul 2017 10:52:50 +0000 (12:52 +0200)
app-crypt/pinentry/Manifest [deleted file]
app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch [deleted file]
app-crypt/pinentry/files/pinentry-0.8.2-texi.patch [deleted file]
app-crypt/pinentry/files/pinentry-0.9.0-accessibility.patch [deleted file]
app-crypt/pinentry/files/pinentry-0.9.5-build.patch [deleted file]
app-crypt/pinentry/files/pinentry-0.9.6-add-disable-pinentry-qt5-option.patch [deleted file]
app-crypt/pinentry/files/pinentry-0.9.7-require-CPP11-for-qt-5-7.patches [deleted file]
app-crypt/pinentry/pinentry-0.9.7-r1.ebuild [deleted file]

diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
deleted file mode 100644 (file)
index 52838a5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX pinentry-0.8.2-ncurses.patch 824 SHA256 7d5e485e2c6dcce80ab63055d24761f53ae28e19b5ab2dacc424ebc7677805e8 SHA512 415ad55fd7a4ab66e87e5db76b1314b00f5a86552804f1f431a533ba1e7ec3f2c7136096106688b572639ceb637fdf0c3e25d96aa2e07fd1f6f295d39e1d4901 WHIRLPOOL 5483ccb6041e769387685ce987a19a2aa50835781a391169abbe7a838325149b81ce186692dbdc588858f74ef912a80f1eca6efb0f3421ace57925ca9c6f9ca5
-AUX pinentry-0.8.2-texi.patch 688 SHA256 47c5280fb82d0ba15338c60765c1ee37b368baf774a821f7afe85a7bf16dcbbc SHA512 4cd0b58a8719d0569d9a3c7c8258e609ccd6239436e3b981afcfb95859f8f4b898a8c29db3b310fb3611b285e58f89b09c9c9f8607a9168ee26ffc054ed9f680 WHIRLPOOL fd574ed478dcd9ff1a9306da1122f20d6f894ca055ed4f368f6796c5b41bfcff9c7842c8ed9a9b8a235ccd4031a153d9f0cf43e60e0cec16e482bcc021a21388
-AUX pinentry-0.9.0-accessibility.patch 2587 SHA256 80adf350a7fa17ab7d60b36d1d373f629c85424de96950c4156fe44e0c2691ae SHA512 2c337e71aad65af0fae7d82bacb08304e1c276cbc0cb318442669a3c711ea0be7b909a5ff9c6a5e846464d1e91645ec5a2c57d9deb5eaaa8b16ce3c5244684a8 WHIRLPOOL 02bf8215210b81f48a16a519b9207356fd32c42a42acd1eaeae9faf81e5f8b500c006a3491948b48df855b7a44cde4976753a71494ff1a1b1b407d2ed653af56
-AUX pinentry-0.9.5-build.patch 1632 SHA256 e78b4299eafd4cf90914f11882a19c2f26eac37efc6ffd0c639ea6a79c2e7927 SHA512 9d4f5dea925710da263546f52c685e82ddce66a52c3d2e16e52411b27a4adba07d28502af174217f138660eb8b016beb17a2e23a45edb757f49f80854f56a699 WHIRLPOOL 5fada469994b8fc155401d733a6a0f1ba226f6c4caeece77885b19608bf5649db4137ab584485965c439da8249598d1e0591e1934bf3748a0d8e1384a79f02bd
-AUX pinentry-0.9.6-add-disable-pinentry-qt5-option.patch 1810 SHA256 f19a155be0632ce3dbfa5dd17c01b9d54aa8abd130d411a82152b48ca35daf7a SHA512 e336403faf12e6deadd33fd7c87fbd45ba8fe0173b328881bca43b021170f523c5459d3e62651ef1d47a0bb8d5dc194125b29cbd09934653f98fbd5ece21f1b5 WHIRLPOOL 6d577042df3b8ce5c4729b761940ed95785c788a1e754d20d3a465f531ab63fb2c4c457193c2ad70ac2a302f344b17e457718f4e3480474a1f0366501dbf4986
-AUX pinentry-0.9.7-require-CPP11-for-qt-5-7.patches 1415 SHA256 ee9fc1ccc6d8c96a7097d8cb93a2277b7809dff24314d616615ae3bbe369c5a1 SHA512 1191ec7aa71042e4c770ea2793aac73f5501e83f0f93e9ae5440cbf84e4796c258156af7da9d0aaa7603e690c6bfa97d921c7721b3519d7ba33bd0f0def0baf4 WHIRLPOOL bbd686b0bde31c1a07074720ae611454f8a2f383c4d950c29deac974ac91b44c64c06066a65467589451bf596badbcc56d63a6bbfcb2061329861983b9209915
-DIST pinentry-0.9.7.tar.bz2 432978 SHA256 6398208394972bbf897c3325780195584682a0d0c164ca5a0da35b93b1e4e7b2 SHA512 9c5bc8f7246e8b0affd83fea6e64c47cecf6a12515a82dd2a6712b230306a9c3c97da4dbf6519ea98c85c88bf180a5a2b8c46cedcd594f224e5a08f2f0e35bf0 WHIRLPOOL eb3f72acf6990d61b4279de89a334e68c6052a3edef789aab2a421c2e489c1286b756bf3c9b8e6dd4cee3716e32b53d0e9d41db15a5069e010fe713dfba0596a
-EBUILD pinentry-0.9.7-r1.ebuild 3325 SHA256 3c79f826a06f98a179b40c1950647138c9ca1d1810fa8d3ea2ab20f7a6ddbe00 SHA512 f647b8135ccc3313138c28cf899bbb291058798392d035ff51b2a305cf94cddd8d773d6c1b654bd4928cd1cf118a67fe44e5e6f7db693eb6fe6299a89fc5ae07 WHIRLPOOL 52dfdee4812c0117da63766e73e9287602d1724172256d6b1b53bd8f4ab9c260f20df601f633f7cb2e77de23bc49cb125f07765f5111a726fc69f0d2104008bc
diff --git a/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch b/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch
deleted file mode 100644 (file)
index 3bb92c6..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-From bafe8608fc525ef103b3d1f3048ca28958bef596 Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Sun, 5 May 2013 02:23:08 +0300
-Subject: [PATCH] ncurses: link with optional tinfo
-
----
- m4/curses.m4 | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/m4/curses.m4 b/m4/curses.m4
-index 3a01881..ffb6bd1 100644
---- a/m4/curses.m4
-+++ b/m4/curses.m4
-@@ -36,6 +36,8 @@ AC_DEFUN([IU_LIB_NCURSES], [
-       have_ncursesw=no
-     fi
-     if test "$LIBNCURSES"; then
-+      AC_CHECK_LIB(tinfow, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfow",
-+        AC_CHECK_LIB(tinfo, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfo"))
-       # Use ncurses header files instead of the ordinary ones, if possible;
-       # is there a better way of doing this, that avoids looking in specific
-       # directories?
--- 
-1.8.1.5
-
diff --git a/app-crypt/pinentry/files/pinentry-0.8.2-texi.patch b/app-crypt/pinentry/files/pinentry-0.8.2-texi.patch
deleted file mode 100644 (file)
index f036fa9..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- doc/gpl.texi       2013-06-09 10:50:53.990704797 +1200
-+++ doc/gpl.texi       2013-06-09 10:51:25.310432565 +1200
-@@ -12,7 +12,7 @@
- of this license document, but changing it is not allowed.
- @end display
--@appendixsubsec Preamble
-+@appendixsec Preamble
-   The licenses for most software are designed to take away your
- freedom to share and change it.  By contrast, the GNU General Public
-@@ -63,7 +63,7 @@
- modification follow.
- @iftex
--@appendixsubsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-+@appendixsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- @end iftex
- @ifinfo
- @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
diff --git a/app-crypt/pinentry/files/pinentry-0.9.0-accessibility.patch b/app-crypt/pinentry/files/pinentry-0.9.0-accessibility.patch
deleted file mode 100644 (file)
index 20d6130..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-diff --git a/qt4/main.cpp b/qt4/main.cpp
-index 106999e..b2a69f2 100644
---- a/qt4/main.cpp
-+++ b/qt4/main.cpp
-@@ -217,8 +217,9 @@ qt_cmd_handler (pinentry_t pe)
-       for ( size_t i = 0 ; i < sizeof buttonLabels / sizeof *buttonLabels ; ++i )
-         if ( (buttons & buttonLabels[i].button) && !buttonLabels[i].label.isEmpty() ) {
-             box.button( buttonLabels[i].button )->setText( buttonLabels[i].label );
-+#ifndef QT_NO_ACCESSIBILITY
-             box.button( buttonLabels[i].button )->setAccessibleDescription ( buttonLabels[i].label );
--
-+#endif
-         }
-       box.setIconPixmap( icon() );
-diff --git a/qt4/pinentryconfirm.cpp b/qt4/pinentryconfirm.cpp
-index dfbd19f..6b3d545 100644
---- a/qt4/pinentryconfirm.cpp
-+++ b/qt4/pinentryconfirm.cpp
-@@ -30,8 +30,10 @@ PinentryConfirm::PinentryConfirm(Icon icon, int timeout, const QString &title,
-       connect(_timer, SIGNAL(timeout()), this, SLOT(slotTimeout()));
-       _timer->start(timeout*1000);
-     }
-+#ifndef QT_NO_ACCESSIBILITY
-     setAccessibleDescription (desc);
-     setAccessibleName (title);
-+#endif
-     raiseWindow (this);
- }
-diff --git a/qt4/pinentrydialog.cpp b/qt4/pinentrydialog.cpp
-index 3a6dacc..456f022 100644
---- a/qt4/pinentrydialog.cpp
-+++ b/qt4/pinentrydialog.cpp
-@@ -217,7 +217,9 @@ void PinEntryDialog::setDescription( const QString& txt )
- {
-   _desc->setVisible( !txt.isEmpty() );
-   _desc->setText( txt );
-+#ifndef QT_NO_ACCESSIBILITY
-   _desc->setAccessibleDescription ( txt );
-+#endif
-   _icon->setPixmap( icon() );
-   setError( QString::null );
- }
-@@ -231,7 +233,9 @@ void PinEntryDialog::setError( const QString& txt )
- {
-   if( !txt.isNull() )_icon->setPixmap( icon( QStyle::SP_MessageBoxCritical ) );
-   _error->setText( txt );
-+#ifndef QT_NO_ACCESSIBILITY
-   _error->setAccessibleDescription ( txt );
-+#endif
-   _error->setVisible( !txt.isEmpty() );
- }
-@@ -264,14 +268,18 @@ QString PinEntryDialog::prompt() const
- void PinEntryDialog::setOkText( const QString& txt )
- {
-   _ok->setText( txt );
-+#ifndef QT_NO_ACCESSIBILITY
-   _ok->setAccessibleDescription ( txt );
-+#endif
-   _ok->setVisible( !txt.isEmpty() );
- }
- void PinEntryDialog::setCancelText( const QString& txt )
- {
-   _cancel->setText( txt );
-+#ifndef QT_NO_ACCESSIBILITY
-   _cancel->setAccessibleDescription ( txt );
-+#endif
-   _cancel->setVisible( !txt.isEmpty() );
- }
-@@ -279,7 +287,9 @@ void PinEntryDialog::setQualityBar( const QString& txt )
- {
-   if (_have_quality_bar) {
-     _quality_bar_label->setText( txt );
-+#ifndef QT_NO_ACCESSIBILITY
-     _quality_bar_label->setAccessibleDescription ( txt );
-+#endif
-   }
- }
diff --git a/app-crypt/pinentry/files/pinentry-0.9.5-build.patch b/app-crypt/pinentry/files/pinentry-0.9.5-build.patch
deleted file mode 100644 (file)
index 2ef9a67..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From 29384a828ad83644df9093bb292194d1ac6e689b Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Sat, 18 Jul 2015 10:14:49 +0300
-Subject: [PATCH] build: add pkg-config initialization and modify detection
-
-add PKG_PROG_PKG_CONFIG as the qt4 detection and curses detection are
-already using pkg.m4 which require proper initialization.
-
-modify the manual detection of pkg-config based on the error value of
-the PKG_PROG_PKG_CONFIG and not the manual one as there is a conflict
-between empty and 'no'.
-
-Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
----
- configure.ac | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index b71cb17..7afa318 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -85,6 +85,7 @@ AC_PROG_RANLIB
- # for Qt and autoconf does does not allow that.
- AC_PROG_CXX
- AC_PROG_LN_S
-+PKG_PROG_PKG_CONFIG
- AC_CHECK_TOOL(WINDRES, windres, :)
- AC_CHECK_PROGS(GITLOG_TO_CHANGELOG, gitlog-to-changelog,
-                [build-aux/gitlog-to-changelog])
-@@ -430,8 +431,7 @@ AC_ARG_ENABLE(pinentry-gnome3,
- dnl check for pkg-config
- if test "$pinentry_gtk_2" != "no" -o "$pinentry_gnome_3" != "no"; then
--        AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
--      if test x"${PKG_CONFIG}" = xno ; then
-+      if test -z "${PKG_CONFIG}"; then
-               pinentry_gtk_2=no
-               pinentry_gnome_3=no
-       fi
-@@ -504,8 +504,7 @@ AC_ARG_ENABLE(libsecret,
- dnl check for pkg-config
- if test "$libsecret" != "no"; then
--        AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
--      if test x"${PKG_CONFIG}" = xno ; then
-+      if test -z "${PKG_CONFIG}" ; then
-               libsecret=no
-       fi
- fi
--- 
-2.3.6
-
diff --git a/app-crypt/pinentry/files/pinentry-0.9.6-add-disable-pinentry-qt5-option.patch b/app-crypt/pinentry/files/pinentry-0.9.6-add-disable-pinentry-qt5-option.patch
deleted file mode 100644 (file)
index 9522c2f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-From 08ec9556c8a384ea7bb5d42d3f6aab6c2f6a8786 Mon Sep 17 00:00:00 2001
-From: Andre Heinecke <aheinecke@intevation.de>
-Date: Fri, 25 Sep 2015 15:56:55 +0200
-Subject: [PATCH] Add option to disable looking for qt5
-
-* m4/qt.m4 (FIND_QT): Add --disable-pinentry-qt5 option to
-disable qt5 support even if it is available.
-
---
-As requested by Kristan F.
-
-GnuPG-bug-id: 2105
----
- m4/qt.m4 | 23 ++++++++++++++++-------
- 1 file changed, 16 insertions(+), 7 deletions(-)
-
-diff --git a/m4/qt.m4 b/m4/qt.m4
-index 0a7ea99..0e47ec6 100644
---- a/m4/qt.m4
-+++ b/m4/qt.m4
-@@ -28,15 +28,24 @@ dnl The moc lookup code is based on libpoppler (rev. d821207)
- AC_DEFUN([FIND_QT],
- [
--  PKG_CHECK_MODULES(PINENTRY_QT,
--                    Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0,
--                    [have_qt5_libs="yes"],
--                    [have_qt5_libs="no"])
-+  AC_ARG_ENABLE(pinentry-qt5,
-+                AC_HELP_STRING([--disable-pinentry-qt5],
-+                           [Don't use qt5 even if it is available.]),
-+                enable_pinentry_qt5=$enableval,
-+                enable_pinentry_qt5="try")
--  if "$PKG_CONFIG" --variable qt_config Qt5Core | grep -q "reduce_relocations"; then
--    PINENTRY_QT_CFLAGS="$PINENTRY_QT_CFLAGS -fpic"
--  fi
-+  have_qt5_libs="no";
-+
-+  if test "$enable_pinentry_qt5" != "no"; then
-+    PKG_CHECK_MODULES(PINENTRY_QT,
-+                      Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0,
-+                      [have_qt5_libs="yes"],
-+                      [have_qt5_libs="no"])
-+    if "$PKG_CONFIG" --variable qt_config Qt5Core | grep -q "reduce_relocations"; then
-+      PINENTRY_QT_CFLAGS="$PINENTRY_QT_CFLAGS -fpic"
-+    fi
-+  fi
-   if test "$have_qt5_libs" = "yes"; then
-     AC_CHECK_TOOL(MOC, moc)
-     AC_MSG_CHECKING([moc version])
--- 
-2.1.4
-
diff --git a/app-crypt/pinentry/files/pinentry-0.9.7-require-CPP11-for-qt-5-7.patches b/app-crypt/pinentry/files/pinentry-0.9.7-require-CPP11-for-qt-5-7.patches
deleted file mode 100644 (file)
index 406571c..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-From 7384e2a575dde2809784d9f182fd1d247064c8a2 Mon Sep 17 00:00:00 2001
-From: Kristian Fiskerstrand <kf@sumptuouscapital.com>
-Date: Thu, 11 Aug 2016 14:44:37 +0200
-Subject: [PATCH] Qt: Append -std=c++11 if building against Qt 5.7
-
- * m4/qt.m4: Append -std=c++11 to CFLAGS if building against Qt 5.7
-
---
-Qt 5.7 enables C++11 for Qt modules, and any app relying on it require to be
-compiled with at least this standard.
-
-This patch adds detection for Qt 5.7 and make sure -std=c++11 is passed if
-building against Qt 5.7 or higher.
----
- m4/qt.m4 | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/m4/qt.m4 b/m4/qt.m4
-index 093f428..90c4a6e 100644
---- a/m4/qt.m4
-+++ b/m4/qt.m4
-@@ -35,6 +35,7 @@ AC_DEFUN([FIND_QT],
-                 enable_pinentry_qt5="try")
-   have_qt5_libs="no";
-+  require_qt_cpp11="no";
-   if test "$enable_pinentry_qt5" != "no"; then
-     PKG_CHECK_MODULES(PINENTRY_QT,
-@@ -47,6 +48,15 @@ AC_DEFUN([FIND_QT],
-     fi
-   fi
-   if test "$have_qt5_libs" = "yes"; then
-+    PKG_CHECK_MODULES(PINENTRY_QT_REQUIRE_CPP11,
-+                      Qt5Core >= 5.7.0,
-+                      [require_qt_cpp11="yes"],
-+                      [require_qt_cpp11="no"])
-+
-+    if test "${require_qt_cpp11}" = "yes"; then
-+      PINENTRY_QT_CFLAGS="$PINENTRY_QT_CFLAGS -std=c++11"
-+    fi
-+
-     AC_CHECK_TOOL(MOC, moc)
-     AC_MSG_CHECKING([moc version])
-     mocversion=`$MOC -v 2>&1`
--- 
-2.7.3
-
diff --git a/app-crypt/pinentry/pinentry-0.9.7-r1.ebuild b/app-crypt/pinentry/pinentry-0.9.7-r1.ebuild
deleted file mode 100644 (file)
index 7af589c..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools qmake-utils multilib eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
-HOMEPAGE="http://gnupg.org/aegypten2/index.html"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="emacs gtk ncurses qt4 qt5 caps gnome-keyring static"
-
-CDEPEND="
-       >=dev-libs/libgpg-error-1.17
-       >=dev-libs/libassuan-2.1
-       >=dev-libs/libgcrypt-1.6.3
-       ncurses? ( sys-libs/ncurses:0= )
-       gtk? ( x11-libs/gtk+:2 )
-       qt4? (
-               >=dev-qt/qtgui-4.4.1:4
-            )
-       qt5? (
-               dev-qt/qtgui:5
-               dev-qt/qtwidgets:5
-            )
-       caps? ( sys-libs/libcap )
-       static? ( >=sys-libs/ncurses-5.7-r5:0=[static-libs,-gpm] )
-       app-eselect/eselect-pinentry
-       gnome-keyring? ( app-crypt/libsecret )
-"
-
-DEPEND="${CDEPEND}
-       sys-devel/gettext
-       virtual/pkgconfig
-"
-
-RDEPEND="
-       ${CDEPEND}
-       gnome-keyring? ( app-crypt/gcr )
-"
-
-REQUIRED_USE="
-       || ( ncurses gtk qt4 qt5 )
-       gtk? ( !static )
-       qt4? ( !static )
-       qt5? ( !static )
-       static? ( ncurses )
-       ?? ( qt4 qt5 )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"\
-                  "${FILESDIR}/${P}-require-CPP11-for-qt-5-7.patches"
-       eautoreconf
-}
-
-src_configure() {
-       local myconf=()
-       use static && append-ldflags -static
-       [[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11
-
-       QT_MOC=""
-       if use qt4; then
-               myconf+=( --enable-pinentry-qt
-                         --disable-pinentry-qt5
-                       )
-               QT_MOC="$(qt4_get_bindir)"/moc
-               # Issues finding qt on multilib systems
-               export QTLIB="$(qt4_get_libdir)"
-       elif use qt5; then
-               myconf+=( --enable-pinentry-qt )
-               QT_MOC="$(qt5_get_bindir)"/moc
-               export QTLIB="$(qt5_get_libdir)"
-       else
-               myconf+=( --disable-pinentry-qt )
-       fi
-
-       econf \
-               --enable-pinentry-tty \
-               $(use_enable emacs pinentry-emacs) \
-               $(use_enable gtk pinentry-gtk2) \
-               $(use_enable ncurses pinentry-curses) \
-               $(use_enable ncurses fallback-curses) \
-               $(use_with caps libcap) \
-               $(use_enable gnome-keyring libsecret) \
-               $(use_enable gnome-keyring pinentry-gnome3) \
-               "${myconf[@]}" \
-               MOC="${QT_MOC}"
-}
-
-src_install() {
-       default
-       rm -f "${ED}"/usr/bin/pinentry || die
-
-       if use qt4 || use qt5; then
-               dosym pinentry-qt /usr/bin/pinentry-qt4
-       fi
-}
-
-pkg_postinst() {
-       if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
-               elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
-               elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
-               elog "The soft resource limit for memory locking specifies the limit an"
-               elog "unprivileged process may lock into memory. You can also use POSIX"
-               elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
-               elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
-               elog "your users."
-       fi
-
-       eselect pinentry update ifunset
-}
-
-pkg_postrm() {
-       eselect pinentry update ifunset
-}