diff --git a/recipes-support/cliphist/cliphist-go-mods.inc b/recipes-support/cliphist/cliphist-go-mods.inc new file mode 100644 index 0000000..4dfbfbd --- /dev/null +++ b/recipes-support/cliphist/cliphist-go-mods.inc @@ -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. + +SRC_URI += "\ + gomod://github.com/rogpeppe/go-internal;version=v1.12.0;mod=1;sha256sum=7bfe5b03ab2d4d954d9b74eacdb2ccbf6bdef634201b000b97f9a0d20231dc7e \ + gomod://go.etcd.io/bbolt;version=v1.3.9;sha256sum=412ac7f1928d89b1a5efc240ece45e02150c0e02374a0dd550fd0695b2f37c8e \ + gomod://go.senan.xyz/flagconf;version=v0.1.9;sha256sum=728dc8c307e490f55ffbd71c335b35d4142b007a28cf39d19ca986387a9bc9c0 \ + gomod://golang.org/x/image;version=v0.21.0;sha256sum=7ca937a1f9501b5d0b46631a6813f833292e33a9c5070f03630f18ab8d65bba3 \ + gomod://golang.org/x/sys;version=v0.26.0;sha256sum=f44842acff792af010dcb5a24308b72272ebd57c74e00d5f530c9e5d55b86979 \ + gomod://golang.org/x/tools;version=v0.24.0;mod=1;sha256sum=82819e438fe12dba2ae05162302d3ce19cc5351f00a887ad22628b125345d989 \ +" diff --git a/recipes-support/cliphist/cliphist-licenses.inc b/recipes-support/cliphist/cliphist-licenses.inc new file mode 100644 index 0000000..00848e8 --- /dev/null +++ b/recipes-support/cliphist/cliphist-licenses.inc @@ -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 & MIT" + +LIC_FILES_CHKSUM += "\ + file://pkg/mod/go.etcd.io/bbolt@v1.3.9/LICENSE;md5=13b2a308eefa10d841e3bf2467dbe07a;spdx=MIT \ + file://pkg/mod/go.senan.xyz/flagconf@v0.1.9/LICENSE;md5=f5da1846f4e90b844f855d30dfa58e8e;spdx=MIT \ + file://pkg/mod/golang.org/x/image@v0.21.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/sys@v0.26.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ +" diff --git a/recipes-support/cliphist/cliphist_0.6.1.bb b/recipes-support/cliphist/cliphist_0.6.1.bb new file mode 100644 index 0000000..4be89df --- /dev/null +++ b/recipes-support/cliphist/cliphist_0.6.1.bb @@ -0,0 +1,17 @@ +SUMMARY = "Clipboard history “manager” for Wayland" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +GO_IMPORT = "github.com/sentriz/cliphist.git" + +SRC_URI = "git://${GO_IMPORT};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${GO_IMPORT};nobranch=1;protocol=https" +SRCREV = "8c48df70bb3d9d04ae8691513e81293ed296231a" + +require ${PN}-go-mods.inc ${PN}-licenses.inc + +inherit go go-mod go-mod-update-modules + +GO_INSTALL = "${GO_IMPORT}" + +RDEPENDS:${PN} = "wl-clipboard" +RDEPENDS:${PN}-dev = "bash"