2021-07-23 18:08:38 +02:00
|
|
|
SUMMARY = "GTK3-based dock for wlroots based compositors."
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=fffa55ad1c828db5e334374fb1182530"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
gtk+3 \
|
|
|
|
gtk-layer-shell \
|
|
|
|
"
|
2023-04-26 11:07:08 +02:00
|
|
|
RDEPENDS:${PN} = "go-runtime"
|
2021-07-23 18:08:38 +02:00
|
|
|
|
|
|
|
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
|
|
|
|
|
2024-05-21 15:53:00 +02:00
|
|
|
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https"
|
2021-07-23 18:08:38 +02:00
|
|
|
|
2023-10-22 14:30:02 +02:00
|
|
|
PV = "0.3.9"
|
|
|
|
SRCREV = "6fdd055eaff282298ea5496d203514b5f99314a0"
|
2024-05-29 08:38:03 +02:00
|
|
|
S = "${WORKDIR}/sources"
|
|
|
|
UNPACKDIR = "${S}"
|
2021-07-23 18:08:38 +02:00
|
|
|
|
2022-01-18 11:12:36 +01:00
|
|
|
inherit go go-mod pkgconfig
|
2021-07-23 18:08:38 +02:00
|
|
|
|
|
|
|
GO_INSTALL = "${GO_IMPORT}"
|
2024-05-07 23:31:12 +02:00
|
|
|
GO_LINKSHARED = ""
|
2021-07-23 18:08:38 +02:00
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
do_install:append() {
|
2021-09-19 18:08:14 +02:00
|
|
|
# remove precompiled x86 binaries
|
2022-02-01 04:34:57 +01:00
|
|
|
rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin
|
|
|
|
rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
|
2021-07-23 18:08:38 +02:00
|
|
|
}
|
|
|
|
|
2022-01-08 03:38:07 +01:00
|
|
|
do_compile[network] = "1"
|