commit:     a33ce22f1bea7ad557fcef3f676d00901a2e6d56
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 18:05:15 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 18:05:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33ce22f

app-emacs/matlab: Generate autoload file.

Closes: https://bugs.gentoo.org/698006
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/matlab/files/50matlab-gentoo-3.3.6.el                    | 2 ++
 ...3.3.6_pre20191010.ebuild => matlab-3.3.6_pre20191010-r1.ebuild} | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el 
b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el
new file mode 100644
index 00000000000..499ac3d66b2
--- /dev/null
+++ b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "matlab-load" nil t)

diff --git a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild 
b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild
similarity index 79%
rename from app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild
rename to app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild
index 42573b3e47c..33487fa8e1b 100644
--- a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild
+++ b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild
@@ -14,5 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 S="${WORKDIR}/matlab-emacs-src"
-SITEFILE="50${PN}-gentoo.el"
+SITEFILE="50${PN}-gentoo-3.3.6.el"
 DOCS="README.org INSTALL ChangeLog*"
+
+src_compile() {
+       elisp-compile *.el
+       elisp-make-autoload-file matlab-load.el
+}

Reply via email to