summaryrefslogtreecommitdiff
path: root/app-emacs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-emacs
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/Manifest.gzbin34141 -> 34295 bytes
-rw-r--r--app-emacs/ddskk/Manifest6
-rw-r--r--app-emacs/ddskk/ddskk-16.2.ebuild5
-rw-r--r--app-emacs/ddskk/ddskk-16.3.ebuild71
-rw-r--r--app-emacs/ddskk/ddskk-17.1.ebuild71
-rw-r--r--app-emacs/ebuild-mode/Manifest3
-rw-r--r--app-emacs/ebuild-mode/ebuild-mode-1.51-r3.ebuild22
-rw-r--r--app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.51.el24
-rw-r--r--app-emacs/vterm/Manifest5
-rw-r--r--app-emacs/vterm/files/50vterm-gentoo.el5
-rw-r--r--app-emacs/vterm/files/vterm-dont-compile.patch22
-rw-r--r--app-emacs/vterm/metadata.xml17
-rw-r--r--app-emacs/vterm/vterm-0.0.1_pre20200713.ebuild45
13 files changed, 294 insertions, 2 deletions
diff --git a/app-emacs/Manifest.gz b/app-emacs/Manifest.gz
index 6c67900816b4..88d5025874cb 100644
--- a/app-emacs/Manifest.gz
+++ b/app-emacs/Manifest.gz
Binary files differ
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
index 7c5b9d549d5f..664ceb621d43 100644
--- a/app-emacs/ddskk/Manifest
+++ b/app-emacs/ddskk/Manifest
@@ -1,4 +1,8 @@
AUX 50ddskk-gentoo.el 112 BLAKE2B 090925d25ada70386b13c259fa0ac6eae72f45c7bcb9272b65f8332eddc384d52d473a33296ef0af27e6b55e85ad5eb6cb5a64d53eb15de8b4cb770461ff1472 SHA512 7d7212bb6da992a3bad619d4def98acbe31c4b7226de59c223825e49dbd202d378eb04e386d6087ba5608e4bf1ede8847e2d73d068a6fe147322da7b5329fe09
DIST ddskk-16.2.tar.gz 886618 BLAKE2B 854b9d57993e8f69af4035df49511ec110a1afd83ee290be8934283fc5f2a1a648b80f80811396083fa019d9eb12469998ff26b692296dd770c21da81c3cad3e SHA512 591d66e2d217a289ce8273ed7da10c0ed72029e961efde0537044f7ad3f5f46943cf5c71ec1d97a27743fcea91a9fab81c86e2772047892f53e2852bf58ef45c
-EBUILD ddskk-16.2.ebuild 1491 BLAKE2B 9c128ebe2d7ebf3559085c48ab45ecb72e3b4185e3fcf85506bc519cfcf923959f15d9c8f68faef9e4ef5ab805f3dfffb6c08e40a6838991c0268de899c54905 SHA512 1939dc7bd18d3f3e6d8874e98e27761d6e7aba9b0759ee2dbab0d2807ac3b002d62fb446feed4e96302f957f0ef4d2d62889d57ee81ac56416ec65747b2e5c5b
+DIST ddskk-16.3.tar.gz 1252772 BLAKE2B 133685fc0587e10c89145eeaf014c8e0d1ce0dad63b9207559030598f521aee00facbca9550753493e579d5acec10e8b36c1499087d1b6c05317754c434b9b69 SHA512 47624690851269ca818bed5cfdfdb21bbbd3152c0a7c64a114ab595a92d2e79600fe738953e6a73a26b0195102eb1e9e03ad4f6bfca1bc4d3e3732bf59aa8a27
+DIST ddskk-17.1.tar.gz 952635 BLAKE2B fae34e37f972250d5e48f316fb90418b4b902684431c6ed18f44f3b5155556ceac1b04c8f8542c5651233e36085f864bac41381069dd70e841fdd9eedf7273ed SHA512 e0b924111a6289acd29ee5a5d94ea70730fe8f4e1dd5ed279520263efab0c69a6940e5b1b6182e45ed30c0b1ddca9e44ff75b7b3fdab5c8a3e1b2b9f82cc20fa
+EBUILD ddskk-16.2.ebuild 1538 BLAKE2B 93884559326df13e481bded668c5c049c917826ba806761cc25d2160b09f35945ecac23a85e53ea61354ac8e06f868b01ea9d3fc8146d0968388bf37f5729a82 SHA512 78f60376cfc74c8b64fdda191fe4a1d96fc210e01c3af1617902ddea5c194f31e8b0747ae8e03532d87802ca142b130ce2f15194e8c60f0ff8e9d58cac8811c8
+EBUILD ddskk-16.3.ebuild 1585 BLAKE2B 46d25c0ea8057d1f859d1462e722427f1c26c0e29788996601e34fda34c4ee6bcf29b6917703c5a5b02cb72800f7870dc2f52c720fb4921cfdd04645ccb56d67 SHA512 48c557008dd3702a37765e4169bcb1f986790e4e542e1eb5147667423f383fcd59f9c6fac40fe296d11a78a5ce672f2a518d8dc82d201dafa85dabfc5439095a
+EBUILD ddskk-17.1.ebuild 1580 BLAKE2B f3f7b7c24bdbd38cf23a50fd0cebd7f99a431dfcaa3a72abeb5f8186b6285a5433c7a6a6540520e25332e5f22cc8247e567b35ddaf5ee30c5f4b43b2852714f5 SHA512 76940787fa14389a6eda96c0439ccfc141947fd62f31889f7a19a6334dd10510507a886a8621d9409dc4d976d4ccf2c98e59c9c047255dadcd1ea572bcf62902
MISC metadata.xml 450 BLAKE2B 5458defeba3a265354c3a885106a590beb379c83bee36af2859e604a2ae19c108962a6400a614443dfb3a6391088c98474cae996e60bd02d320d9f44de990bf9 SHA512 8a7b366ada5366e2713e3850421729b395862f662476225f3a7ae24dcc0067ff51c4a8ce8408c2ce2082722f0649b0ad8c047230a0223c03e2ef8b416c7e65fe
diff --git a/app-emacs/ddskk/ddskk-16.2.ebuild b/app-emacs/ddskk/ddskk-16.2.ebuild
index 184535ef601e..3fbcc4fac46f 100644
--- a/app-emacs/ddskk/ddskk-16.2.ebuild
+++ b/app-emacs/ddskk/ddskk-16.2.ebuild
@@ -34,7 +34,10 @@ src_prepare() {
default
rm -f skk-lookup.el
- mv {bayesian,tut-code}/*.el .
+ if use ruby; then
+ cp bayesian/*.el . || die
+ fi
+ cp tut-code/*.el . || die
}
src_compile() {
diff --git a/app-emacs/ddskk/ddskk-16.3.ebuild b/app-emacs/ddskk/ddskk-16.3.ebuild
new file mode 100644
index 000000000000..396611aca952
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-16.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+USE_RUBY="ruby24 ruby25 ruby26"
+NEED_EMACS="24"
+
+inherit elisp ruby-single vcs-snapshot
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="https://github.com/skk-dev/${PN}/archive/${P}_Kutomatsunai.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+
+DEPEND=""
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG
+ echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG
+
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG
+
+ default
+
+ rm -f skk-lookup.el
+ if use ruby; then
+ cp bayesian/*.el . || die
+ fi
+ cp tut-code/*.el . || die
+}
+
+src_compile() {
+ emake elc info
+
+ emake -C nicola
+}
+
+src_install() {
+ local lispdir=${SITELISP}/${PN}
+ emake install-elc
+ elisp-compile "${ED}"/${lispdir}/skk-setup.el
+ rm -f "${ED}"/${lispdir}/leim-list.el
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+ doinfo doc/skk.info
+
+ local exts=( nicola tut-code ) d f
+ elisp-install ${PN} nicola/*.{el,elc}
+ if use ruby; then
+ dobin bayesian/bskk
+ exts+=( bayesian )
+ fi
+ for d in ${exts[@]}; do
+ docinto ${d}
+ for f in ${d}/{ChangeLog,README}*; do
+ [[ -s ${f} ]] && dodoc ${f}
+ done
+ done
+}
diff --git a/app-emacs/ddskk/ddskk-17.1.ebuild b/app-emacs/ddskk/ddskk-17.1.ebuild
new file mode 100644
index 000000000000..c36507bd934b
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-17.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+USE_RUBY="ruby25 ruby26 ruby27"
+NEED_EMACS="24.3"
+
+inherit elisp ruby-single vcs-snapshot
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="https://github.com/skk-dev/${PN}/archive/${P}_Neppu.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+
+DEPEND=""
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG
+ echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG
+
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG
+
+ default
+
+ rm -f skk-lookup.el
+ if use ruby; then
+ cp bayesian/*.el . || die
+ fi
+ cp tut-code/*.el . || die
+}
+
+src_compile() {
+ emake elc info
+
+ emake -C nicola
+}
+
+src_install() {
+ local lispdir=${SITELISP}/${PN}
+ emake install-elc
+ elisp-compile "${ED}"/${lispdir}/skk-setup.el
+ rm -f "${ED}"/${lispdir}/leim-list.el
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+ doinfo doc/skk.info
+
+ local exts=( nicola tut-code ) d f
+ elisp-install ${PN} nicola/*.{el,elc}
+ if use ruby; then
+ dobin bayesian/bskk
+ exts+=( bayesian )
+ fi
+ for d in ${exts[@]}; do
+ docinto ${d}
+ for f in ${d}/{ChangeLog,README}*; do
+ [[ -s ${f} ]] && dodoc ${f}
+ done
+ done
+}
diff --git a/app-emacs/ebuild-mode/Manifest b/app-emacs/ebuild-mode/Manifest
index 11fc8f81e21a..5be22d9e9c09 100644
--- a/app-emacs/ebuild-mode/Manifest
+++ b/app-emacs/ebuild-mode/Manifest
@@ -1,4 +1,7 @@
AUX 50ebuild-mode-gentoo-1.39.el 805 BLAKE2B 3cdb41677c5ef11ef6fb44001cc36b58f923c2be4090fe8635fa85d338af3d170b1ad3d6b2f31704cf24e1528d3ce9b6fd3d305c2e3c1b1923e345e011642307 SHA512 8038b7bac0f3322b1149467152790dac7cd133234afe7c362c0e14686e378bc27eaf432a7194e1748dda80b41483943facb44e1a66466ebdcb4e7a0768e8f629
+AUX 50ebuild-mode-gentoo-1.51.el 1209 BLAKE2B 06da1836a37ec6eccddcac50e999e5e19336f0d9da06813e2d2467a5799a79c848b5363fe1c7725801d6302310b37fa92c80373de0810a8330a50c2157e37839 SHA512 23022e1f532f0b3a1c14f855113b29529501ab84f685471179454fda7ce6494d9744204ee02cb729d402921469ecdc9addaabc43a6f4aec378b55f0b6f599718
DIST ebuild-mode-1.50.tar.xz 35440 BLAKE2B 281719a0a686ef1c80c8391cc118d14085ac6407dee5ee7ee44229bb529de041d31fcec7c08bb1e4b8b5057823c5d99a49a9786daa0b7b17a766155b7daaaecc SHA512 a7c232103848c7782a4ebad89e064f3bc37a78427228be799d8e1bd3670524b32050229ba7cd48d9e4c2b0bb32828ce95eb2e47038411591d03fa8f998614c1e
+DIST ebuild-mode-1.51.tar.xz 35280 BLAKE2B 63f57919bb73937ce3d40b4d6762e78c78d273bcf67875434d12450e00632d457d3dedbe6f213c1979a60cbc0a0874723e3e9424fdcfb64a48acc885cc90e577 SHA512 ff9ece96fbe7bfc9c070769dc6667e8c33f8fb7ef20a2d347c670342ef7500b52b54a93ed37ac9ea13a89c1b89752f5dd6e56c234abe9a4fcd4eb6bad0d0b466
EBUILD ebuild-mode-1.50.ebuild 729 BLAKE2B b9ef061e9ec7c6c86f6e273a8e14418c97d7b6f15e69c4d86d508a8d481181db11c8f1e803e6431d1c4d07d11cace5f2ff99d02781946f11be65a76196afedca SHA512 421366a5d630f2427c7e6ea0aac34bcae9aaf5f1761a06ed53dac7d27361b1494da86bccee90e57b0d52a21ad8302bdf28f8b13a161babc3212cbd184cf53ab2
+EBUILD ebuild-mode-1.51-r3.ebuild 736 BLAKE2B 29602131f02b67ad42d67af1cdb5730457c366b3876e23d4eca3e358fc4e7671ff7cb29df733e74443bc540bb69e17054579a88e3eda7681bf7fb09b5395d855 SHA512 43fdab1eedf2134657bbdb61c3b3038e7b2ecb167671881d67dce51e3a018cf6867ec4181e672227867a9c74993e42ecd18a352143fff68075fdc0052a223010
MISC metadata.xml 426 BLAKE2B d0b4dc2bd01fc6fb2f0c58b01676b80d09a4677876adc9681c3c436ebc437b6b034187b19fea30cf980927fec1f6a9feee9a0b7d1a4dd15818d02e4c8ec77af6 SHA512 058df2768030185953c7ac3622819c430681eae3ca60b0d02ad48ed22ab6a0ac7c169d93f8f54a3dddcade3f84c9bf58f662a58bfd78217ea8fc27a580ab9077
diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.51-r3.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.51-r3.ebuild
new file mode 100644
index 000000000000..c2b1fbb5a4e4
--- /dev/null
+++ b/app-emacs/ebuild-mode/ebuild-mode-1.51-r3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+BDEPEND="sys-apps/texinfo"
+
+DOCS="ChangeLog keyword-generation.sh"
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo-1.51.el"
+DOC_CONTENTS="Some optional features may require installation of additional
+ packages, like dev-python/docutils-glep for glep."
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.51.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.51.el
new file mode 100644
index 000000000000..e4bbe683dd62
--- /dev/null
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.51.el
@@ -0,0 +1,24 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ebuild-mode "ebuild-mode"
+ "Major mode for Portage .ebuild and .eclass files." t)
+(autoload 'devbook-mode "devbook-mode"
+ "Major mode for editing the Gentoo Devmanual." t)
+(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
+ "Major mode for Gentoo GLEP 42 news items." t)
+(autoload 'glep-mode "glep-mode"
+ "Major mode for Gentoo Linux Enhancement Proposals." t)
+
+(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("/devmanual.*\\.xml\\'" . devbook-mode))
+(add-to-list 'auto-mode-alist
+ '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
+ . gentoo-newsitem-mode))
+(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-mode))
+(add-to-list 'auto-mode-alist
+ '("/\\(package\\.\\(mask\\|unmask\\|use\\|env\
+\\|license\\|properties\\|accept_\\(keywords\\|restrict\\)\\)\
+\\|\\(package\\.\\)?use.\\(stable\\.\\)?\\(force\\|mask\\)\\)\\'"
+ . conf-space-mode))
+(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
+(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)
diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest
new file mode 100644
index 000000000000..10c13e2c1733
--- /dev/null
+++ b/app-emacs/vterm/Manifest
@@ -0,0 +1,5 @@
+AUX 50vterm-gentoo.el 213 BLAKE2B adb1452d0bf816beceec4367a33176034f90c46b1649178cce093160117d14c01d1ccebefa57bebbf276d01e812223876a766567fbbb95589851b51db2456db2 SHA512 2847b924a1e3218d433391396681642a88192396a60f25f5da6824a9546a0f155d068b1bfc2115f0698b87e07ca50845ebbdc0a71de2ff8203fdf14b7e43ef0d
+AUX vterm-dont-compile.patch 907 BLAKE2B fdfa5bfc294558ebbe428375c817387ffd2e8c560c66c597815469460997d2f58e4734ee81d0780421cf0d1b512a74ecaf7ffc0fb5ca4034083eaa0a5f38e309 SHA512 359bebd557cca3fd31479bf3596d2d06e6b451faf57a074c4bbbf17e956d62f87a6695055f72697200f00df7c664aca970de89af69cd5470fe4faa0ad0172a95
+DIST vterm-0.0.1_pre20200713.tar.gz 48160 BLAKE2B 96c45ddb139d19f3020d7a8eebc1ee31a7dc098f47c16cfffc7bf3327261a4366763744a8158d3c8a066ec94be4966a5ef78804db95c9025eee06fb8c9e4aa76 SHA512 17726ad0957daeab2a87b398bfa24dbe3c4c48dfba932138a71cd8c992bf20bd2925a7118a89247bbd674dbecd7fda8663c564a278168bb207034efb03e50cd0
+EBUILD vterm-0.0.1_pre20200713.ebuild 966 BLAKE2B f94876edfed3574f4da83e1ecb87c856dde5729a6160b0d2b4bf1b8963c1e20cc31d4720bca679fe694a46f1665f901d05c3248ab56000b1af9b80863f637570 SHA512 1a7c8608b8ed691813cc8de98b7aca129aa1bdbe9eb763a383c4c1f589626f7ad49e3d8cdd255427f8f66e1bea1e8e12215fae61e1f649a0afbf9b10173f8e62
+MISC metadata.xml 633 BLAKE2B 60cd4ca523fa42307493cccbbf5fc240dd658f2c7368e761c94e384e9d363ae8359d0b6e0520be3767b6df38a4d94d9f1ebc3e8983c40d07ffc990428cb863fc SHA512 1ae5bd4bff830550c81d14e8312faf9aa0270ea7bf3e73ad347c20de0fb0d8fbbfe0d1fc807d41c0629e4c3170d9a512abdd5213f200671e63c80afc814fe85b
diff --git a/app-emacs/vterm/files/50vterm-gentoo.el b/app-emacs/vterm/files/50vterm-gentoo.el
new file mode 100644
index 000000000000..b3e234eba1cb
--- /dev/null
+++ b/app-emacs/vterm/files/50vterm-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'load-path "@EMACSMODULES@")
+(autoload 'vterm "vterm" "Create a new vterm." t)
+(autoload 'vterm-other-window "vterm"
+ "Create a new vterm in another window." t)
diff --git a/app-emacs/vterm/files/vterm-dont-compile.patch b/app-emacs/vterm/files/vterm-dont-compile.patch
new file mode 100644
index 000000000000..6b08ae812360
--- /dev/null
+++ b/app-emacs/vterm/files/vterm-dont-compile.patch
@@ -0,0 +1,22 @@
+Simply error out if the module is not found. Don't confuse the user
+with messages about compiling the module, which won't work outside of
+the package's source tree.
+
+--- a/vterm.el
++++ b/vterm.el
+@@ -121,14 +121,7 @@
+ (message "Compilation of `emacs-libvterm' module succeeded")
+ (error "Compilation of `emacs-libvterm' module failed!")))))
+
+-;; If the vterm-module is not compiled yet, compile it
+-(unless (require 'vterm-module nil t)
+- (if (or vterm-always-compile-module
+- (y-or-n-p "Vterm needs `vterm-module' to work. Compile it now? "))
+- (progn
+- (vterm-module-compile)
+- (require 'vterm-module))
+- (error "Vterm will not work until `vterm-module' is compiled!")))
++(require 'vterm-module)
+
+ ;; Silence compiler warnings by informing it of what functions are defined
+ (declare-function display-line-numbers-update-width "display-line-numbers")
diff --git a/app-emacs/vterm/metadata.xml b/app-emacs/vterm/metadata.xml
new file mode 100644
index 000000000000..ac2faa79e283
--- /dev/null
+++ b/app-emacs/vterm/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<longdescription>
+ Emacs-libvterm (vterm) is fully-fledged terminal emulator inside
+ GNU Emacs based on libvterm, a C library. As a result of using
+ compiled code (instead of elisp), emacs-libvterm is fully capable,
+ fast, and it can seamlessly handle large outputs.
+</longdescription>
+<upstream>
+ <remote-id type="github">akermu/emacs-libvterm</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/vterm/vterm-0.0.1_pre20200713.ebuild b/app-emacs/vterm/vterm-0.0.1_pre20200713.ebuild
new file mode 100644
index 000000000000..898f9f5d34a4
--- /dev/null
+++ b/app-emacs/vterm/vterm-0.0.1_pre20200713.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+NEED_EMACS=26
+COMMIT="f41849c2c9c1899f22d1c3d4f871ec47c82627ce"
+
+inherit cmake elisp
+
+MY_PN="emacs-libvterm"
+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"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libvterm"
+RDEPEND="${DEPEND}
+ >=app-editors/emacs-26:*[dynamic-loading]"
+
+S="${WORKDIR}/${MY_PN}-${COMMIT}"
+PATCHES=( "${FILESDIR}"/${PN}-dont-compile.patch )
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local 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
+}