diff --git a/app-emacs/matlab/Manifest b/app-emacs/matlab/Manifest index eceba7a4c5ded..8c3b2390a0a91 100644 --- a/app-emacs/matlab/Manifest +++ b/app-emacs/matlab/Manifest @@ -1 +1,2 @@ DIST matlab-6.1_p20241107.gh.tar.gz 421687 BLAKE2B cb07a0965d02f1b2637e2c141fe649ed284a22ae959462270e51a88285188020bda8e2f8f8a2866dd6412f5f3c2d5f254b2f4d0120eb08f0d512df1a0c67185c SHA512 2a075326753939f7af74e6e5b38faf3afabb5a7f5217dc63d5d0fc1311c00c2cfdc243905d62e1a10e5998d2b68e1b70c65f5d78abcb58348fdc9e10ddbb8836 +DIST matlab-8.2.0.gh.tar.gz 4883643 BLAKE2B 175187f3e3cb1536d58349e4bb1e107df2a0793e91ca04db1f9bbcc349ecf0290854100c8bbf17b9d60b1438f203dee07ef9f10f5711133610c9c8d011de8c7b SHA512 240322fda7099f9350665b1aab2eafda0f66687af66d187a3a126224f96c48e3909bf9b79d80af647fac6f3bf1a3d0364bf9fc188614276974ada9f2e2fa3781 diff --git a/app-emacs/matlab/matlab-8.2.0.ebuild b/app-emacs/matlab/matlab-8.2.0.ebuild new file mode 100644 index 0000000000000..25a1f82254161 --- /dev/null +++ b/app-emacs/matlab/matlab-8.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Major modes for MATLAB .m and .tlc files" +HOMEPAGE="https://github.com/mathworks/Emacs-MATLAB-Mode/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/mathworks/Emacs-MATLAB-Mode" +else + SRC_URI="https://github.com/mathworks/Emacs-MATLAB-Mode/archive/refs/tags/${PN}-mode-${PV}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/Emacs-MATLAB-Mode-${PN}-mode-${PV}" + + KEYWORDS="~amd64 ~ppc ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( NEWS.org README.org SECURITY.md ) +SITEFILE="50${PN}-gentoo-3.3.6.el" + +src_compile() { + elisp-compile *.el + elisp-make-autoload-file matlab-load.el +}