summaryrefslogtreecommitdiff
path: root/sys-devel/llvm-common
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/llvm-common')
-rw-r--r--sys-devel/llvm-common/Manifest18
-rw-r--r--sys-devel/llvm-common/llvm-common-14.0.6.ebuild38
-rw-r--r--sys-devel/llvm-common/llvm-common-15.0.7.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-16.0.6.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-17.0.1.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-17.0.2.9999.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-17.0.2.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-18.0.0.9999.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-18.0.0_pre20230925.ebuild36
-rw-r--r--sys-devel/llvm-common/llvm-common-18.0.0_pre20231002.ebuild36
10 files changed, 289 insertions, 55 deletions
diff --git a/sys-devel/llvm-common/Manifest b/sys-devel/llvm-common/Manifest
index 57af78d0cbb3..b6b797690c46 100644
--- a/sys-devel/llvm-common/Manifest
+++ b/sys-devel/llvm-common/Manifest
@@ -10,13 +10,13 @@ DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B fa9e2e48ce1117063f5cef0aee
DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb SHA512 234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 BLAKE2B 001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961 SHA512 b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3
-EBUILD llvm-common-14.0.6.ebuild 602 BLAKE2B ef26d6ac2606e9a316ddcce442da1762f578ade0346ba2a947fdace5e2020e8841c63d173e42506d23abf6efc062a2edfac0be98a3eefe1f7a29c88702e9f1d5 SHA512 789dad6fdcf9a930ddc1046e7e98ebc1e05b2dd3713bb1ec5b8a5711690d779691c91d1000d9776720b21ed241d2f12c0ae9a8dba0e6a17d0ddf563cdfbe657f
-EBUILD llvm-common-15.0.7.ebuild 601 BLAKE2B 3dd38d17640ed52ff0be26db026475a9d0e7e1acebe95043bc6e0e63e32ff4f03c5637a9dcce25987f673962447feb4aa015f8b5b5cb33553dc1a4f843b75399 SHA512 e8a93a72d06810cface48cce2d8f8a890cdf009939a96350a23fe407b064c05a3016c663d11a3866dc2dd0fd87599b5ac234895c8c42c902e9b0cdb37dba7b62
-EBUILD llvm-common-16.0.6.ebuild 608 BLAKE2B 0fbd471136d4fac398c87b43a4dbbc939c93a54336670e4a58022a32f64c92a78c273746edb9815f733d1fb58823864be7e621a6f1adf441a6fba3c06a0e652b SHA512 fe4b57e1e9335ae3957aed622cc1114677c4b7d33637db85fadc1fa3a09cb02767dddce5b2f84f45034cdd119068d69d35530db996ec1ac08966d86d494cd2e2
-EBUILD llvm-common-17.0.1.ebuild 615 BLAKE2B dddab327388341f3330d7374a76bc1ea144aa5cad62feea34140b5825daf13118ff7185a6c2cce07479c3ca13c3ba8ad7cac7ba71a8b49fdd25a979d899a5b0a SHA512 57e7d90e7fc4f5dd2daddd1c7e8ed7885112120aca2b13b21e2fc719cfe5a87bb640aa67c605827bcd60aa71300abeba937e158ae1a1a16559236ef9e6d18319
-EBUILD llvm-common-17.0.2.9999.ebuild 524 BLAKE2B 381b028d6ad33fa97d2ff250266bd896153222cb62647bc6c4a9f7493fc96c23faf788ce8a976d35333e8d40e63cad4c3f44322f6a41f1dbe53f9e772c3a40d9 SHA512 9661a9c544d8bf3edf6c24a307324a58652c8635703dcfa008cad96826e3404cbb05e5c95fe7df85ed6d2642e4f83cfff0c9a381b796cc78f560854aa071acbe
-EBUILD llvm-common-17.0.2.ebuild 615 BLAKE2B dddab327388341f3330d7374a76bc1ea144aa5cad62feea34140b5825daf13118ff7185a6c2cce07479c3ca13c3ba8ad7cac7ba71a8b49fdd25a979d899a5b0a SHA512 57e7d90e7fc4f5dd2daddd1c7e8ed7885112120aca2b13b21e2fc719cfe5a87bb640aa67c605827bcd60aa71300abeba937e158ae1a1a16559236ef9e6d18319
-EBUILD llvm-common-18.0.0.9999.ebuild 524 BLAKE2B 381b028d6ad33fa97d2ff250266bd896153222cb62647bc6c4a9f7493fc96c23faf788ce8a976d35333e8d40e63cad4c3f44322f6a41f1dbe53f9e772c3a40d9 SHA512 9661a9c544d8bf3edf6c24a307324a58652c8635703dcfa008cad96826e3404cbb05e5c95fe7df85ed6d2642e4f83cfff0c9a381b796cc78f560854aa071acbe
-EBUILD llvm-common-18.0.0_pre20230925.ebuild 524 BLAKE2B 381b028d6ad33fa97d2ff250266bd896153222cb62647bc6c4a9f7493fc96c23faf788ce8a976d35333e8d40e63cad4c3f44322f6a41f1dbe53f9e772c3a40d9 SHA512 9661a9c544d8bf3edf6c24a307324a58652c8635703dcfa008cad96826e3404cbb05e5c95fe7df85ed6d2642e4f83cfff0c9a381b796cc78f560854aa071acbe
-EBUILD llvm-common-18.0.0_pre20231002.ebuild 524 BLAKE2B 381b028d6ad33fa97d2ff250266bd896153222cb62647bc6c4a9f7493fc96c23faf788ce8a976d35333e8d40e63cad4c3f44322f6a41f1dbe53f9e772c3a40d9 SHA512 9661a9c544d8bf3edf6c24a307324a58652c8635703dcfa008cad96826e3404cbb05e5c95fe7df85ed6d2642e4f83cfff0c9a381b796cc78f560854aa071acbe
+EBUILD llvm-common-14.0.6.ebuild 1015 BLAKE2B b7d52fa0ab83b5c9bf23d397074f4db30926ad3d13bdf0d2082a23f384c3889a7c356ba220b78970d117a8b46793e3d175d0a794859bb6148c4d6e1bc1c9e82e SHA512 b89e5a11a04a66cf2929354ce65d80c201d85ee1aaa55c197b3671904e126ec941ad7110277734563b376ebc7fecec463c270f8cad8609664f025916d3f39bac
+EBUILD llvm-common-15.0.7.ebuild 1014 BLAKE2B da3b7ec6cd3c1e57758312fb9ea25e693305e1ef72b350eea85fbde5a1e636269d84bd491b6f528aee8a9cb8229f6304b371f99e6ac416c661c6519706b83b61 SHA512 68b9d672372fe71e39f2b8f9d80eb1dcb5138b8b9b961f56a4eeb81b3fc4054448a51a46b3a62547ebb6262425512f39bc146e5f2c3703de10ab520f1594e7a4
+EBUILD llvm-common-16.0.6.ebuild 1021 BLAKE2B 635a5e329ec238346e1bfe715ed088484a33f517a294dd86f822dbc7d225a296f61d72b73be28767c6629516c6237cf1b377320a38c2092796e6d292ece12977 SHA512 64df7235d2bbf73792c6169931b3f5cb90feac9012590bb391b3d2aed67fbe518d08f46fffaf706f478e528b5837178f2e440557b906d6cce832ecaea021dbba
+EBUILD llvm-common-17.0.1.ebuild 1028 BLAKE2B 17b090a472e770e1f63129c30b736d37f1020e7ce498345919724a412b1221fb6512cd6b88261d6760fde413f391264ac903df6a1e45a5a48cf0bdd5371b370c SHA512 472d118c870970130a42a7c632a968406c44fc1161be1a7a0ef76f5344d98c08e56dac7b20fa2972dc162b5e094b22df9e58a74aac355d3e7d034c2aaef64a4b
+EBUILD llvm-common-17.0.2.9999.ebuild 937 BLAKE2B 71205c911e7ae61914de7b5e0e2aff7fff1aed78099c2fdffbb9f4270f28a53c098d89cf6a7269a5d2c62c476c745eb1926f37ef3709e61cd08fa97271075a53 SHA512 9d2a8ad2455759c4e5102414e439375507a22fc3dd89af8ce54d0e3ba21440805fcafd4a94412eea7867626cec177f2b0d4540f06fc19cdec89c16b4b27de29f
+EBUILD llvm-common-17.0.2.ebuild 1028 BLAKE2B 17b090a472e770e1f63129c30b736d37f1020e7ce498345919724a412b1221fb6512cd6b88261d6760fde413f391264ac903df6a1e45a5a48cf0bdd5371b370c SHA512 472d118c870970130a42a7c632a968406c44fc1161be1a7a0ef76f5344d98c08e56dac7b20fa2972dc162b5e094b22df9e58a74aac355d3e7d034c2aaef64a4b
+EBUILD llvm-common-18.0.0.9999.ebuild 937 BLAKE2B 71205c911e7ae61914de7b5e0e2aff7fff1aed78099c2fdffbb9f4270f28a53c098d89cf6a7269a5d2c62c476c745eb1926f37ef3709e61cd08fa97271075a53 SHA512 9d2a8ad2455759c4e5102414e439375507a22fc3dd89af8ce54d0e3ba21440805fcafd4a94412eea7867626cec177f2b0d4540f06fc19cdec89c16b4b27de29f
+EBUILD llvm-common-18.0.0_pre20230925.ebuild 937 BLAKE2B 71205c911e7ae61914de7b5e0e2aff7fff1aed78099c2fdffbb9f4270f28a53c098d89cf6a7269a5d2c62c476c745eb1926f37ef3709e61cd08fa97271075a53 SHA512 9d2a8ad2455759c4e5102414e439375507a22fc3dd89af8ce54d0e3ba21440805fcafd4a94412eea7867626cec177f2b0d4540f06fc19cdec89c16b4b27de29f
+EBUILD llvm-common-18.0.0_pre20231002.ebuild 937 BLAKE2B 71205c911e7ae61914de7b5e0e2aff7fff1aed78099c2fdffbb9f4270f28a53c098d89cf6a7269a5d2c62c476c745eb1926f37ef3709e61cd08fa97271075a53 SHA512 9d2a8ad2455759c4e5102414e439375507a22fc3dd89af8ce54d0e3ba21440805fcafd4a94412eea7867626cec177f2b0d4540f06fc19cdec89c16b4b27de29f
MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685
diff --git a/sys-devel/llvm-common/llvm-common-14.0.6.ebuild b/sys-devel/llvm-common/llvm-common-14.0.6.ebuild
index 2be11dd95e44..c8fdea852737 100644
--- a/sys-devel/llvm-common/llvm-common-14.0.6.ebuild
+++ b/sys-devel/llvm-common/llvm-common-14.0.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-15.0.7.ebuild b/sys-devel/llvm-common/llvm-common-15.0.7.ebuild
index 5c69c0a3337c..3419b7207944 100644
--- a/sys-devel/llvm-common/llvm-common-15.0.7.ebuild
+++ b/sys-devel/llvm-common/llvm-common-15.0.7.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-16.0.6.ebuild b/sys-devel/llvm-common/llvm-common-16.0.6.ebuild
index ce993645101a..d1ceab13d169 100644
--- a/sys-devel/llvm-common/llvm-common-16.0.6.ebuild
+++ b/sys-devel/llvm-common/llvm-common-16.0.6.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-17.0.1.ebuild b/sys-devel/llvm-common/llvm-common-17.0.1.ebuild
index 4dd4fe395fe7..b90c15d2e3e5 100644
--- a/sys-devel/llvm-common/llvm-common-17.0.1.ebuild
+++ b/sys-devel/llvm-common/llvm-common-17.0.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-17.0.2.9999.ebuild b/sys-devel/llvm-common/llvm-common-17.0.2.9999.ebuild
index ce5f03ca34a5..d2cde923ede3 100644
--- a/sys-devel/llvm-common/llvm-common-17.0.2.9999.ebuild
+++ b/sys-devel/llvm-common/llvm-common-17.0.2.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-17.0.2.ebuild b/sys-devel/llvm-common/llvm-common-17.0.2.ebuild
index 4dd4fe395fe7..b90c15d2e3e5 100644
--- a/sys-devel/llvm-common/llvm-common-17.0.2.ebuild
+++ b/sys-devel/llvm-common/llvm-common-17.0.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-18.0.0.9999.ebuild b/sys-devel/llvm-common/llvm-common-18.0.0.9999.ebuild
index ce5f03ca34a5..d2cde923ede3 100644
--- a/sys-devel/llvm-common/llvm-common-18.0.0.9999.ebuild
+++ b/sys-devel/llvm-common/llvm-common-18.0.0.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-18.0.0_pre20230925.ebuild b/sys-devel/llvm-common/llvm-common-18.0.0_pre20230925.ebuild
index ce5f03ca34a5..d2cde923ede3 100644
--- a/sys-devel/llvm-common/llvm-common-18.0.0_pre20230925.ebuild
+++ b/sys-devel/llvm-common/llvm-common-18.0.0_pre20230925.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}
diff --git a/sys-devel/llvm-common/llvm-common-18.0.0_pre20231002.ebuild b/sys-devel/llvm-common/llvm-common-18.0.0_pre20231002.ebuild
index ce5f03ca34a5..d2cde923ede3 100644
--- a/sys-devel/llvm-common/llvm-common-18.0.0_pre20231002.ebuild
+++ b/sys-devel/llvm-common/llvm-common-18.0.0_pre20231002.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm.org
+inherit elisp-common llvm.org
DESCRIPTION="Common files shared between multiple slots of LLVM"
HOMEPAGE="https://llvm.org/"
@@ -11,18 +11,44 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
+IUSE="emacs"
RDEPEND="
!sys-devel/llvm:0
"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
-LLVM_COMPONENTS=( llvm/utils/vim )
+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 */
+ doins -r vim/*/
# some users may find it useful
- newdoc README README.vim
- dodoc vimrc
+ 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
}