summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-08 14:37:38 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-08 14:38:09 +0200
commiteeb954186fb7ab4ac10f44d15619f6152d2b8854 (patch)
treebe8fa81a468b7e41c4e32e8d8852d907506eb30b /app-emacs/mastodon
parentapp-emulation/xen-tools: remove more -Werror arguments (diff)
downloadgentoo-eeb954186fb7ab4ac10f44d15619f6152d2b8854.tar.gz
gentoo-eeb954186fb7ab4ac10f44d15619f6152d2b8854.tar.bz2
gentoo-eeb954186fb7ab4ac10f44d15619f6152d2b8854.zip
app-emacs/mastodon: new package; add version 1.0.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/mastodon')
-rw-r--r--app-emacs/mastodon/Manifest1
-rw-r--r--app-emacs/mastodon/files/50mastodon-gentoo.el3
-rw-r--r--app-emacs/mastodon/mastodon-1.0.0.ebuild24
-rw-r--r--app-emacs/mastodon/metadata.xml13
4 files changed, 41 insertions, 0 deletions
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-emacs@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>