public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/
Date: Mon,  3 Apr 2023 00:24:56 +0000 (UTC)	[thread overview]
Message-ID: <1680479694.5335fd6c400fa6c9c7f64f0b52a132dcbd7ee59c.xgqt@gentoo> (raw)

commit:     5335fd6c400fa6c9c7f64f0b52a132dcbd7ee59c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  2 23:54:54 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 23:54:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5335fd6c

app-emacs/vterm: bump to 0.0.2_p20230217

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/vterm/Manifest                     |  1 +
 app-emacs/vterm/vterm-0.0.2_p20230217.ebuild | 77 ++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest
index 57d351fb7272..33f9359edccb 100644
--- a/app-emacs/vterm/Manifest
+++ b/app-emacs/vterm/Manifest
@@ -1,2 +1,3 @@
 DIST vterm-0.0.1_pre20210618.tar.gz 58389 BLAKE2B 71221d470e01d647093e3a3af0c57b416ef23e81ff4d783d032613e19f1d467752fea0d242ea0f72092e3cdabbdb88ba15a840d9e4116cf5aa95d54a020efe0d SHA512 9e23eff1c9c5d2cc8e970bb4d9910b3e0258987d09b765ece188641ff5e2696e30d59a409f45253f243162b8e71c0ea301049ff37c93ffec1e1c25206ca9c5d2
 DIST vterm-0.0.2_p20221118.tar.gz 60288 BLAKE2B a86e2a79457eb02212402a3054bd867af38caf2c52e1d2fd21cbd7a665f2383909ef99fa6291c9e0a6d9841d65dfbda175937bf219ec7e1e8fb8bd1c5add300e SHA512 1825ef38afc2d4144611b81c49c64b5271bc58cd96f6d3bdc6869d2d9c7cc7785864621035e3e787f7c2c0634672806ba217f3c3d589dfc342d59bd5480f96a1
+DIST vterm-0.0.2_p20230217.tar.gz 61049 BLAKE2B d974e8873b2f3074c23f797eb862734ed6af2caca2213c0cb972b92180567ea87e25a2d435d592dd7a2f236380fce0180b161490e506cffef24f11d25b38fbc6 SHA512 c13b79054d305e2ee73725d323a1409c8d0f9529b13c659a3e7d273dbaa79f09cde5d4e3097ed2b40b106b4fad0c5f465381e1a8337e9ffc21be0515e376c42a

diff --git a/app-emacs/vterm/vterm-0.0.2_p20230217.ebuild b/app-emacs/vterm/vterm-0.0.2_p20230217.ebuild
new file mode 100644
index 000000000000..6dc327fcbdf2
--- /dev/null
+++ b/app-emacs/vterm/vterm-0.0.2_p20230217.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=emacs-libvterm
+
+NEED_EMACS=26
+
+inherit cmake elisp
+
+DESCRIPTION="Fully-featured terminal emulator based on libvterm"
+HOMEPAGE="https://github.com/akermu/emacs-libvterm/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/akermu/${MY_PN}.git"
+else
+	if [[ ${PV} = *_p20230217 ]] ; then
+		COMMIT=3e5a9b754b8e61850bb7d1b63b090b9fbf6687f3
+		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT}.tar.gz
+			-> ${P}.tar.gz"
+		S="${WORKDIR}"/${MY_PN}-${COMMIT}
+	else
+		SRC_URI="https://github.com/akermu/${MY_PN}/archive/${PV}.tar.gz
+			-> ${P}.tar.gz"
+		S="${WORKDIR}"/${MY_PN}-${PV}
+	fi
+	KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DEPEND=">=dev-libs/libvterm-0.2:="
+RDEPEND="
+	${DEPEND}
+	>=app-editors/emacs-26:*[dynamic-loading]
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.0.1_pre20210618-dont-compile.patch )
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	if [[ -e ${ESYSROOT}/usr/include/emacs-module.h ]] ; then
+		# Use system header file instead of bundled one.
+		rm emacs-module.h || die
+	else
+		ewarn "${ESYSROOT}/usr/include/emacs-module.h does not exist"
+		ewarn "Falling back to bundled header file"
+	fi
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local -a mycmakeargs=(
+		-DUSE_SYSTEM_LIBVTERM=ON
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	elisp_src_compile
+}
+
+src_install() {
+	elisp_src_install
+	elisp-modules-install ${PN} vterm-module.so
+
+	# Install shell-side vterm support scripts.
+	insinto "${SITEETC}"/${PN}
+	doins -r etc
+}


             reply	other threads:[~2023-04-03  0:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-03  0:24 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 20:57 [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/ Maciej Barć
2024-08-10 18:55 Arthur Zamarin
2024-07-07 17:06 Ulrich Müller
2024-02-10  4:05 Sam James
2024-01-08 19:22 Maciej Barć
2024-01-08 19:22 Maciej Barć
2023-08-11 16:41 Maciej Barć
2023-07-17 16:53 Arthur Zamarin
2023-05-14 10:29 Andreas Sturmlechner
2023-01-23  7:57 Maciej Barć
2021-08-02 11:05 Ulrich Müller
2020-09-02  4:02 Sam James
2020-08-04 15:06 Ulrich Müller

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=1680479694.5335fd6c400fa6c9c7f64f0b52a132dcbd7ee59c.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --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