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"