meta-wayland/recipes-gtk/nwg-shell/nwg-look_git.bb

31 lines
1.1 KiB
BlitzBasic
Raw Normal View History

2022-04-08 08:02:52 +02:00
SUMMARY = "Nwg-look is a GTK3 settings editor, designed to work properly in wlroots-based Wayland environment."
LICENSE = "MIT"
2023-11-23 13:48:31 +01:00
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=453b3e96b1052c0e1d1460b0134b9287"
2022-04-08 08:02:52 +02:00
DEPENDS = "xcur2png gtk+3"
RDEPENDS:${PN} = "xcur2png go-runtime"
2022-04-08 08:02:52 +02:00
2023-03-16 06:34:49 +01:00
GO_IMPORT = "github.com/nwg-piotr/nwg-look"
2022-04-08 08:02:52 +02:00
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
2024-03-10 14:09:19 +01:00
SRCREV = "88f2639445084bf265ad71dba1c7af507c471762"
PV = "0.2.7"
2022-04-08 08:02:52 +02:00
inherit go go-mod pkgconfig gtk-icon-cache
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
2023-03-16 06:34:49 +01:00
install -d ${D}${datadir}/nwg-look/langs ${D}${datadir}/applications ${D}${datadir}/pixmaps
2022-04-08 08:02:52 +02:00
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
2022-07-18 14:37:02 +02:00
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/nwg-look.svg ${D}${datadir}/pixmaps
2023-03-16 06:34:49 +01:00
install -m 0644 ${S}/src/${GO_IMPORT}/langs/en_US.json ${D}${datadir}/nwg-look/langs
2022-04-08 08:02:52 +02:00
}
FILES:${PN} += "${datadir}"
do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"