2021-07-24 13:39:36 +02:00
|
|
|
|
2021-06-02 16:13:46 +02:00
|
|
|
SUMMARY = "A Wayland WM"
|
|
|
|
HOMEPAGE = "https://github.com/swaywm/sway"
|
|
|
|
BUGTRACKER = "https://github.com/swaywm/sway/issues"
|
|
|
|
SECTION = "graphics"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
|
|
|
wlroots \
|
|
|
|
cairo \
|
|
|
|
libevdev \
|
|
|
|
json-c \
|
|
|
|
libdrm \
|
|
|
|
libinput \
|
|
|
|
libxkbcommon \
|
|
|
|
pango \
|
|
|
|
pcre \
|
|
|
|
pixman \
|
|
|
|
virtual/libgles2 \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
2021-06-06 16:14:15 +02:00
|
|
|
# sways default config makes use of it
|
2021-08-07 06:23:26 +02:00
|
|
|
RDEPENDS:${PN} ?= "swaybg"
|
2021-06-06 19:01:21 +02:00
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
RRECOMMENDS:${PN} ?= " \
|
2021-06-06 19:01:21 +02:00
|
|
|
foot \
|
2021-07-24 13:39:36 +02:00
|
|
|
jq \
|
|
|
|
grim \
|
|
|
|
slurp \
|
|
|
|
wl-clipboard \
|
2021-06-06 19:01:21 +02:00
|
|
|
"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
SRC_URI = " \
|
2021-10-08 23:19:31 +02:00
|
|
|
git://github.com/swaywm/sway.git;protocol=https;branch=master \
|
2021-06-02 16:13:46 +02:00
|
|
|
"
|
|
|
|
|
2021-10-20 16:58:01 +02:00
|
|
|
SRCREV = "215787e8b28d4e52d97bdcadd4b64305c7a62ac5"
|
2021-10-08 23:19:31 +02:00
|
|
|
PV = "1.6.1+${SRCREV}"
|
2021-06-02 16:13:46 +02:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
PACKAGECONFIG[default-wallpaper] = "-Ddefault-wallpaper=true,-Ddefault-wallpaper=false"
|
|
|
|
PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
|
|
|
|
PACKAGECONFIG[systemd] = "-Dsd-bus-provider=libsystemd,,systemd"
|
2021-06-27 09:38:06 +02:00
|
|
|
PACKAGECONFIG[elogind] = "-Dsd-bus-provider=libelogind,,elogind"
|
|
|
|
PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu"
|
2021-06-02 16:13:46 +02:00
|
|
|
PACKAGECONFIG[tray] = "-Dtray=enabled,-Dtray=disabled"
|
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb"
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
2021-06-06 16:14:15 +02:00
|
|
|
default-wallpaper \
|
2021-06-02 16:13:46 +02:00
|
|
|
gdk-pixbuf \
|
|
|
|
"
|
|
|
|
|
2021-08-08 18:52:43 +02:00
|
|
|
# Reproducibility issue. Fix me!
|
|
|
|
CFLAGS:append = " -Wno-error=date-time"
|
2021-06-02 16:13:46 +02:00
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
do_install:append() {
|
2021-07-24 13:39:36 +02:00
|
|
|
install -m 755 ${S}/contrib/grimshot ${D}${bindir}
|
|
|
|
}
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
FILES:${PN}:append = " \
|
2021-06-02 16:13:46 +02:00
|
|
|
${datadir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = ""
|
|
|
|
|