2023-01-31 01:25:52 +01:00
|
|
|
LICENSE = "CCO-1.0"
|
|
|
|
LIC_FILES_CHKSUM = "file://tinywl/LICENSE;md5=d957da0415f5b0b974bfc6063afab2b5"
|
|
|
|
|
|
|
|
SRC_URI = "\
|
|
|
|
https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${PV}/wlroots-${PV}.tar.gz \
|
|
|
|
file://Makefile \
|
|
|
|
"
|
2023-01-31 13:13:26 +01:00
|
|
|
SRC_URI[sha256sum] = "cb867d0285cdc797ec6d127decd54a68b7166445632313b685f08ea016931044"
|
2023-01-31 01:25:52 +01:00
|
|
|
|
|
|
|
DEPENDS += "\
|
|
|
|
libxkbcommon \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
2023-01-31 13:35:46 +01:00
|
|
|
wayland-protocols \
|
2023-01-31 13:13:26 +01:00
|
|
|
wlroots-0.16 \
|
2023-01-31 01:25:52 +01:00
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/wlroots-${PV}"
|
|
|
|
|
|
|
|
inherit pkgconfig
|
|
|
|
|
|
|
|
EXTRA_OEMAKE = "\
|
|
|
|
'CC=${CC}' \
|
|
|
|
'CFLAGS=${CFLAGS}' \
|
|
|
|
'LDFLAGS=${LDFLAGS}' \
|
2023-01-31 13:13:26 +01:00
|
|
|
'WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner' \
|
|
|
|
'WAYLAND_PROTOCOLS=${STAGING_DATADIR}/wayland-protocols' \
|
2023-01-31 01:25:52 +01:00
|
|
|
"
|
|
|
|
|
|
|
|
do_compile() {
|
|
|
|
cp ${WORKDIR}/Makefile ${S}/tinywl/
|
|
|
|
|
|
|
|
cd ${S}/tinywl
|
|
|
|
oe_runmake ${EXTRA_OEMAKE} tinywl VERBOSE=1
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -Dm0755 ${S}/tinywl/tinywl ${D}${bindir}/tinywl
|
|
|
|
}
|