2021-07-23 18:08:38 +02:00
|
|
|
SUMMARY = "GTK3-based application launcher for wlroots based compositors."
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
gtk+3 \
|
|
|
|
gtk-layer-shell \
|
|
|
|
"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
RRECOMMENDS:${PN} = " \
|
2021-07-23 18:08:38 +02:00
|
|
|
thunar \
|
|
|
|
foot \
|
|
|
|
"
|
|
|
|
|
|
|
|
GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git"
|
|
|
|
|
2021-11-23 17:16:27 +01:00
|
|
|
SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
|
2021-07-23 18:08:38 +02:00
|
|
|
|
2021-10-10 07:04:31 +02:00
|
|
|
PV = "0.2.1"
|
2021-07-23 18:08:38 +02:00
|
|
|
SRCREV = "v${PV}"
|
|
|
|
|
2021-08-29 07:42:59 +02:00
|
|
|
inherit go go-mod pkgconfig
|
2021-07-23 18:08:38 +02:00
|
|
|
|
|
|
|
GO_INSTALL = "${GO_IMPORT}"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
do_install:append() {
|
2021-07-23 18:08:38 +02:00
|
|
|
# remove precompiled x86 binary
|
|
|
|
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
|
2021-10-10 07:04:31 +02:00
|
|
|
rm -r ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
|
2021-07-23 18:08:38 +02:00
|
|
|
}
|
|
|
|
|