summaryrefslogtreecommitdiff
path: root/llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-11-27 20:20:55 +0100
committerMichał Górny <mgorny@gentoo.org>2025-11-27 20:20:55 +0100
commit0ad64a7a23c340327b9b64c11a00d57755e7836c (patch)
treea755eea9229b356fa9c63507258f7ff32a340a99 /llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild
parent5c1c373bf8096b3e9a4277e22009c972fe6fd8f7 (diff)
downloadgentoo-0ad64a7a23c340327b9b64c11a00d57755e7836c.tar.gz
gentoo-0ad64a7a23c340327b9b64c11a00d57755e7836c.tar.bz2
gentoo-0ad64a7a23c340327b9b64c11a00d57755e7836c.zip
llvm-core/llvm-common: Add 22.0.0_pre20251127 snapshot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild')
-rw-r--r--llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild b/llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild
new file mode 100644
index 000000000000..2e0edb2d0ea7
--- /dev/null
+++ b/llvm-core/llvm-common/llvm-common-22.0.0_pre20251127.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp-common llvm.org
+
+DESCRIPTION="Common files shared between multiple slots of LLVM"
+HOMEPAGE="https://llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="emacs"
+
+RDEPEND="
+ !llvm-core/llvm:0
+"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
+
+LLVM_COMPONENTS=( llvm/utils )
+llvm.org_set_globals
+
+SITEFILE="50llvm-gentoo.el"
+BYTECOMPFLAGS="-L emacs"
+
+src_compile() {
+ default
+
+ use emacs && elisp-compile emacs/*.el
+}
+
+src_install() {
+ insinto /usr/share/vim/vimfiles
+ doins -r vim/*/
+ # some users may find it useful
+ newdoc vim/README README.vim
+ dodoc vim/vimrc
+
+ if use emacs ; then
+ elisp-install llvm emacs/*.{el,elc}
+ elisp-make-site-file "${SITEFILE}" llvm
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}