1 |
commit: 230bb550166c8e88c5b4481fd297fa62dc199e13 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri May 8 00:45:30 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri May 8 00:45:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=230bb550 |
7 |
|
8 |
app-emacs/vterm: no executable files |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-emacs/vterm/vterm-20200504.544-r1.ebuild | 63 ++++++++++++++++++++++++++++ |
14 |
1 file changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/vterm/vterm-20200504.544-r1.ebuild b/app-emacs/vterm/vterm-20200504.544-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..468cada |
19 |
--- /dev/null |
20 |
+++ b/app-emacs/vterm/vterm-20200504.544-r1.ebuild |
21 |
@@ -0,0 +1,63 @@ |
22 |
+# Copyright 2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit elisp cmake |
28 |
+ |
29 |
+DESCRIPTION="Emacs libvterm integration" |
30 |
+HOMEPAGE="https://github.com/akermu/emacs-libvterm" |
31 |
+SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar" |
32 |
+ |
33 |
+LICENSE="GPL-2+" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ app-editors/emacs[dynamic-loading] |
39 |
+ dev-libs/libvterm |
40 |
+" |
41 |
+ |
42 |
+ELISP_REMOVE="${PN}-pkg.el" |
43 |
+SITEFILE="50${PN}-gentoo.el" |
44 |
+ |
45 |
+src_configure() { |
46 |
+ elisp-make-autoload-file |
47 |
+ |
48 |
+ local mycmakeargs=( |
49 |
+ "USE_SYSTEM_LIBVTERM=yes" |
50 |
+ ) |
51 |
+ cmake_src_configure |
52 |
+} |
53 |
+ |
54 |
+src_compile() { |
55 |
+ elisp_src_compile |
56 |
+ |
57 |
+ cmake_src_compile |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ elisp_src_install |
62 |
+ |
63 |
+ dodoc README.md |
64 |
+ |
65 |
+ # install vterm module |
66 |
+ elisp-install "${PN}" *.so |
67 |
+ |
68 |
+ # add shell config files |
69 |
+ if has_version app-shells/bash; then |
70 |
+ elog "Adding configuration for bash." |
71 |
+ insinto /etc/bash/bashrc.d/ |
72 |
+ newins "${FILESDIR}/bashrc" bash-emacs-vterm.sh |
73 |
+ fi |
74 |
+ if has_version app-shells/zsh; then |
75 |
+ elog "Adding configuration for zsh." |
76 |
+ insinto /etc/profile.d/ |
77 |
+ newins "${FILESDIR}/zshrc" zsh-emacs-vterm.sh |
78 |
+ fi |
79 |
+ if has_version app-shells/fish; then |
80 |
+ elog "Adding configuration for fish." |
81 |
+ insinto /etc/fish/conf.d/ |
82 |
+ newins "${FILESDIR}/config.fish" emacs-vterm.fish |
83 |
+ fi |
84 |
+} |