summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-05-13 18:34:26 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-05-13 19:59:14 +0200
commita858ad11a866e35d87db5e0526d7e5614eb335d3 (patch)
treecb05bea0f7df199ebdbf1de2a0763442a5b06f10 /app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild
parentapp-emacs/org-mode: bump to 9.6.30 (diff)
downloadgentoo-a858ad11a866e35d87db5e0526d7e5614eb335d3.tar.gz
gentoo-a858ad11a866e35d87db5e0526d7e5614eb335d3.tar.bz2
gentoo-a858ad11a866e35d87db5e0526d7e5614eb335d3.zip
app-emacs/ninja-mode: bump to 1.12.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild')
-rw-r--r--app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild b/app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild
new file mode 100644
index 000000000000..5cbb51651d61
--- /dev/null
+++ b/app-emacs/ninja-mode/ninja-mode-1.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs mode for handling Ninja build files"
+HOMEPAGE="https://github.com/ninja-build/ninja/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ninja-build/${PN/-mode}.git"
+else
+ SRC_URI="https://github.com/ninja-build/${PN/-mode}/archive/v${PV}.tar.gz
+ -> ${P/-mode}.tar.gz"
+ S="${WORKDIR}/${P/-mode}/misc"
+
+ 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"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ !<dev-build/ninja-1.11.1-r4[emacs(-)]
+"
+
+DOCS=()
+SITEFILE="50${PN}-gentoo-r1.el"