diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
commit | 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 (patch) | |
tree | aba1e6ef6b95e94172c009394cd1fcbc383e7d6e /app-emacs/cmake-mode | |
parent | 1ddcee0bd115d2f843f82061cb0d1741bf90151d (diff) |
gentoo auto-resync : 05:01:2024 - 14:04:25
Diffstat (limited to 'app-emacs/cmake-mode')
-rw-r--r-- | app-emacs/cmake-mode/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/cmake-mode/cmake-mode-3.28.1.ebuild | 29 | ||||
-rw-r--r-- | app-emacs/cmake-mode/files/50cmake-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/cmake-mode/metadata.xml | 14 |
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/cmake-mode/Manifest b/app-emacs/cmake-mode/Manifest new file mode 100644 index 000000000000..6847e468920f --- /dev/null +++ b/app-emacs/cmake-mode/Manifest @@ -0,0 +1,4 @@ +AUX 50cmake-gentoo.el 244 BLAKE2B 1a6c7919b020b3e590a67a9a37f5afd7a56e9970274987cc785f5d5ca78e702a4387684441a68d111a2836eaa76be8ab111b03d81784acbc701b8ccc726f9a2a SHA512 70af0b9dd41f08531d3c754dc8af3662df8a22b469b79e8c40b7caae3205be1d4dc81d8b41837d1b6a46f2c348f5407e09e02269823c45c3366777e3bc7a0dcb +DIST cmake-3.28.1.tar.gz 11065923 BLAKE2B 7c6d3876633024b8a22dd6aca078e4bd7649c18a810ada68378435e9cfc30878b89529dc69e6e2dcecd114c9686fe6ce937fa5587e47f00128504349cecb967b SHA512 62693c423dd46d252d046662ac34cf9c927b7ec23c213c6b5cd1683636b8bbb5326698af1e7f851f3c01fe3f14dd769b9a8bd405f8f9e73e6d8defae7517cbcb +EBUILD cmake-mode-3.28.1.ebuild 711 BLAKE2B fb063d07297a1d2d6deedd874f53aa0d9687ee63c029c4cb287c90d06e3c1e7731821410bdafdddb39cbed9bab77808c92a250a6c24f2d88464f33ca2ca31b9f SHA512 8fbe5154448b2c2cefe9a8ddaf378648c9f9ebe3b93f78522b438ef2bca7ed6e73a5fdbfe568b7959f42fdf888e71504fd449f289a9d20eb442a24a465062812 +MISC metadata.xml 418 BLAKE2B 6c557ae1f8f0a6bfa78d8a0ca20f4de101f67fda37d3c844d312e9eac6c1033807d08585d205449be8fac99be4f787f3f613af67a3bdccf1797f82ce71e8a07f SHA512 4d128f7967be586652d55d1b0e9521cd8ff47e0c218d0269652873ed6f51f576653abf1e7857aa4dc904273c6f506c70343b67bc3eda8e226c2f40024ca6ffc3 diff --git a/app-emacs/cmake-mode/cmake-mode-3.28.1.ebuild b/app-emacs/cmake-mode/cmake-mode-3.28.1.ebuild new file mode 100644 index 000000000000..5cc983bc2a23 --- /dev/null +++ b/app-emacs/cmake-mode/cmake-mode-3.28.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +MY_P="${P/-mode}" +MY_P="${MY_P/_/-}" + +DESCRIPTION="GNU Emacs mode for handling CMake build files" +HOMEPAGE="https://cmake.org/" +SRC_URI="https://cmake.org/files/v$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}"/${P/-mode}/Auxiliary + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="!dev-util/cmake[emacs(-)]" + +DOCS=() + +SITEFILE="50${PN/-mode}-gentoo.el" + +src_install() { + elisp_src_install + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +} diff --git a/app-emacs/cmake-mode/files/50cmake-gentoo.el b/app-emacs/cmake-mode/files/50cmake-gentoo.el new file mode 100644 index 000000000000..e4a1a6d47cbc --- /dev/null +++ b/app-emacs/cmake-mode/files/50cmake-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake files." t) +(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode)) +(add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode)) diff --git a/app-emacs/cmake-mode/metadata.xml b/app-emacs/cmake-mode/metadata.xml new file mode 100644 index 000000000000..a2714d42cd15 --- /dev/null +++ b/app-emacs/cmake-mode/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> + </maintainer> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <stabilize-allarches/> +</pkgmetadata> |