summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-07-01 06:44:52 -0500
committerBen Kohler <bkohler@gentoo.org>2022-07-01 06:45:33 -0500
commit731662acf3190559807ae3a8d4abbe8153b507b1 (patch)
treed557ce52b71872675c64564eb717a4ba6278928d /net-wireless
parentmedia-sound/audiotools: dropped obsolete 3.1.1 (diff)
downloadgentoo-731662acf3190559807ae3a8d4abbe8153b507b1.tar.gz
gentoo-731662acf3190559807ae3a8d4abbe8153b507b1.tar.bz2
gentoo-731662acf3190559807ae3a8d4abbe8153b507b1.zip
net-wireless/iwgtk: add 0.7
Closes: https://github.com/gentoo/gentoo/pull/26170 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/iwgtk/Manifest1
-rw-r--r--net-wireless/iwgtk/iwgtk-0.7.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/net-wireless/iwgtk/Manifest b/net-wireless/iwgtk/Manifest
index d8c683afd9d1..1f2e811cbd60 100644
--- a/net-wireless/iwgtk/Manifest
+++ b/net-wireless/iwgtk/Manifest
@@ -1 +1,2 @@
DIST iwgtk-0.6.tar.gz 112522 BLAKE2B 8366b79d4d3b386187815ba787340d2e90d1a94779ec88a4fa807fbd310a77acf6651e49f4bfd6bbae76ca99765678bd643eaf9bb584b8fc75c812216d45aaa9 SHA512 79874e65d7673100f9156e183387ed0e744de153f8ab3aa3295347ed263b53cd6109e1b7e2d32e7b735a4d09d60235a1124fa244beb989fa4e86044cf7547fb1
+DIST iwgtk-0.7.tar.gz 117313 BLAKE2B 49c8c728a397f41af0b62748d4b84320185b705a191e90adae619cab7a8aff8cfe1b6ffe5cf6ee9405995f37b25b4f218cbb9d1264154d360a9e7ce9827ffdaa SHA512 da40aa66985004e7917fac15629d36b9b5fc2e1d56fda1544567afdcc28ac5c65c125b35ffe6751b66eb0e3c71489c383be017a44a4cfef065c8859f15b7de74
diff --git a/net-wireless/iwgtk/iwgtk-0.7.ebuild b/net-wireless/iwgtk/iwgtk-0.7.ebuild
new file mode 100644
index 000000000000..a05ee89eb263
--- /dev/null
+++ b/net-wireless/iwgtk/iwgtk-0.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit xdg
+
+DESCRIPTION="Lightweight, graphical wifi management utility for Linux"
+HOMEPAGE="https://github.com/J-Lentz/iwgtk"
+SRC_URI="https://github.com/J-Lentz/iwgtk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-libs/atk:0
+ dev-libs/glib:2
+ x11-libs/cairo:0
+ x11-libs/gdk-pixbuf:2
+ gui-libs/gtk:4
+ x11-libs/pango:0
+"
+
+RDEPEND="
+ ${DEPEND}
+ >=net-wireless/iwd-1.28
+"
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's/^CC=/CC?=/' \
+ -e 's/^CFLAGS=/CFLAGS:=$(CFLAGS) /' \
+ -e 's/^LDLIBS=/LDLIBS:=$(LDFLAGS) /' \
+ -e 's/-O3$/${CFLAGS}/' \
+ Makefile || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+ gunzip "${ED}/usr/share/man/man1/iwgtk.1.gz" || die
+}