Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

235.2. gpgme-2.2.0

C library that allows cryptography support to be added to a program

2.2.0-1 · LGPL-2.1-or-later AND GPL-3.0-or-later AND MIT · 0.6 SBU · 1.3 MiB, 22 files · 43_toolkits, 45 of 344 · ports/core/crypto/gpgme

Homepage: https://www.gnupg.org/software/gpgme/

GPGME (GnuPG Made Easy) is the C library through which programs use GnuPG: it runs gpg, gpgsm and the other GnuPG tools as child processes, talks to them over pipes and the Assuan protocol, and gives the caller an API for encrypting, decrypting, signing, verifying and managing keys. Mail and chat clients (notmuch, gmime, dino, profanity) and the container tools that verify image signatures (podman, skopeo, buildah) link it. The C++ and Qt bindings are the separate gpgmepp and qgpgme ports.

Depends on: libgpg-error, libassuan, gnupg.

Required by (12): buildah, dino, gmime, gpgmepp, kgpg, kwallet, notmuch, podman, profanity, qgpgme, skopeo, volume_key.

Sources: gpgme-2.2.0.tar.bz2 (1.4 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install gpgme'

build.sh:

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--disable-linux-getdents \
	--disable-gpg-test \
	--disable-gpgsm-test \
	--disable-g13-test \
	--disable-static

make
make DESTDIR=$PKG install

Programs: gnupg-key-manage, gpgme-config, gpgme-json, gpgme-tool.

Libraries: libgpgme.so.

Directories: /usr/share/common-lisp/source/gpgme, /usr/share/licenses/gpgme.