commit:     09a47a08b19d4c1c9637c363ce2967332d4ca35d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 09:56:48 2026 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 09:56:48 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a47a08

app-emacs/autocrypt: new package, add 0.4.2_pre20250415

Closes: https://bugs.gentoo.org/969280
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/autocrypt/Manifest                         |  1 +
 .../autocrypt/autocrypt-0.4.2_pre20250415.ebuild     | 20 ++++++++++++++++++++
 app-emacs/autocrypt/files/50autocrypt-gentoo.el      |  9 +++++++++
 app-emacs/autocrypt/metadata.xml                     | 17 +++++++++++++++++
 4 files changed, 47 insertions(+)

diff --git a/app-emacs/autocrypt/Manifest b/app-emacs/autocrypt/Manifest
new file mode 100644
index 000000000000..57233b25d7eb
--- /dev/null
+++ b/app-emacs/autocrypt/Manifest
@@ -0,0 +1 @@
+DIST autocrypt-0.4.2_pre20250415.tar.gz 21334 BLAKE2B 
590e274cae2e27725de9a4f613fc85a3b878daf172857d58363cb948db094d87b07b40ce84248a2031326c6d7411bac808109012bd700db6fdcc596164a90673
 SHA512 
0946f3ea7bc850d2e8b88b5ce09f0b30bf0b35016ab80a54c9eccd754e4804c40ac53e6c50a7ed0e9170838350e20172ea0754e3b163a4152f1b7098d9cd31ab

diff --git a/app-emacs/autocrypt/autocrypt-0.4.2_pre20250415.ebuild 
b/app-emacs/autocrypt/autocrypt-0.4.2_pre20250415.ebuild
new file mode 100644
index 000000000000..ac121532ff15
--- /dev/null
+++ b/app-emacs/autocrypt/autocrypt-0.4.2_pre20250415.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit elisp
+
+MY_PN="${PN}.el"
+COMMIT="08c1e2c9c2cfa00b16a05968cb553f19ec680330"
+DESCRIPTION="Generic autocrypt implementation for Emacs"
+HOMEPAGE="https://codeberg.org/pkal/autocrypt.el";
+SRC_URI="https://codeberg.org/pkal/${MY_PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=("README.md")
+SITEFILE="50${PN}-gentoo.el"

diff --git a/app-emacs/autocrypt/files/50autocrypt-gentoo.el 
b/app-emacs/autocrypt/files/50autocrypt-gentoo.el
new file mode 100644
index 000000000000..3f180dd36c70
--- /dev/null
+++ b/app-emacs/autocrypt/files/50autocrypt-gentoo.el
@@ -0,0 +1,9 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'autocrypt-create-account "autocrypt"
+  "Create a GPG key for Autocrypt." t)
+(autoload 'autocrypt-mode "autocrypt"
+  "Enable Autocrypt support in current buffer." t)
+(autoload 'autocrypt-gnus--install "autocrypt-gnus")
+(autoload 'autocrypt-message--install "autocrypt-message")
+(autoload 'autocrypt-mu4e--install "autocrypt-mu4e")
+(autoload 'autocrypt-rmail--install "autocrypt-rmail")

diff --git a/app-emacs/autocrypt/metadata.xml b/app-emacs/autocrypt/metadata.xml
new file mode 100644
index 000000000000..86b80a803325
--- /dev/null
+++ b/app-emacs/autocrypt/metadata.xml
@@ -0,0 +1,17 @@
+<?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 GNU Emacs project</name>
+</maintainer>
+<longdescription>
+  Autocrypt is cryptography protocol, for distributing and automatically
+  encrypting emails. This package generically implements the protocol,
+  for various Emacs MUAs (Mail User Agent).
+</longdescription>
+<stabilize-allarches />
+<upstream>
+  <remote-id type="codeberg">pkal/autocrypt.el</remote-id>
+</upstream>
+</pkgmetadata>

Reply via email to