dev-cpp/gpgmepp: add 2.2.0

Closes: https://bugs.gentoo.org/981766
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-09-13 02:22:51 +01:00
parent 9145632211
commit 4fd7d07dc5
2 changed files with 42 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST gpgmepp-2.0.0.tar.xz 118304 BLAKE2B bc1df6462b8ceda69ed662bc533dcc022323087
DIST gpgmepp-2.0.0.tar.xz.sig 119 BLAKE2B 553d942c999c4b3d8ee0b519d8e64534becaf4c685b1842f1cbab7f8e33460ab82a2955fe2257bb60e5b1ef524542771cb10c6d17a5e2ef57979602a0d0b280e SHA512 b3d051b1187a4a605c0ac702380f8dba57870bac249ffdf773f07c6b25ac525c90b022635efecb69720dcdabab6760b25a8838d4ebe07ee75d4fadc990ccdddf
DIST gpgmepp-2.1.0.tar.xz 123124 BLAKE2B f13bb5f711b2379ba7f94fea0b9cb326900acc46cca73f733bbeae509c47a2f75af645c4ab1601e067221e96d86216e0935cd12176038407b6bb4aa62e3c9fad SHA512 fc1192ea5e7817cd717294c729f624800333b69c6474801ad2e55f3d7d20dfb6c39c3a991fc2ae94b7eaa217cd4243a1e49461d5d0203cd17b9b620e4a1914c0
DIST gpgmepp-2.1.0.tar.xz.sig 147 BLAKE2B 968226c41733621b88f2c990033ab2bd5fcc467947acebcfc7dfccf6f19f203cd1b21bc84c66e8ea6d50cb0a8067fb98e4f2b0d78317fd0a70a27e8083e7056b SHA512 7cfd54eb645f9e4e9ff13917070d0f5d93e8b8db27ffe0238cf94a0c7dda50b14abb7fbe6ae67e1e0dd56210a5c29c0ba2f11289e020473ee136027368641528
DIST gpgmepp-2.2.0.tar.xz 123940 BLAKE2B 64b3ea1e8b46e7277a3fa246eee7fdb523b03068588064b890099a59e3374aebaf88bcbb258b507e3fa3bcdd86164cc73951809fa1ffe6cd9238c2647ff0dcb8 SHA512 e69f7298ad4b10e476d8b450ee383c072dcff9a5b8bb893842ce79d8997115e93083c0215781be7b11a1dcd592d667890d1a6f6b6207e37fea9bc611de81c1fe
DIST gpgmepp-2.2.0.tar.xz.sig 147 BLAKE2B c3c9e148827bb0aed0b839c2a125cfb83a3ad78f59a3690903144c78a06bd87a72ca2d1740a7fe3560bb57357a7adc5ac37172f7956c538c500b5017e74c3fae SHA512 0bed41b0cce2b27041d5b013a6c3310312cb0a4312f975b7882f818e913bc6fbefb756ac8a0c5a82f9a398d809c7b0be1e60126daf277c432e43b274f83129d8

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
inherit cmake verify-sig
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use (C++ bindings)"
HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
SRC_URI="
mirror://gnupg/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnupg/${PN}/${P}.tar.xz.sig )
"
LICENSE="LGPL-2+ test? ( GPL-2 GPL-2+ LGPL-2.1+ )"
SLOT="0/7"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=app-crypt/gpgme-${PV%.*}:=
>=dev-libs/libgpg-error-1.47:=
"
RDEPEND="${DEPEND}
!<app-crypt/gpgme-2[cxx(-)]
!dev-cpp/gpgmepp:1
"
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-gnupg-20260913 )"
src_configure() {
local mycmakeargs=(
# As of 2.0.0, there aren't any non-manual tests. tests/README
# says that the real testing is done via dev-libs/qgpgme instead.
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}