mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-11-20 04:18:25 +01:00
a55ce4b32a
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)
30 lines
992 B
BlitzBasic
30 lines
992 B
BlitzBasic
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=2e53cad864b84be468b2fc0b511942ce"
|
|
|
|
DEPENDS = "xcur2png gtk+3"
|
|
RDEPENDS:${PN} = "xcur2png go-runtime"
|
|
|
|
GO_IMPORT = "github.com/nwg-piotr/nwg-look.git"
|
|
|
|
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
|
|
SRCREV = "9bb91da211c5d494e755cf9715938d68a0d00c6a"
|
|
PV = "0.1.4"
|
|
|
|
inherit go go-mod pkgconfig gtk-icon-cache
|
|
|
|
GO_INSTALL = "${GO_IMPORT}"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${datadir}/nwg-look ${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
|
|
}
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
do_compile[network] = "1"
|
|
|
|
PRIVATE_LIBS:${PN}:append = " libstd.so"
|