commit: bbf046fd82a70849c698bf534034c75cc0788c5a Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Apr 5 21:06:30 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Apr 5 21:07:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf046fd
app-emacs/yasnippet-snippets: compile snippets Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> ...ippet-snippets-1.0.ebuild => yasnippet-snippets-1.0-r1.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app-emacs/yasnippet-snippets/yasnippet-snippets-1.0.ebuild b/app-emacs/yasnippet-snippets/yasnippet-snippets-1.0-r1.ebuild similarity index 74% rename from app-emacs/yasnippet-snippets/yasnippet-snippets-1.0.ebuild rename to app-emacs/yasnippet-snippets/yasnippet-snippets-1.0-r1.ebuild index 3b0d29b244e7..3b465cd3954b 100644 --- a/app-emacs/yasnippet-snippets/yasnippet-snippets-1.0.ebuild +++ b/app-emacs/yasnippet-snippets/yasnippet-snippets-1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,10 +14,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND="app-emacs/yasnippet" +BDEPEND="${RDEPEND}" SITEFILE="50${PN}-gentoo.el" -src_compile() { :; } +src_compile() { + ${EMACS} ${EMACSFLAGS} --eval "(require 'yasnippet)" \ + --eval "(yas-compile-directory \"${S}/snippets\")" || die +} src_install() { elisp-site-file-install "${FILESDIR}/${SITEFILE}"