commit:     f6c72ca01c6e3a489ca738cc91158bd3a687a08d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 12:35:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 12:35:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c72ca0

app-crypt/p11-kit: add 0.25.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/p11-kit/Manifest              |  1 +
 app-crypt/p11-kit/p11-kit-0.25.0.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-crypt/p11-kit/Manifest b/app-crypt/p11-kit/Manifest
index b1ac6440b90a..043487f5f573 100644
--- a/app-crypt/p11-kit/Manifest
+++ b/app-crypt/p11-kit/Manifest
@@ -1,2 +1,3 @@
 DIST p11-kit-0.23.22.tar.xz 830016 BLAKE2B 
4e1edfd9e2441d237c07a16c003aee5ffde38f1cf545c26e435645429f2cfa4fe7ca61cdc3c3940390aa040ba991f2ee3995b14cc31bb886d5eeffa8ed5e1721
 SHA512 
098819e6ca4ad9cc2a0bc2e478aea67354d051a4f03e6c7d75d13d2469b6dc7654f26b15530052f6ed51acb35531c2539e0f971b31e29e6673e857c903afb080
 DIST p11-kit-0.24.1.tar.xz 838304 BLAKE2B 
e5cb98881279199e2674e2ff4f12d72c4d126c54429ee7ece6dd56ad1987f84abf58a67b8bf2405b19a5bca9d1106f8ec901364ac3d2488f65b3f92b51f850fe
 SHA512 
8cf170c714bb9e0cf3df93e8ec55b8e3c55cabf2c6a27f177ac6de8b8028985df2ca0216d3215d6828dc2ae3095c4e1a4febe8cb26b88ec321defc66bb011e81
+DIST p11-kit-0.25.0.tar.xz 958940 BLAKE2B 
6ffce977f86c516a327afe50f4cc5a36e86ba7f43c6cb555db419d9e4ba7543a9f1847ba83da348cd6d7bbebe55dfa26cfe3a3aaa3e1d5420a4b8dc6cbbff088
 SHA512 
e6df3cb224f6ff5671bd3c0557503b5f20bbfded1b6ec340b1dafcbd1b1725ea2d41d0e920756716e0fe9cb28270d115fe77b23ec876a15007b22e3f30d015fe

diff --git a/app-crypt/p11-kit/p11-kit-0.25.0.ebuild 
b/app-crypt/p11-kit/p11-kit-0.25.0.ebuild
new file mode 100644
index 000000000000..d5c7352e3e33
--- /dev/null
+++ b/app-crypt/p11-kit/p11-kit-0.25.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 meson-multilib
+
+DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
+HOMEPAGE="https://p11-glue.github.io/p11-glue/p11-kit.html";
+SRC_URI="https://github.com/p11-glue/p11-kit/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="MIT"
+SLOT="0"
+# Unkeyworded because of test failure w/ abi_x86_32
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="+libffi gtk-doc nls systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       app-misc/ca-certificates
+       >=dev-libs/libtasn1-3.4:=[${MULTILIB_USEDEP}]
+       libffi? ( dev-libs/libffi:=[${MULTILIB_USEDEP}] )
+       systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       nls? ( sys-devel/gettext )
+"
+
+multilib_src_configure() {
+       # Disable unsafe tests, bug#502088
+       export FAKED_MODE=1
+
+       local emesonargs=(
+               -Dbashcompdir="$(get_bashcompdir)"
+               -Dtrust_module=enabled
+               -Dtrust_paths="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
+               $(meson_feature libffi)
+               $(meson_use nls)
+               $(meson_use test)
+               $(meson_native_use_bool gtk-doc gtk_doc)
+               $(meson_native_true man)
+               $(meson_native_use_feature systemd)
+       )
+
+       meson_src_configure
+}

Reply via email to