mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
app-emacs/vterm: drop old 0.0.2_p20221118
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=26
|
||||
MY_PN="emacs-libvterm"
|
||||
[[ ${PV} = *_p20221118 ]] && COMMIT="f14d113ee4618f052879509ec378feb9766b871b"
|
||||
|
||||
inherit cmake elisp
|
||||
|
||||
DESCRIPTION="Fully-featured terminal emulator based on libvterm"
|
||||
HOMEPAGE="https://github.com/akermu/emacs-libvterm/"
|
||||
SRC_URI="https://github.com/akermu/${MY_PN}/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_PN}-${COMMIT}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user