meta-wayland/recipes-support/nwg-shell/nwg-dock_git.bb
2021-09-19 18:10:08 +02:00

27 lines
564 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 \
"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1"
PV = "0.1.6"
SRCREV = "v${PV}"
inherit go go-mod
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
# remove precompiled x86 binaries
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
rm -r ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
}