From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2BDA0158091 for ; Fri, 17 Jun 2022 20:50:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2259FE0A6E; Fri, 17 Jun 2022 20:50:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F203FE0A6E for ; Fri, 17 Jun 2022 20:50:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D08D341D51 for ; Fri, 17 Jun 2022 20:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6515E475 for ; Fri, 17 Jun 2022 20:50:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1655498936.9bc2bf0ce6e366f80009ce0144fe3c40d48a577f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pinentry/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/pinentry/pinentry-1.2.0-r1.ebuild X-VCS-Directories: app-crypt/pinentry/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9bc2bf0ce6e366f80009ce0144fe3c40d48a577f X-VCS-Branch: master Date: Fri, 17 Jun 2022 20:50:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78d57a18-1610-41dc-9de0-33e1f5f681f0 X-Archives-Hash: a8d8cb48ddaa90d7b76779d820431b60 commit: 9bc2bf0ce6e366f80009ce0144fe3c40d48a577f Author: Sam James gentoo org> AuthorDate: Fri Jun 17 20:48:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 17 20:48:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc2bf0c app-crypt/pinentry: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/795876 Signed-off-by: Sam James gentoo.org> app-crypt/pinentry/pinentry-1.2.0-r1.ebuild | 89 +++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild b/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild new file mode 100644 index 000000000000..f3494a8189a9 --- /dev/null +++ b/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools qmake-utils + +DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol" +HOMEPAGE="https://gnupg.org/aegypten2" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~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" +IUSE="caps efl emacs gnome-keyring gtk ncurses qt5" + +DEPEND=" + >=dev-libs/libassuan-2.1 + >=dev-libs/libgcrypt-1.6.3 + >=dev-libs/libgpg-error-1.17 + caps? ( sys-libs/libcap ) + efl? ( dev-libs/efl[X] ) + gnome-keyring? ( app-crypt/libsecret ) + ncurses? ( sys-libs/ncurses:0= ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +RDEPEND="${DEPEND} + gtk? ( app-crypt/gcr[gtk] ) +" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" +IDEPEND=">=app-eselect/eselect-pinentry-0.7.2" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch" + "${FILESDIR}/${PN}-0.8.2-ncurses.patch" + "${FILESDIR}/${PN}-1.0.0-AR.patch" +) + +src_prepare() { + default + unset FLTK_CONFIG + eautoreconf +} + +src_configure() { + export QTLIB="$(qt5_get_libdir)" + + econf \ + $(use_enable efl pinentry-efl) \ + $(use_enable emacs pinentry-emacs) \ + $(use_enable gnome-keyring libsecret) \ + $(use_enable gtk pinentry-gnome3) \ + $(use_enable ncurses fallback-curses) \ + $(use_enable ncurses pinentry-curses) \ + $(use_enable qt5 pinentry-qt) \ + $(use_with caps libcap) \ + --enable-pinentry-tty \ + --disable-pinentry-fltk \ + --disable-pinentry-gtk2 \ + MOC="$(qt5_get_bindir)"/moc \ + GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \ + LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \ + $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') +} + +src_install() { + default + + rm "${ED}"/usr/bin/pinentry || die + + use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5 +} + +pkg_postinst() { + eselect pinentry update ifunset +} + +pkg_postrm() { + eselect pinentry update ifunset +}