diff --git a/app-emacs/joplin-mode/Manifest b/app-emacs/joplin-mode/Manifest new file mode 100644 index 000000000000..97adc1a7e1d3 --- /dev/null +++ b/app-emacs/joplin-mode/Manifest @@ -0,0 +1 @@ +DIST joplin-mode-202401009.2024.gh.tar.gz 35830 BLAKE2B 42be52753e65a707c6ea76e4a1a3af9b502bc1bb4de30baba388989ab3f5910b80535289f758d9210867a880d61496b393eaa7118d26924368a4b6d7c384b580 SHA512 687e7d689665ffccbcd43b9279a51805d62f1bb3474e664b40357508d034afbae989d3ea6951154ece9003fa4b693949eb642d62c282277e78f8cf764cb01312 diff --git a/app-emacs/joplin-mode/files/50joplin-mode-gentoo.el b/app-emacs/joplin-mode/files/50joplin-mode-gentoo.el new file mode 100644 index 000000000000..b11172fb78d9 --- /dev/null +++ b/app-emacs/joplin-mode/files/50joplin-mode-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/joplin-mode-autoloads.el" nil t) diff --git a/app-emacs/joplin-mode/joplin-mode-202401009.2024.ebuild b/app-emacs/joplin-mode/joplin-mode-202401009.2024.ebuild new file mode 100644 index 000000000000..32162e3db73b --- /dev/null +++ b/app-emacs/joplin-mode/joplin-mode-202401009.2024.ebuild @@ -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 +} diff --git a/app-emacs/joplin-mode/metadata.xml b/app-emacs/joplin-mode/metadata.xml new file mode 100644 index 000000000000..b3216229cc26 --- /dev/null +++ b/app-emacs/joplin-mode/metadata.xml @@ -0,0 +1,13 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://github.com/cinsk/joplin-mode/issues/ + cinsk/joplin-mode + +