public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emacs/vterm/
Date: Fri,  8 May 2020 00:45:56 +0000 (UTC)	[thread overview]
Message-ID: <1588898730.230bb550166c8e88c5b4481fd297fa62dc199e13.Alessandro-Barbieri@gentoo> (raw)

commit:     230bb550166c8e88c5b4481fd297fa62dc199e13
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri May  8 00:45:30 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri May  8 00:45:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=230bb550

app-emacs/vterm: no executable files

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-emacs/vterm/vterm-20200504.544-r1.ebuild | 63 ++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/app-emacs/vterm/vterm-20200504.544-r1.ebuild b/app-emacs/vterm/vterm-20200504.544-r1.ebuild
new file mode 100644
index 0000000..468cada
--- /dev/null
+++ b/app-emacs/vterm/vterm-20200504.544-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp cmake
+
+DESCRIPTION="Emacs libvterm integration"
+HOMEPAGE="https://github.com/akermu/emacs-libvterm"
+SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	app-editors/emacs[dynamic-loading]
+	dev-libs/libvterm
+"
+
+ELISP_REMOVE="${PN}-pkg.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+	elisp-make-autoload-file
+
+	local mycmakeargs=(
+		"USE_SYSTEM_LIBVTERM=yes"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	elisp_src_compile
+
+	cmake_src_compile
+}
+
+src_install() {
+	elisp_src_install
+
+	dodoc README.md
+
+	# install vterm module
+	elisp-install "${PN}" *.so
+
+	# add shell config files
+	if has_version app-shells/bash; then
+		elog "Adding configuration for bash."
+		insinto /etc/bash/bashrc.d/
+		newins "${FILESDIR}/bashrc" bash-emacs-vterm.sh
+	fi
+	if has_version app-shells/zsh; then
+		elog "Adding configuration for zsh."
+		insinto /etc/profile.d/
+		newins "${FILESDIR}/zshrc" zsh-emacs-vterm.sh
+	fi
+	if has_version app-shells/fish; then
+		elog "Adding configuration for fish."
+		insinto /etc/fish/conf.d/
+		newins "${FILESDIR}/config.fish" emacs-vterm.fish
+	fi
+}


                 reply	other threads:[~2020-05-08  0:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1588898730.230bb550166c8e88c5b4481fd297fa62dc199e13.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox