meta-wayland/recipes-gtk/nwg-shell/nwg-drawer_git.bb
2024-05-29 08:39:48 +02:00

33 lines
789 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};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.4.7"
SRCREV = "0cd48d1631eecb3043ee2c1fed9dfa25ca855375"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
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"