From 68e70393bc0d969c871ff25b6876ce4acfec73d3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 24 Aug 2022 14:36:30 +0200 Subject: [PATCH] iwgtk: add recipe iwgtk is a simple gtk4 gui for iwd with few dependencies --- recipes-gtk/iwgtk/iwgtk_git.bb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-gtk/iwgtk/iwgtk_git.bb diff --git a/recipes-gtk/iwgtk/iwgtk_git.bb b/recipes-gtk/iwgtk/iwgtk_git.bb new file mode 100644 index 0000000..dd36733 --- /dev/null +++ b/recipes-gtk/iwgtk/iwgtk_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "iwgtk is a wireless networking GUI for Linux with supported functionality similar to that of iwctl." +HOMEPAGE = "https://github.com/J-Lentz/iwgtk" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" + +DEPENDS = " \ + gtk4 \ + qrencode \ + scdoc-native \ +" + +inherit meson gtk-icon-cache pkgconfig + +SRC_URI = "git://github.com/J-Lentz/iwgtk.git;protocol=https;branch=master" + +S = "${WORKDIR}/git" +PV = "0.8" +SRCREV = "5d3d3f17b80b5724250f63b0f5acbbd656a281d0" + +do_install:append() { + # fix weird /usr/share/lib install + mv ${D}${datadir}/lib ${D}${libdir} +} + +FILES:${PN} += "${systemd_user_unitdir}/iwgtk.service" + +# for working dbus communication in iwd default configuration the user either needs +# to be in group 'wheel' or 'netdev'. See /usr/share/dbus-1/system.d/iwd-dbus.conf + +RDEPENDS:${PN} = "gtk4 iwd dbus"