meta-wayland/recipes-gtk/nwg-shell/nwg-drawer_git.bb

33 lines
789 B
BlitzBasic
Raw Permalink Normal View History

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 \
"
2023-01-31 13:15:11 +01:00
RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git"
2024-05-21 15:53:00 +02:00
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
2024-09-29 16:58:22 +02:00
PV = "0.5.0"
SRCREV = "44e4c95900f6a8334393a42a405d26715822a220"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
2021-08-29 07:42:59 +02:00
inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}"
2024-05-07 23:31:56 +02:00
GO_LINKSHARED = ""
2021-08-07 06:23:26 +02:00
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"