summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-06-07 13:50:58 -0500
committerBen Kohler <bkohler@gentoo.org>2022-06-07 14:17:24 -0500
commit72bc488e94650f359cd8cd80c633d4c1098e8a2e (patch)
tree9881ec61fc0d74e338ce4e00e34744593f7a6913 /net-wireless/iwgtk
parentnet-wireless/iwd: add 1.28 (diff)
downloadgentoo-72bc488e94650f359cd8cd80c633d4c1098e8a2e.tar.gz
gentoo-72bc488e94650f359cd8cd80c633d4c1098e8a2e.tar.bz2
gentoo-72bc488e94650f359cd8cd80c633d4c1098e8a2e.zip
net-wireless/iwgtk: add 0.5
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless/iwgtk')
-rw-r--r--net-wireless/iwgtk/Manifest1
-rw-r--r--net-wireless/iwgtk/iwgtk-0.5.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/net-wireless/iwgtk/Manifest b/net-wireless/iwgtk/Manifest
index 714a9feba838..81bd967c09d8 100644
--- a/net-wireless/iwgtk/Manifest
+++ b/net-wireless/iwgtk/Manifest
@@ -1 +1,2 @@
DIST iwgtk-0.4.tar.gz 103988 BLAKE2B 0a848f805509507066e9eb97c1a3ccd1f3e441a6a01789b7ec291a12f67a619227b7845249342c15301c755dd6e3594379a888d278dc71c20cf377322f9969a5 SHA512 7a6d55493fe7cad57dc8338aafe48236c1ececb688a64cbdeb5748c60f5d109ae7912182c6d4df094588baee2aff3bd5481f82a80c4c267283a5067a0127f9e0
+DIST iwgtk-0.5.tar.gz 111619 BLAKE2B 1992f722fef1fc940433a0a26ee9d418c93a2b5164cd88c6a5456143b3e91e6e2b7f78e40df55df0c7bcd37fbf837f7691cd3aefa8166a9a93d94621e463ceb6 SHA512 63858ace6e05943563cfc25d66b8c98f3f13927a2e9addce4e9655e77a911b0e6e429865251dcd9990e722bcb0af852fffe2d59d4c5b467930837e2092b45ab2
diff --git a/net-wireless/iwgtk/iwgtk-0.5.ebuild b/net-wireless/iwgtk/iwgtk-0.5.ebuild
new file mode 100644
index 000000000000..4b26ef061cad
--- /dev/null
+++ b/net-wireless/iwgtk/iwgtk-0.5.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
+"
+
+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 PREFIX="${ED}/usr" install
+ gunzip "${ED}/usr/share/man/man1/iwgtk.1.gz" || die
+}