meta-wayland/recipes-gtk/nwg-shell/nwg-drawer_git.bb
Markus Volk a55ce4b32a nwg-look:
add libstd.so to PRIVATE_LIBS

This fixes:
ERROR: nwg-look-0.1.4-r0 do_package: nwg-look: Multiple shlib providers for libstd.so: libstd-rs, go-runtime (used by files: /home/flk/poky/build-intel-retro/tmp/work/corei7-64-poky-linux/nwg-look/0.1.4-r0/packages-split/nwg-look/usr/bin/nwg-look)
2023-01-31 14:45:13 +01:00

32 lines
740 B
BlitzBasic

SUMMARY = "GTK3-based application launcher 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-drawer.git"
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.3.8"
SRCREV = "820848d9845592da785fae466742091d8e42767b"
inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
# remove precompiled x86 binary
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"