commit:     5a4b23d5e26bcb0500e1c4ceb0da31a6044f2fcc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 22:18:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 23:19:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4b23d5

dev-cpp/gpgmepp: new package, add 2.0.0

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

 dev-cpp/gpgmepp/Manifest             |  2 ++
 dev-cpp/gpgmepp/gpgmepp-2.0.0.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 dev-cpp/gpgmepp/metadata.xml         |  8 +++++++
 profiles/package.mask                |  1 +
 4 files changed, 52 insertions(+)

diff --git a/dev-cpp/gpgmepp/Manifest b/dev-cpp/gpgmepp/Manifest
new file mode 100644
index 000000000000..d5b8efdef3d0
--- /dev/null
+++ b/dev-cpp/gpgmepp/Manifest
@@ -0,0 +1,2 @@
+DIST gpgmepp-2.0.0.tar.xz 118304 BLAKE2B 
bc1df6462b8ceda69ed662bc533dcc0223230873bbf10ef51d009740bf63a5754e0c06fd29c3a74cdecdf565f54d29e3cdaa6e1148e566efacd5d1eb5d183a1f
 SHA512 
ed98f5dfd45efa216d0fc983ad650b46235b28a8e4faaf4349bc8e14cf76758e3099cfdc61e549f07e57d663e82550f373641f67303c5f2891b00fa5b419e927
+DIST gpgmepp-2.0.0.tar.xz.sig 119 BLAKE2B 
553d942c999c4b3d8ee0b519d8e64534becaf4c685b1842f1cbab7f8e33460ab82a2955fe2257bb60e5b1ef524542771cb10c6d17a5e2ef57979602a0d0b280e
 SHA512 
b3d051b1187a4a605c0ac702380f8dba57870bac249ffdf773f07c6b25ac525c90b022635efecb69720dcdabab6760b25a8838d4ebe07ee75d4fadc990ccdddf

diff --git a/dev-cpp/gpgmepp/gpgmepp-2.0.0.ebuild 
b/dev-cpp/gpgmepp/gpgmepp-2.0.0.ebuild
new file mode 100644
index 000000000000..32b66e8c7b64
--- /dev/null
+++ b/dev-cpp/gpgmepp/gpgmepp-2.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Maintainers should:
+# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/
+# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159
+# (find the one for the current release then subscribe to it +
+# any subsequent ones linked within so you're covered for a while.)
+
+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="GPL-2 LGPL-2+"
+SLOT="0/7"
+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="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=app-crypt/gpgme-2:=
+       >=dev-libs/libgpg-error-1.47:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gnupg )"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_TESTING=$(usex test)
+       )
+
+       cmake_src_configure
+}

diff --git a/dev-cpp/gpgmepp/metadata.xml b/dev-cpp/gpgmepp/metadata.xml
new file mode 100644
index 000000000000..b0d83aa2e489
--- /dev/null
+++ b/dev-cpp/gpgmepp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Base System</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 51811d5b69d1..9a08f6b0b3c8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -39,6 +39,7 @@
 # Sam James <[email protected]> (2025-06-03)
 # Major changes to packaging as bindings are split out by upstream.
 >=app-crypt/gpgme-2
+dev-cpp/gpgmepp
 
 # Sam James <[email protected]> (2025-06-03)
 # Fetching from GitHub seems broken with this:

Reply via email to