meta-wayland/recipes-gtk/nwg-shell/nwg-dock_git.bb
2023-06-06 17:22:09 +02:00

31 lines
723 B
BlitzBasic

SUMMARY = "GTK3-based dock for wlroots based compositors."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
DEPENDS = " \
gtk+3 \
gtk-layer-shell \
"
RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.3.4"
SRCREV = "5e56451e9b9c2dd89dcd6f08c47a95fd1be4cdb2"
inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
# remove precompiled x86 binaries
rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin
rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
}
do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"