meta-wayland/recipes-gtk/nwg-shell/nwg-look_git.bb
Markus Volk 34b4457a73 nwg-look: dont link shared
If using module mode we cant link shared

This fixes:
| link: duplicated definition of symbol github.com/gotk3/gotk3/glib.(*Object).Unref-fm.(*Object).Unref.func1, from github.com/gotk3/gotk3/gtk and github.com/gotk3/gotk3/gdk
2024-05-05 19:43:47 +02:00

32 lines
1.0 KiB
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=453b3e96b1052c0e1d1460b0134b9287"
DEPENDS = "xcur2png gtk+3"
RDEPENDS:${PN} = "xcur2png go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-look"
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
SRCREV = "88f2639445084bf265ad71dba1c7af507c471762"
PV = "0.2.7"
inherit go go-mod pkgconfig gtk-icon-cache
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}"
do_compile[network] = "1"