mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
CRATES="
|
|
"
|
|
|
|
RUST_MIN_VER="1.85.0"
|
|
|
|
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 gui-apps/walker"
|
|
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."
|
|
}
|