net-analyzer/nutty: add version 1.1.1 and 9999
Package-Manager: Portage-2.3.84, Repoman-2.3.20
This commit is contained in:
parent
daafa22cd5
commit
20ad6d452d
1
net-analyzer/nutty/Manifest
Normal file
1
net-analyzer/nutty/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST nutty-1.1.1.tar.gz 174476 BLAKE2B 4a251e4cdc4efc24f9ec2c620e5630e382b6af6fad57068e2ebb0d2a0853f15d780f1884fb6d3e6ef2d8bc2e6244940e25f609ee118a3f2ac8516a9c473ff1c3 SHA512 dfae697eb4379af7c4f77a03fca608cfed64dbb92ef21a33f442dd43fc00249da9a80294dc8fcd710e2c38f441a7d8045f3e3f81daca83e7d0b643f824c56b0f
|
7
net-analyzer/nutty/metadata.xml
Normal file
7
net-analyzer/nutty/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">babluboy/nutty</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
74
net-analyzer/nutty/nutty-1.1.1.ebuild
Normal file
74
net-analyzer/nutty/nutty-1.1.1.ebuild
Normal file
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils gnome2-utils meson vala xdg-utils
|
||||
|
||||
DESCRIPTION="A simple application to provide essential information on network related aspects"
|
||||
HOMEPAGE="https://github.com/babluboy/nutty"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/babluboy/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/babluboy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/granite
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-db/sqlite
|
||||
net-analyzer/nethogs
|
||||
net-analyzer/nmap
|
||||
net-analyzer/traceroute
|
||||
net-analyzer/vnstat
|
||||
net-misc/curl
|
||||
net-wireless/wireless-tools
|
||||
sys-apps/iproute2
|
||||
sys-apps/net-tools
|
||||
sys-apps/pciutils
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
vala_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
74
net-analyzer/nutty/nutty-9999.ebuild
Normal file
74
net-analyzer/nutty/nutty-9999.ebuild
Normal file
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils gnome2-utils meson vala xdg-utils
|
||||
|
||||
DESCRIPTION="A simple application to provide essential information on network related aspects"
|
||||
HOMEPAGE="https://github.com/babluboy/nutty"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/babluboy/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/babluboy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/granite
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-db/sqlite
|
||||
net-analyzer/nethogs
|
||||
net-analyzer/nmap
|
||||
net-analyzer/traceroute
|
||||
net-analyzer/vnstat
|
||||
net-misc/curl
|
||||
net-wireless/wireless-tools
|
||||
sys-apps/iproute2
|
||||
sys-apps/net-tools
|
||||
sys-apps/pciutils
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
vala_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user