2018-11-11 16:37:10 +00:00
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
|
|
|
|
2020-07-10 16:18:34 +00:00
|
|
|
SRCREV = "ab77efc6caba50acc4c87e02ae3e6712ea808772"
|
2018-11-11 16:37:10 +00:00
|
|
|
|
2020-07-10 16:18:34 +00:00
|
|
|
PV = "1.4+git${SRCPV}"
|
2018-11-11 16:37:10 +00:00
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
S = "${WORKDIR}/git"
|
2022-05-28 15:20:07 +00:00
|
|
|
SRC_URI = "git://github.com/swaywm/sway;protocol=https;branch=master \
|
2019-04-14 13:59:01 +00:00
|
|
|
file://config \
|
|
|
|
"
|
|
|
|
|
|
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
2018-11-11 16:37:10 +00:00
|
|
|
|
|
|
|
inherit meson
|
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
DEPENDS = "dbus cairo pango wlroots libinput libxkbcommon wayland wayland-native libpam libcap json-c libpcre gdk-pixbuf"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN} += "\
|
2018-11-11 16:37:10 +00:00
|
|
|
${datadir}/wayland-sessions/sway.desktop \
|
|
|
|
"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
do_install:append() {
|
2018-11-11 16:37:10 +00:00
|
|
|
rm ${D}${sysconfdir}/sway/config
|
|
|
|
install -m 644 ${WORKDIR}/config ${D}${sysconfdir}/sway/config
|
|
|
|
}
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "-Ddefault-wallpaper=false -Dzsh-completions=false -Dbash-completions=false -Dfish-completions=false"
|
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
|