summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-03-30 21:38:24 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-03-31 00:09:27 +0100
commit78bf2c3b3ba99a2c6c99a29695db689ae7bad04a (patch)
treec787fc38b680f4a2fe5f4cf30409ad36db4cbfe3
parentapp-emacs/mastodon: drop old 1.0.17 (diff)
downloadgentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.tar.gz
gentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.tar.bz2
gentoo-78bf2c3b3ba99a2c6c99a29695db689ae7bad04a.zip
app-emacs/mastodon: support live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/mastodon/mastodon-1.0.18.ebuild20
1 files changed, 15 insertions, 5 deletions
diff --git a/app-emacs/mastodon/mastodon-1.0.18.ebuild b/app-emacs/mastodon/mastodon-1.0.18.ebuild
index 99625fea4848..38f5552d3c9f 100644
--- a/app-emacs/mastodon/mastodon-1.0.18.ebuild
+++ b/app-emacs/mastodon/mastodon-1.0.18.ebuild
@@ -9,19 +9,29 @@ 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"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://codeberg.org/martianh/mastodon.el.git"
+else
+ SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}.el/lisp"
+
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
RDEPEND="
app-emacs/persist
app-emacs/request
"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+"
DOCS=( ../README.org )
ELISP_TEXINFO="../${PN}.texi"