app-misc/kanata: Add cmd use flag

Signed-off-by: Eetu Eloranta <eetu@muffinpower.fi>
This commit is contained in:
Eetu Eloranta
2024-11-04 22:38:36 +02:00
parent 4ac61c7157
commit 03bdd99861
2 changed files with 12 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.13.3
EAPI=8
CRATES="
@@ -220,5 +218,13 @@ LICENSE+=" Apache-2.0 BSD ISC LGPL-3 MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"
# Rust package
IUSE="cmd"
QA_FLAGS_IGNORED="usr/bin/kanata"
src_configure() {
local myfeatures=(
$(usev cmd)
)
cargo_src_configure
}

View File

@@ -5,6 +5,9 @@
<email>eetu@muffinpower.fi</email>
<name>Eetu Eloranta</name>
</maintainer>
<use>
<flag name="cmd">Enable potentially dangerous "cmd" action to be able run arbitrary commands.</flag>
</use>
<upstream>
<remote-id type="github">jtroo/kanata</remote-id>
</upstream>