From eeb954186fb7ab4ac10f44d15619f6152d2b8854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 8 May 2022 14:37:38 +0200 Subject: [PATCH] app-emacs/mastodon: new package; add version 1.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- 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(+) create mode 100644 app-emacs/mastodon/Manifest create mode 100644 app-emacs/mastodon/files/50mastodon-gentoo.el create mode 100644 app-emacs/mastodon/mastodon-1.0.0.ebuild create mode 100644 app-emacs/mastodon/metadata.xml diff --git a/app-emacs/mastodon/Manifest b/app-emacs/mastodon/Manifest new file mode 100644 index 0000000000000..3070a2eba5c55 --- /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 0000000000000..c4056b92a9610 --- /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 0000000000000..319925f34d353 --- /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 0000000000000..ca48e9f3432a8 --- /dev/null +++ b/app-emacs/mastodon/metadata.xml @@ -0,0 +1,13 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://codeberg.org/martianh/mastodon.el/releases/ + https://codeberg.org/martianh/mastodon.el/issues/ + +