summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-05 09:09:28 +0000
committerSam James <sam@gentoo.org>2024-01-05 09:37:12 +0000
commit4ff501f192595dcce7ca90809c1285bfadd8915b (patch)
tree9bce9dfd93a32649de47b4c8d70531bd42ad97f9 /app-emacs/ninja-mode
parentkde-frameworks/kio: drop 5.113.0 (diff)
downloadgentoo-4ff501f192595dcce7ca90809c1285bfadd8915b.tar.gz
gentoo-4ff501f192595dcce7ca90809c1285bfadd8915b.tar.bz2
gentoo-4ff501f192595dcce7ca90809c1285bfadd8915b.zip
app-emacs/ninja-mode: new package split out from dev-util/ninja[emacs], add 1.11.1
Split out from dev-util/ninja[emacs] to help break a circular dep with USE=emacs: ``` (dev-util/ninja-1.11.1-r3:0/0::gentoo, ebuild scheduled for merge) depends on (app-editors/emacs-29.1-r6:29/29::gentoo, ebuild scheduled for merge) (runtime) (media-libs/lcms-2.15:2/2::gentoo, ebuild scheduled for merge) (buildtime) (app-alternatives/ninja-1:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-util/ninja-1.11.1-r3:0/0::gentoo, ebuild scheduled for merge) (runtime) It might be possible to break this cycle by applying any of the following changes: - app-alternatives/ninja-1 (Change USE: +samurai -reference) - dev-util/ninja-1.11.1-r3 (Change USE: -emacs) - app-editors/emacs-29.1-r6 (Change USE: -lcms) ``` Bug: https://bugs.gentoo.org/921333 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emacs/ninja-mode')
-rw-r--r--app-emacs/ninja-mode/Manifest1
-rw-r--r--app-emacs/ninja-mode/metadata.xml18
-rw-r--r--app-emacs/ninja-mode/ninja-mode-1.11.1.ebuild19
3 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/ninja-mode/Manifest b/app-emacs/ninja-mode/Manifest
new file mode 100644
index 000000000000..4ccdb98ca1a4
--- /dev/null
+++ b/app-emacs/ninja-mode/Manifest
@@ -0,0 +1 @@
+DIST ninja-1.11.1.tar.gz 229479 BLAKE2B c96cf7c319b7abd65f644465688d256f8b3a576c4616d0c63852e25dd0dc5f63c66708d429d8dddb6228502eb147211a86a5dd369b80ec2228902b370d2343e5 SHA512 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403
diff --git a/app-emacs/ninja-mode/metadata.xml b/app-emacs/ninja-mode/metadata.xml
new file mode 100644
index 000000000000..3a7c6d52ece0
--- /dev/null
+++ b/app-emacs/ninja-mode/metadata.xml
@@ -0,0 +1,18 @@
+<?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/>
+ <upstream>
+ <bugs-to>https://github.com/ninja-build/ninja/issues/</bugs-to>
+ <remote-id type="github">ninja-build/ninja</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/ninja-mode/ninja-mode-1.11.1.ebuild b/app-emacs/ninja-mode/ninja-mode-1.11.1.ebuild
new file mode 100644
index 000000000000..babdea3732a0
--- /dev/null
+++ b/app-emacs/ninja-mode/ninja-mode-1.11.1.ebuild
@@ -0,0 +1,19 @@
+# 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"
+SRC_URI="https://github.com/ninja-build/${PN/-mode}/archive/v${PV}.tar.gz -> ${P/-mode}.tar.gz"
+S="${WORKDIR}"/${P/-mode}/misc
+
+LICENSE="Apache-2.0"
+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/ninja[emacs(-)]"
+
+DOCS=()