1 |
commit: a4b973611a0fffefbadab3fd02db7934dd25e030 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 17 12:27:36 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 17 12:28:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b97361 |
7 |
|
8 |
app-crypt/pinentry: Bump to version 1.2.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
app-crypt/pinentry/Manifest | 1 + |
13 |
app-crypt/pinentry/pinentry-1.2.0.ebuild | 90 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 91 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest |
17 |
index 034a29fa6e0..cbaa32586eb 100644 |
18 |
--- a/app-crypt/pinentry/Manifest |
19 |
+++ b/app-crypt/pinentry/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pinentry-1.1.0.tar.bz2 467702 BLAKE2B cf43555848ab0dc60756fca123aba7599ebb1bfe0458b973ed9d84479f8de9ee69ef309b518b40aa340434d64d37793cf97c94f78f99820bc5c71ecd2aac7a49 SHA512 5012672925bcb5f683358c259e55e4b87c67cf063ad52c759308933733025c33f7ce08e5b8019ffc101cbf7ef30499040ef2fd34a7611698e65e1593f80948cd |
22 |
DIST pinentry-1.1.1.tar.bz2 515723 BLAKE2B f257fe552852e6d1ff2c23aeb0c1127b43e3a60e44c78dfa764d569e659ccb78528ce3ee863114af273a4b6f6c24686cda2cb14bb04995eb8c41ccd4541a9fbd SHA512 d6ab5af8ac2f3c9c05e09703e95d8e2676f9b2b7ceb97f6a31d101d0e9da7a1e106a6d3eabe86cab1bb35a4b119a7cba1380ac64bf13c61af0b3c48803116c12 |
23 |
+DIST pinentry-1.2.0.tar.bz2 498390 BLAKE2B 6e97b55fe39e9c17f8a87fa669d23fca56c1095c2533a9eebe459fafc95a3fcb0a5ea502077aae5480b5259a3096c5f85e05d4872c0b19ad33f3d9084a220cc7 SHA512 19cea79aa3982d1f0d75220c8e24ca38d6c49475c6f4c5aa7101151b4690db23ed316096a4a411136e716ba4eb471f48f9b09556e5c9837533c2356b9b384b63 |
24 |
|
25 |
diff --git a/app-crypt/pinentry/pinentry-1.2.0.ebuild b/app-crypt/pinentry/pinentry-1.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..14485afa841 |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/pinentry/pinentry-1.2.0.ebuild |
30 |
@@ -0,0 +1,90 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools flag-o-matic qmake-utils toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol" |
39 |
+HOMEPAGE="https://gnupg.org/aegypten2" |
40 |
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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" |
45 |
+IUSE="caps efl emacs gnome-keyring gtk ncurses qt5" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ >=app-eselect/eselect-pinentry-0.7.2 |
49 |
+ >=dev-libs/libassuan-2.1 |
50 |
+ >=dev-libs/libgcrypt-1.6.3 |
51 |
+ >=dev-libs/libgpg-error-1.17 |
52 |
+ caps? ( sys-libs/libcap ) |
53 |
+ efl? ( dev-libs/efl[X] ) |
54 |
+ gnome-keyring? ( app-crypt/libsecret ) |
55 |
+ ncurses? ( sys-libs/ncurses:0= ) |
56 |
+ qt5? ( |
57 |
+ dev-qt/qtcore:5 |
58 |
+ dev-qt/qtgui:5 |
59 |
+ dev-qt/qtwidgets:5 |
60 |
+ ) |
61 |
+" |
62 |
+RDEPEND="${DEPEND} |
63 |
+ gtk? ( app-crypt/gcr[gtk] ) |
64 |
+" |
65 |
+BDEPEND=" |
66 |
+ sys-devel/gettext |
67 |
+ virtual/pkgconfig |
68 |
+" |
69 |
+ |
70 |
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
71 |
+ |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch" |
74 |
+ "${FILESDIR}/${PN}-0.8.2-ncurses.patch" |
75 |
+ "${FILESDIR}/${PN}-1.0.0-AR.patch" |
76 |
+) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ unset FLTK_CONFIG |
81 |
+ eautoreconf |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ [[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11 |
86 |
+ |
87 |
+ export QTLIB="$(qt5_get_libdir)" |
88 |
+ |
89 |
+ econf \ |
90 |
+ $(use_enable efl pinentry-efl) \ |
91 |
+ $(use_enable emacs pinentry-emacs) \ |
92 |
+ $(use_enable gnome-keyring libsecret) \ |
93 |
+ $(use_enable gtk pinentry-gnome3) \ |
94 |
+ $(use_enable ncurses fallback-curses) \ |
95 |
+ $(use_enable ncurses pinentry-curses) \ |
96 |
+ $(use_enable qt5 pinentry-qt) \ |
97 |
+ $(use_with caps libcap) \ |
98 |
+ --enable-pinentry-tty \ |
99 |
+ --disable-pinentry-fltk \ |
100 |
+ --disable-pinentry-gtk2 \ |
101 |
+ MOC="$(qt5_get_bindir)"/moc \ |
102 |
+ GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \ |
103 |
+ LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \ |
104 |
+ $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ default |
109 |
+ rm "${ED}"/usr/bin/pinentry || die |
110 |
+ |
111 |
+ use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5 |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ eselect pinentry update ifunset |
116 |
+} |
117 |
+ |
118 |
+pkg_postrm() { |
119 |
+ eselect pinentry update ifunset |
120 |
+} |