app-emacs/joplin-mode: new package; add version 202401009.2024

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-03-20 23:35:08 +01:00
parent c01de6ea35
commit cdf73a598d
4 changed files with 57 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST joplin-mode-202401009.2024.gh.tar.gz 35830 BLAKE2B 42be52753e65a707c6ea76e4a1a3af9b502bc1bb4de30baba388989ab3f5910b80535289f758d9210867a880d61496b393eaa7118d26924368a4b6d7c384b580 SHA512 687e7d689665ffccbcd43b9279a51805d62f1bb3474e664b40357508d034afbae989d3ea6951154ece9003fa4b693949eb642d62c282277e78f8cf764cb01312
@@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "@SITELISP@/joplin-mode-autoloads.el" nil t)
@@ -0,0 +1,41 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
[[ ${PV} == 202401009.2024 ]] && COMMIT=08d68e776eaf46b59f9b00bce0a40e52b7e406c7
inherit elisp
DESCRIPTION="GNU Emacs client for accessing Joplin notes"
HOMEPAGE="https://github.com/cinsk/joplin-mode/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/cinsk/${PN}"
else
SRC_URI="https://github.com/cinsk/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2+"
SLOT="0"
RDEPEND="
app-emacs/markdown-mode
"
BDEPEND="
${RDEPEND}
"
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
+13
View File
@@ -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>
<bugs-to>https://github.com/cinsk/joplin-mode/issues/</bugs-to>
<remote-id type="github">cinsk/joplin-mode</remote-id>
</upstream>
</pkgmetadata>