nwg-shell: use go-mod-update-modules class

cleanup
This commit is contained in:
Markus Volk
2025-07-02 14:52:06 +02:00
parent 845917e642
commit eeee1562e3
23 changed files with 106 additions and 21 deletions

View File

@ -0,0 +1,16 @@
# This file has been generated by go-mod-update-modules.bbclass
#
# Do not modify it by hand, as the contents will be replaced when
# running the update-modules task.
SRC_URI += "\
gomod://github.com/allan-simon/go-singleinstance;version=v0.0.0-20210120080615-d0997106ab37;sha256sum=99115651f7df4f4b9956ca5af927e06d8fe8aac7b13f52f4a130ac4d7e237ad9 \
gomod://github.com/davecgh/go-spew;version=v1.1.1;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
gomod://github.com/dlasky/gotk3-layershell;version=v0.0.0-20210827021656-e6ecab2731f7;sha256sum=ded1454081eba18a34a64811c6fb7b44a81875c49945aa7dfb5594889f9c808c \
gomod://github.com/gotk3/gotk3;version=v0.6.1;sha256sum=61a2d027cea272dbbcebb5ac6114fd3230cac6e54b16451c3597db3961b64380 \
gomod://github.com/pmezard/go-difflib;version=v1.0.0;mod=1;sha256sum=74b2e766eb215377864d587badf57e95521f692d2a7860b3c7759093f9c9bec2 \
gomod://github.com/sirupsen/logrus;version=v1.8.1;sha256sum=8caec32e0aba1b95effc69d645b50f937137f78f0d0534b149f017dc0164a354 \
gomod://github.com/stretchr/testify;version=v1.2.2;mod=1;sha256sum=4ab463f68c370041f950c10cab5104903d4598c50cf824f9aad1b7b7f69255af \
gomod://golang.org/x/sys;version=v0.0.0-20191026070338-33540a1f6037;sha256sum=cd0ef9c0a4e8a9ee9269c4787eeefa4e1225ac4367bb444ffa8d53a3ae98879e \
"

View File

@ -0,0 +1,14 @@
# This file has been generated by go-mod-update-modules.bbclass
#
# Do not modify it by hand, as the contents will be replaced when
# running the update-modules task.
LICENSE += "& BSD-3-Clause & ISC & MIT"
LIC_FILES_CHKSUM += "\
file://pkg/mod/github.com/allan-simon/go-singleinstance@v0.0.0-20210120080615-d0997106ab37/LICENSE;md5=64080d7ce40e2ef2eee4754706a437c4;spdx=MIT \
file://pkg/mod/github.com/gotk3/gotk3@v0.6.1/LICENSE;md5=82d02ae7d63483ef7474e8f4f95d687e;spdx=ISC \
file://pkg/mod/github.com/sirupsen/logrus@v1.8.1/LICENSE;md5=8dadfef729c08ec4e631c4f6fc5d43a0;spdx=MIT \
file://pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707;spdx=BSD-3-Clause \
"

View File

@ -0,0 +1,27 @@
SUMMARY = "ddcpopup allows to control basic settings of external (not laptop built-in) monitors."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/README.md;md5=63b79d68c363846305e6bb4fbf116a35"
DEPENDS = " \
ddcutil \
gtk+3 \
gtk-layer-shell \
"
RDEPENDS:${PN} = "ddcutil"
GO_IMPORT = "github.com/nwg-piotr/ddcpopup.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=${BP}/src/${GO_IMPORT};nobranch=1;protocol=https"
SRCREV = "8fab5132e49e08a1eeaa7a0dd3350d06f4399200"
inherit go go-mod pkgconfig go-mod-update-modules
require ${PN}-go-mods.inc ${PN}-licenses.inc
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() {
mv ${D}${bindir}/main ${D}${bindir}/ddcpopup
}