mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 06:24:28 +02:00
nwg-shell: use go-mod-update-modules class
remove do_compile[network] = "1"
nwg-drawer: update LICENSE checksum
[b906f24284
]
This commit is contained in:
33
recipes-gtk/nwg-shell/nwg-menu/nwg-menu_0.1.7.bb
Normal file
33
recipes-gtk/nwg-shell/nwg-menu/nwg-menu_0.1.7.bb
Normal file
@ -0,0 +1,33 @@
|
||||
SUMMARY = "MenuStart plugin to nwg-panel."
|
||||
DESCRIPTION = "This code provides the MenuStart plugin to nwg-panel. It \
|
||||
also may be used standalone with a little help from command line arguments."
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
|
||||
|
||||
DEPENDS = " \
|
||||
gtk+3 \
|
||||
gtk-layer-shell \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} = " \
|
||||
foot \
|
||||
"
|
||||
|
||||
GO_IMPORT = "github.com/nwg-piotr/nwg-menu.git"
|
||||
|
||||
SRC_URI = "git://${GO_IMPORT};destsuffix=${BP}/src/${GO_IMPORT};nobranch=1;protocol=https"
|
||||
|
||||
SRCREV = "5806a1bb8b916478a5b25aec2a0c3cdcb071de0b"
|
||||
|
||||
require nwg-menu-go-mods.inc nwg-menu-licenses.inc
|
||||
|
||||
inherit go go-mod pkgconfig go-mod-update-modules
|
||||
|
||||
GO_INSTALL = "${GO_IMPORT}"
|
||||
GO_LINKSHARED = ""
|
||||
|
||||
do_install:append() {
|
||||
# remove precompiled x86 binary
|
||||
rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin
|
||||
}
|
||||
|
Reference in New Issue
Block a user