mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 14:34:34 +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:
30
recipes-gtk/nwg-shell/nwg-look/nwg-look_1.0.6.bb
Normal file
30
recipes-gtk/nwg-shell/nwg-look/nwg-look_1.0.6.bb
Normal file
@ -0,0 +1,30 @@
|
||||
SUMMARY = "Nwg-look is a GTK3 settings editor, designed to work properly in wlroots-based Wayland environment."
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1fca41e83d55632fc67a83ba612de118"
|
||||
|
||||
DEPENDS = "xcur2png gtk+3"
|
||||
RDEPENDS:${PN} = "xcur2png go-runtime"
|
||||
|
||||
GO_IMPORT = "github.com/nwg-piotr/nwg-look"
|
||||
|
||||
SRC_URI = "git://${GO_IMPORT};destsuffix=${BP}/src/${GO_IMPORT};branch=main;protocol=https"
|
||||
SRCREV = "1282e6422491ea912ac22c5f532277eb011cc5bb"
|
||||
|
||||
require nwg-look-go-mods.inc nwg-look-licenses.inc
|
||||
|
||||
inherit go go-mod pkgconfig go-mod-update-modules
|
||||
|
||||
GO_INSTALL = "${GO_IMPORT}"
|
||||
|
||||
GO_LINKSHARED = ""
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/nwg-look/langs ${D}${datadir}/applications ${D}${datadir}/pixmaps
|
||||
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/main.glade ${D}${datadir}/nwg-look
|
||||
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/nwg-look.desktop ${D}${datadir}/applications
|
||||
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/nwg-look.svg ${D}${datadir}/pixmaps
|
||||
install -m 0644 ${S}/src/${GO_IMPORT}/langs/en_US.json ${D}${datadir}/nwg-look/langs
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
Reference in New Issue
Block a user