summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/acme-sh/Manifest2
-rw-r--r--app-crypt/acme-sh/acme-sh-3.1.2.ebuild (renamed from app-crypt/acme-sh/acme-sh-3.1.1.ebuild)0
-rw-r--r--app-crypt/ccid/Manifest2
-rw-r--r--app-crypt/ccid/ccid-1.7.0.ebuild (renamed from app-crypt/ccid/ccid-1.5.5.ebuild)40
-rw-r--r--app-crypt/ccid/files/ccid-1.5.5-remove-flex-configure-dependency.patch68
-rw-r--r--app-crypt/certbot/Manifest2
-rw-r--r--app-crypt/certbot/certbot-5.2.2.ebuild (renamed from app-crypt/certbot/certbot-5.2.1.ebuild)0
-rw-r--r--app-crypt/freepg/freepg-2.5.14.ebuild2
-rw-r--r--app-crypt/gnupg/gnupg-2.5.12-r1.ebuild2
-rw-r--r--app-crypt/gnupg/gnupg-2.5.13-r1.ebuild2
-rw-r--r--app-crypt/gnupg/gnupg-2.5.13-r2.ebuild2
-rw-r--r--app-crypt/gnupg/gnupg-2.5.14.ebuild4
-rw-r--r--app-crypt/gpgme/gpgme-2.0.1-r1.ebuild2
-rw-r--r--app-crypt/keysmith/Manifest1
-rw-r--r--app-crypt/keysmith/keysmith-25.12.0.ebuild39
-rw-r--r--app-crypt/seahorse/seahorse-47.0.1-r2.ebuild86
16 files changed, 152 insertions, 102 deletions
diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest
index 046b66ce78f9..380c6dd91db4 100644
--- a/app-crypt/acme-sh/Manifest
+++ b/app-crypt/acme-sh/Manifest
@@ -1 +1 @@
-DIST acme.sh-3.1.1.tar.gz 316344 BLAKE2B 5eaae8a5bf30f4418f9373a2604ccdf1379b89c1e404db008f113b37bc0e87198c482581f752fd82722284259c28661b08a1084b6a6c1e5cbb2ae0956658ddd6 SHA512 9b3f8541251b83c2ac34826c60e3abedb06fa72e628afcfa0f0beb529d6c9ae2b1964e873ce33e12498f106c2fc6ef1fc7ed1c9673d9fd80e343921a284f015d
+DIST acme.sh-3.1.2.tar.gz 338572 BLAKE2B 345c15aa0034573cfd2bf177de1722a3beba906a6c4522550bd331c4c372b88b4bef2a1c1b3dec23432668661805f821eecb8bbf9939404ac1f2a140dd1e77eb SHA512 b7ea3ef8dd68f47f9770e2cebbacd9ab12a1b8a2ccc3bf85ff28141b7ac54c8b2ec68d6fbc245ef117bc41e00c6a5e3d8128bf401e07d12d7e0cf6e36f70966f
diff --git a/app-crypt/acme-sh/acme-sh-3.1.1.ebuild b/app-crypt/acme-sh/acme-sh-3.1.2.ebuild
index e4f3f9f973ce..e4f3f9f973ce 100644
--- a/app-crypt/acme-sh/acme-sh-3.1.1.ebuild
+++ b/app-crypt/acme-sh/acme-sh-3.1.2.ebuild
diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest
index 917d756bdc69..f332b1696695 100644
--- a/app-crypt/ccid/Manifest
+++ b/app-crypt/ccid/Manifest
@@ -1,2 +1,2 @@
-DIST ccid-1.5.5.tar.bz2 708374 BLAKE2B a82986ead2dbb3241ef419ad16eb0fac835c5ab4fa988e5ee53cd1608a30a9381210a6fd013b6a059ca2835d55b4a41afa4064575e91b8eb356bff6d01d19add SHA512 9d2aebe645a5880bfad7d420ddab96811d1fd989c79afa28f5471ae53f36b6d45ee5e13b32ac4afcf59fc762ae835db7e6312ad6642b263158c2d9a30c7651bd
DIST ccid-1.6.1.tar.xz 195844 BLAKE2B 7ab243196761b22edbaffca14b7ef840d53cc4eecc7d6252fb3255e85fc11eb0e1de65775a250da3d4687015ad6e2901d77b1227dc5921f69b42891541ad4e62 SHA512 3c8336a71e48880f3239b322acb0c40231ae83f80011cef39fef95eade6fd76849343faafdb4fcf9e962afda2c3a415e4a537d3f423b152ef2d3dddb4ecf2eac
+DIST ccid-1.7.0.tar.xz 200688 BLAKE2B c6c262365191181e53af81d9232cf87d9bfbf7e86d5791076c108776b1822e255da94867895d71331973a9e739ad47059c661880477af9cfa5f9ce599aca359a SHA512 8e138957f01deefc803dde707fa3a9888de260abcfc0e8c57ef5ce7c506d173552ec55e36a384ce40f51b7aa4014ac42f5ba1e98152750f89db3e2eb7e6f4539
diff --git a/app-crypt/ccid/ccid-1.5.5.ebuild b/app-crypt/ccid/ccid-1.7.0.ebuild
index fccaa6c3c161..b34a1055b2ae 100644
--- a/app-crypt/ccid/ccid-1.5.5.ebuild
+++ b/app-crypt/ccid/ccid-1.7.0.ebuild
@@ -3,44 +3,36 @@
EAPI=8
-inherit autotools udev
+inherit meson udev
DESCRIPTION="CCID free software driver"
HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID"
-SRC_URI="https://ccid.apdu.fr/files/${P}.tar.bz2"
+SRC_URI="https://ccid.apdu.fr/files/${P}.tar.xz"
-LICENSE="GPL-2"
+LICENSE="LGPL-2.1+ LGPL-2+ GPL-2+"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
-IUSE="twinserial +usb"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="twinserial"
RDEPEND="
- >=sys-apps/pcsc-lite-1.8.3
- twinserial? ( dev-lang/perl )
- usb? ( virtual/libusb:1 )
+ sys-apps/pcsc-lite
+ virtual/libusb:1
"
DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${P}-remove-flex-configure-dependency.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
+BDEPEND="
+ app-alternatives/lex
+ dev-lang/perl
+ virtual/pkgconfig"
src_configure() {
- econf \
- LEX=: \
- $(use_enable twinserial) \
- $(use_enable usb libusb)
+ local emesonargs=(
+ $(meson_use twinserial serial)
+ )
+ meson_src_configure
}
src_install() {
- default
+ meson_src_install
udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
}
diff --git a/app-crypt/ccid/files/ccid-1.5.5-remove-flex-configure-dependency.patch b/app-crypt/ccid/files/ccid-1.5.5-remove-flex-configure-dependency.patch
deleted file mode 100644
index 1ffb74fc61aa..000000000000
--- a/app-crypt/ccid/files/ccid-1.5.5-remove-flex-configure-dependency.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 7e2207a07979b6c1b206024e83e22ca2bbd4e17c Mon Sep 17 00:00:00 2001
-From: Eli Schwartz <eschwartz93@gmail.com>
-Date: Mon, 10 Jun 2024 22:02:37 -0400
-Subject: [PATCH] make building work again when flex is not installed
-
-This explicitly reverts commit eec7cdf03dda2bd26e320ead73b91da5a9d86443
-because it was a bad idea.
-
-The motivating bug report was https://github.com/LudovicRousseau/PCSC/issues/124
-and the issue there occurred when building from a git clone, running
-./bootstrap && ./configure && make, and having:
-
-- configure succeed
-- make "succeeeds" at having $LEX run, do nothing and fail to generate
- required sources
-- compiling nonexistent files fail with highly confusing errors
-
-The autoconf manual has always documented the correct way to handle this
-is to check if lex is unavailable, and set it to the famous automake
-wrapper "missing", which checks if a program is missing at build time
-rather than at ./configure time, and fails the build if the rule cannot
-be run. This means:
-
-When building from a git clone, if flex is not available then
-- configure succeeds
-- make fails to run $LEX, and tells you to install flex
-
-The previous attempt to fix the highly confusing error instead resulted
-in configure erroring out, and saying flex is required, even when it is
-*not* required because a `make dist` tarball was used, which contains
-pregenerated tokenparser.c for the express purpose of making flex
-unnecessary.
-
-See autoconf documentation on $LEX:
-https://www.gnu.org/software/autoconf/manual/autoconf-2.72/html_node/Particular-Programs.html#index-AC_005fPROG_005fLEX-1
-
-And automake documentation on why to use "missing":
-https://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html
-
-Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
----
- configure.ac | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index eb2370f..c012f2a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,7 +33,10 @@ AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- AC_PROG_LN_S
- AC_PROG_LEX([noyywrap])
--AS_IF([test $LEX = ":"], [AC_MSG_ERROR([no lex or flex found])])
-+AS_IF([test $LEX = ":"], [
-+ AM_MISSING_PROG(MISSINGLEX, [flex])
-+ LEX=$MISSINGLEX]
-+)
- AM_PROG_AR
- PKG_PROG_PKG_CONFIG
-
-@@ -331,4 +334,3 @@ AC_CONFIG_FILES(Makefile
- examples/Makefile)
-
- AC_OUTPUT
--
---
-2.44.2
-
diff --git a/app-crypt/certbot/Manifest b/app-crypt/certbot/Manifest
index 96c40c8f60e4..44c5dd7a015a 100644
--- a/app-crypt/certbot/Manifest
+++ b/app-crypt/certbot/Manifest
@@ -3,4 +3,4 @@ DIST certbot-4.1.1.gh.tar.gz 2325999 BLAKE2B 9bc3f3c3ce84c1a9846274901565db26745
DIST certbot-4.2.0.gh.tar.gz 2329899 BLAKE2B 443efb97693f8a455f4776d8bcafb80e007fd627cf8fe51b38c041e7f7709eb7b44a85710a57560c64c732aeebcb2e9e369bb2dba3ff41a9f421ecfd1d703211 SHA512 9003a2fe06dd05c7fde5954051feb8d11586acfeb5b2aab298d4eccae7cfd0a13366212eb812e2be118711d8c273f39bfb53d8590f9bab418338e46b1f628504
DIST certbot-5.0.0.gh.tar.gz 2317173 BLAKE2B 3b7bd0cf9493d3c57f8228fddc5e78a63ff90be90bfbbba3b91a0320f3e6ab8ab4ac1ddc3a9168dcaec6ea73bbf814397218a572fb92de24f7c2c53aed354a52 SHA512 13bdef8e678aa75b746c2ba685e3dd9b6d2f10641b631592a994e68483accb7c93467535d1dc7df79be2e7eac1dbf8917980192d729d639ab5f151eb731bca7d
DIST certbot-5.1.0.gh.tar.gz 2319656 BLAKE2B b145f99e4b1c3ab3cab1ec66bcac073748703d1beacb40f5bc138603f29c960a9f73a27f29752fef74e45a2da5f320a03a8eb90b3b7d5183e62fad4b9ddf7d4b SHA512 5a4830b3e433acf5f21f93704f729f632c5e03c51ef0deab4f4928c0ee8004d51132a3504148fc8a706b810b55e572423457d9995c8164369c4678123eb10a3e
-DIST certbot-5.2.1.gh.tar.gz 2329137 BLAKE2B 3b764dbcb61167253ab1bc59f314c996e684390f3f37ecbc7c626b6ec59a29479d322355f6901150ec73b4357f406003d9b7eff298a5a8a8fa74c82360613456 SHA512 9477f6fa57f77da6fb3e8bee727535803d9ebfca0c921b80e9b01ccdcf4174282947e1738acd63f8d5b6b65425f945c3021eb58c9811950b6c362ce76f0d7144
+DIST certbot-5.2.2.gh.tar.gz 2327742 BLAKE2B 958e72f2f4265b45ca1faf1930f8aeb25ed8f255cb9d628d8e0120da6ff5df25857b1a32881cace57112fca674439b4e3b8cd2f19ef078a35c6aeb6b8382f4e9 SHA512 3a6d564a7e8f47fd59564c32eb3ac13f3724eb3edb5f1abfd0069cfb5393c68e1eb05a42afe6380b4b8e70ca4084acccdad1a342c79d17717ab40d42a1ada7e4
diff --git a/app-crypt/certbot/certbot-5.2.1.ebuild b/app-crypt/certbot/certbot-5.2.2.ebuild
index 6e969274d148..6e969274d148 100644
--- a/app-crypt/certbot/certbot-5.2.1.ebuild
+++ b/app-crypt/certbot/certbot-5.2.2.ebuild
diff --git a/app-crypt/freepg/freepg-2.5.14.ebuild b/app-crypt/freepg/freepg-2.5.14.ebuild
index e51d5b968599..96045c6ead2d 100644
--- a/app-crypt/freepg/freepg-2.5.14.ebuild
+++ b/app-crypt/freepg/freepg-2.5.14.ebuild
@@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( tofu )"
diff --git a/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild b/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild
index 6578dba2e6ce..e4d8ab976e06 100644
--- a/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild
@@ -31,7 +31,7 @@ REQUIRED_USE="test? ( tofu )"
# Existence of executables is checked during configuration.
# Note: On each bump, update dep bounds on each version from configure.ac!
DEPEND="
- >=dev-libs/libassuan-3.0.0:=
+ >=dev-libs/libassuan-3.0.0-r1:=
>=dev-libs/libgcrypt-1.11.0:=
>=dev-libs/libgpg-error-1.51
>=dev-libs/libksba-1.6.3
diff --git a/app-crypt/gnupg/gnupg-2.5.13-r1.ebuild b/app-crypt/gnupg/gnupg-2.5.13-r1.ebuild
index b7dc16e83caa..cb1a29c7c247 100644
--- a/app-crypt/gnupg/gnupg-2.5.13-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.5.13-r1.ebuild
@@ -31,7 +31,7 @@ REQUIRED_USE="test? ( tofu )"
# Existence of executables is checked during configuration.
# Note: On each bump, update dep bounds on each version from configure.ac!
DEPEND="
- >=dev-libs/libassuan-3.0.0:=
+ >=dev-libs/libassuan-3.0.0-r1:=
>=dev-libs/libgcrypt-1.11.0:=
>=dev-libs/libgpg-error-1.56
>=dev-libs/libksba-1.6.3
diff --git a/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild b/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
index e131ce80996c..7606ab2b475e 100644
--- a/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
+++ b/app-crypt/gnupg/gnupg-2.5.13-r2.ebuild
@@ -31,7 +31,7 @@ REQUIRED_USE="test? ( tofu )"
# Existence of executables is checked during configuration.
# Note: On each bump, update dep bounds on each version from configure.ac!
DEPEND="
- >=dev-libs/libassuan-3.0.0:=
+ >=dev-libs/libassuan-3.0.0-r1:=
>=dev-libs/libgcrypt-1.11.0:=
>=dev-libs/libgpg-error-1.56
>=dev-libs/libksba-1.6.3
diff --git a/app-crypt/gnupg/gnupg-2.5.14.ebuild b/app-crypt/gnupg/gnupg-2.5.14.ebuild
index e131ce80996c..b18e96d141bc 100644
--- a/app-crypt/gnupg/gnupg-2.5.14.ebuild
+++ b/app-crypt/gnupg/gnupg-2.5.14.ebuild
@@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="+alternatives bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( tofu )"
@@ -31,7 +31,7 @@ REQUIRED_USE="test? ( tofu )"
# Existence of executables is checked during configuration.
# Note: On each bump, update dep bounds on each version from configure.ac!
DEPEND="
- >=dev-libs/libassuan-3.0.0:=
+ >=dev-libs/libassuan-3.0.0-r1:=
>=dev-libs/libgcrypt-1.11.0:=
>=dev-libs/libgpg-error-1.56
>=dev-libs/libksba-1.6.3
diff --git a/app-crypt/gpgme/gpgme-2.0.1-r1.ebuild b/app-crypt/gpgme/gpgme-2.0.1-r1.ebuild
index ae4dbf625c1f..7e3083b28897 100644
--- a/app-crypt/gpgme/gpgme-2.0.1-r1.ebuild
+++ b/app-crypt/gpgme/gpgme-2.0.1-r1.ebuild
@@ -27,7 +27,7 @@ LICENSE="GPL-2 LGPL-2.1"
# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355
# Subslot: SONAME of each: <libgpgme.FUDGE>
SLOT="1/45.0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="common-lisp static-libs test"
RESTRICT="!test? ( test )"
diff --git a/app-crypt/keysmith/Manifest b/app-crypt/keysmith/Manifest
index 5bba4b91b5a4..742974db42c0 100644
--- a/app-crypt/keysmith/Manifest
+++ b/app-crypt/keysmith/Manifest
@@ -1 +1,2 @@
DIST keysmith-25.08.3.tar.xz 237876 BLAKE2B 69847827f85c753ce0434c53b2498aeedbf357eca5d98c5c2046bd7190b9254d1543a70a233bcac5c5c3cd5231f9e978b53e9dd07db742e4727467c01ebbf881 SHA512 a9b8199329359cb1e40b601ead4da23df48cefe6857b09628959d0d85a5b9ca1318caa2cf25f127c5980c54d2c9aeea7b77b286ff610a4b937e465d82631c251
+DIST keysmith-25.12.0.tar.xz 237840 BLAKE2B 0c18d332ba3b293060ba6ef713230073cf8477717d972b5d56c335290c044449c31ca1ce60253525b50618fd86896a44ed63f031c82bf8cb733a801e133a7607 SHA512 c09c6d7c70783c82805de48b3c9e9171471f83a6fd15d1dd9929a1ccb27ed375af492bc2a048944fc4af0ed568e5485ebc59cbd305ebd593b7f80b6c7766a1dc
diff --git a/app-crypt/keysmith/keysmith-25.12.0.ebuild b/app-crypt/keysmith/keysmith-25.12.0.ebuild
new file mode 100644
index 000000000000..564f493c4387
--- /dev/null
+++ b/app-crypt/keysmith/keysmith-25.12.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY="utilities"
+ECM_TEST="true"
+KFMIN=6.19.0
+QTMIN=6.9.1
+inherit ecm gear.kde.org xdg
+
+DESCRIPTION="OTP client for Plasma Mobile and Desktop"
+HOMEPAGE="https://apps.kde.org/keysmith/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ >=dev-libs/kirigami-addons-1.7.0:6
+ dev-libs/libsodium:=
+ dev-libs/openssl:=
+ >=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtbase-${QTMIN}:6[concurrent]
+"
+RDEPEND="${COMMON_DEPEND}
+ >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
+"
diff --git a/app-crypt/seahorse/seahorse-47.0.1-r2.ebuild b/app-crypt/seahorse/seahorse-47.0.1-r2.ebuild
new file mode 100644
index 000000000000..008e23bab1ab
--- /dev/null
+++ b/app-crypt/seahorse/seahorse-47.0.1-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit flag-o-matic gnome.org gnome2-utils meson vala xdg
+
+DESCRIPTION="Manage your passwords and encryption keys"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/seahorse"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="X ldap zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.66:2
+ >=app-crypt/gcr-3.38:0=
+ >=app-crypt/gpgme-1.14.0:=
+ >=x11-libs/gtk+-3.24.0:3[X?]
+ app-alternatives/gpg
+ >=gui-libs/libhandy-1.6.0:1
+ >=app-crypt/libsecret-0.16
+ dev-libs/libpwquality
+ virtual/openssh
+ ldap? ( net-nds/openldap:= )
+ net-libs/libsoup:3.0
+ zeroconf? ( >=net-dns/avahi-0.6[dbus] )
+"
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ dev-libs/libxml2:2
+ app-crypt/gcr:0[vala]
+ app-crypt/libsecret[vala]
+ gui-libs/libhandy:1[vala]
+"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xsl-stylesheets
+ dev-libs/appstream-glib
+ dev-libs/libxslt
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ # https://gitlab.gnome.org/GNOME/seahorse/-/issues/348
+ "${FILESDIR}/${PN}-47.0.1-ldap-test.patch"
+ # https://bugs.gentoo.org/961310
+ "${FILESDIR}/${PN}-47.0.1-gpgme-2.patch"
+)
+
+src_prepare() {
+ default
+ vala_setup
+ gnome2_environment_reset
+}
+
+src_configure() {
+ use X || append-cppflags -DGENTOO_GTK_HIDE_X11
+
+ local emesonargs=(
+ -Dhelp=true
+ -Dpgp-support=true
+ -Dcheck-compatible-gpg=false # keep lowest version listed as compatible as min dep for gnupg RDEPEND
+ -Dpkcs11-support=true
+ -Dkeyservers-support=true
+ -Dhkp-support=true
+ $(meson_use ldap ldap-support)
+ $(meson_use zeroconf key-sharing)
+ -Dmanpage=true
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}