commit: eeb954186fb7ab4ac10f44d15619f6152d2b8854 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sun May 8 12:37:38 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sun May 8 12:38:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb95418
app-emacs/mastodon: new package; add version 1.0.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/mastodon/Manifest | 1 + app-emacs/mastodon/files/50mastodon-gentoo.el | 3 +++ app-emacs/mastodon/mastodon-1.0.0.ebuild | 24 ++++++++++++++++++++++++ app-emacs/mastodon/metadata.xml | 13 +++++++++++++ 4 files changed, 41 insertions(+) diff --git a/app-emacs/mastodon/Manifest b/app-emacs/mastodon/Manifest new file mode 100644 index 000000000000..3070a2eba5c5 --- /dev/null +++ b/app-emacs/mastodon/Manifest @@ -0,0 +1 @@ +DIST mastodon-1.0.0.tar.gz 91448 BLAKE2B 093599c4e80113fcb91e0419f3fd050dc793965ce5b69ac94aaabefa5c51cf1b02bb9d8b9bb60a6b5cab377780958b30254f0d91c0f3f8309c1b04342415b17d SHA512 206b180e1cbb345ef35182f753e05b57d5ef1649c68aa3a8ff8eee3c4e3157a22457398a04219f4fd052e8af9d94f6978a6c95c399e284eb27449cd9a4c53e8c diff --git a/app-emacs/mastodon/files/50mastodon-gentoo.el b/app-emacs/mastodon/files/50mastodon-gentoo.el new file mode 100644 index 000000000000..c4056b92a961 --- /dev/null +++ b/app-emacs/mastodon/files/50mastodon-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'mastodon "mastodon" + "Connect Mastodon client to `mastodon-instance-url' instance." t) diff --git a/app-emacs/mastodon/mastodon-1.0.0.ebuild b/app-emacs/mastodon/mastodon-1.0.0.ebuild new file mode 100644 index 000000000000..319925f34d35 --- /dev/null +++ b/app-emacs/mastodon/mastodon-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=27.1 + +inherit elisp + +DESCRIPTION="Emacs client for Mastodon, federated microblogging social network" +HOMEPAGE="https://codeberg.org/martianh/mastodon.el/" +SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}.el/lisp + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="app-emacs/request" +BDEPEND="${RDEPEND}" + +DOCS=( ../README.org ) +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/mastodon/metadata.xml b/app-emacs/mastodon/metadata.xml new file mode 100644 index 000000000000..ca48e9f3432a --- /dev/null +++ b/app-emacs/mastodon/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-em...@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <upstream> + <changelog>https://codeberg.org/martianh/mastodon.el/releases/</changelog> + <bugs-to>https://codeberg.org/martianh/mastodon.el/issues/</bugs-to> + </upstream> +</pkgmetadata>