Files
guru/net-wireless/iwmenu/iwmenu-0.2.0.ebuild
Nicolas PARLANT bacade2eec net-wireless/iwmenu: add 0.2.0
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
2025-05-02 03:50:46 +00:00

48 lines
1.1 KiB
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
inherit cargo optfeature
DESCRIPTION="Menu-driven Wi-Fi management interface for Linux"
HOMEPAGE="https://github.com/e-tho/iwmenu"
SRC_URI="https://github.com/e-tho/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${P}/${P}-crates.tar.xz"
LICENSE="GPL-3"
# Autogenerated by pycargoebuild
# Dependent crate licenses
LICENSE+="
LGPL-2.1 MIT Unicode-3.0
|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
net-wireless/iwd
sys-apps/dbus
"
QA_FLAGS_IGNORED="usr/bin/iwmenu"
src_install() {
cargo_src_install
local DOCS=( README.md )
einstalldocs
}
pkg_postinst() {
elog "Compatibility with :"
elog "gui-apps/fuzzel x11-misc/dmenu x11-misc/rofi"
elog "Use custom mode if your launcher is not supported."
elog
optfeature "using nerdfonts icons" media-fonts/symbols-nerd-font
elog "Otherwise use \"--icon xdg\" for image-based icons from your XDG theme."
}