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 \
|
2022-04-05 11:12:48 +02:00
|
|
|
pcre2 \
|
2021-06-02 16:13:46 +02:00
|
|
|
pixman \
|
|
|
|
virtual/libgles2 \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
2022-10-26 13:56:24 +02:00
|
|
|
|
2023-08-06 07:52:41 +02:00
|
|
|
RDEPENDS:${PN} = "swaybg python3 python-i3ipc"
|
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 \
|
2023-08-06 07:52:41 +02:00
|
|
|
sway-contrib \
|
2021-06-06 19:01:21 +02:00
|
|
|
"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2023-03-30 09:55:42 +02:00
|
|
|
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2024-12-07 19:08:35 +01:00
|
|
|
SRCREV = "1d783794b508e529bdc665296d690057c93997df"
|
2024-10-28 20:43:23 +01:00
|
|
|
PV = "1.11-dev"
|
2021-06-02 16:13:46 +02:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
2021-12-23 17:36:04 +01:00
|
|
|
PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu"
|
2021-06-02 16:13:46 +02:00
|
|
|
PACKAGECONFIG[default-wallpaper] = "-Ddefault-wallpaper=true,-Ddefault-wallpaper=false"
|
2021-12-23 17:36:04 +01:00
|
|
|
PACKAGECONFIG[elogind] = "-Dsd-bus-provider=libelogind,,elogind"
|
2021-06-02 16:13:46 +02:00
|
|
|
PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
|
2021-12-23 17:36:04 +01:00
|
|
|
PACKAGECONFIG[swaybar] = "-Dswaybar=true,-Dswaybar=false"
|
|
|
|
PACKAGECONFIG[swaynag] = "-Dswaynag=true,-Dswaynag=false"
|
2021-06-02 16:13:46 +02:00
|
|
|
PACKAGECONFIG[systemd] = "-Dsd-bus-provider=libsystemd,,systemd"
|
|
|
|
PACKAGECONFIG[tray] = "-Dtray=enabled,-Dtray=disabled"
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
2024-06-08 12:14:06 +02:00
|
|
|
${@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 \
|
|
|
|
"
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2024-02-10 08:02:00 +01:00
|
|
|
FILES:${PN} += "${datadir}"
|