iwgtk: add recipe

iwgtk is a simple gtk4 gui for iwd with few dependencies
This commit is contained in:
Markus Volk 2022-08-24 14:36:30 +02:00
parent e7fc6d0138
commit 68e70393bc

View File

@ -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"