Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pinentry/
Date: Sat, 27 Feb 2021 12:01:33
Message-Id: 1614427277.6cb2f794326a4cd3ff8429dc2c69500e8ba63281.zlogene@gentoo
1 commit: 6cb2f794326a4cd3ff8429dc2c69500e8ba63281
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 12:01:17 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 12:01:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb2f794
7
8 app-crypt/pinentry: Drop old
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 app-crypt/pinentry/pinentry-1.1.1.ebuild | 88 --------------------------------
14 1 file changed, 88 deletions(-)
15
16 diff --git a/app-crypt/pinentry/pinentry-1.1.1.ebuild b/app-crypt/pinentry/pinentry-1.1.1.ebuild
17 deleted file mode 100644
18 index 5d294348511..00000000000
19 --- a/app-crypt/pinentry/pinentry-1.1.1.ebuild
20 +++ /dev/null
21 @@ -1,88 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit autotools flag-o-matic qmake-utils toolchain-funcs
28 -
29 -DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
30 -HOMEPAGE="https://gnupg.org/aegypten2/index.html"
31 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 -IUSE="caps emacs gnome-keyring gtk ncurses qt5"
37 -
38 -DEPEND="
39 - app-eselect/eselect-pinentry
40 - >=dev-libs/libassuan-2.1
41 - >=dev-libs/libgcrypt-1.6.3
42 - >=dev-libs/libgpg-error-1.17
43 - caps? ( sys-libs/libcap )
44 - gnome-keyring? ( app-crypt/libsecret )
45 - ncurses? ( sys-libs/ncurses:0= )
46 - qt5? (
47 - dev-qt/qtcore:5
48 - dev-qt/qtgui:5
49 - dev-qt/qtwidgets:5
50 - )
51 -"
52 -RDEPEND="${DEPEND}
53 - gtk? ( app-crypt/gcr )
54 -"
55 -BDEPEND="
56 - sys-devel/gettext
57 - virtual/pkgconfig
58 -"
59 -
60 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
61 -
62 -PATCHES=(
63 - "${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch"
64 - "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
65 - "${FILESDIR}/${PN}-1.0.0-AR.patch"
66 -)
67 -
68 -src_prepare() {
69 - default
70 - unset FLTK_CONFIG
71 - eautoreconf
72 -}
73 -
74 -src_configure() {
75 - [[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11
76 -
77 - export QTLIB="$(qt5_get_libdir)"
78 -
79 - econf \
80 - $(use_enable emacs pinentry-emacs) \
81 - $(use_enable gnome-keyring libsecret) \
82 - $(use_enable gtk pinentry-gnome3) \
83 - $(use_enable ncurses fallback-curses) \
84 - $(use_enable ncurses pinentry-curses) \
85 - $(use_enable qt5 pinentry-qt) \
86 - $(use_with caps libcap) \
87 - --enable-pinentry-tty \
88 - --disable-pinentry-fltk \
89 - --disable-pinentry-gtk2 \
90 - MOC="$(qt5_get_bindir)"/moc \
91 - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \
92 - LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \
93 - $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
94 -}
95 -
96 -src_install() {
97 - default
98 - rm "${ED}"/usr/bin/pinentry || die
99 -
100 - use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
101 -}
102 -
103 -pkg_postinst() {
104 - eselect pinentry update ifunset
105 -}
106 -
107 -pkg_postrm() {
108 - eselect pinentry update ifunset
109 -}