2021-02-12 14:17:32 +00:00
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
|
|
|
|
|
|
|
SRCREV = "5ae4f65045c04df7ad2d87142b4064803d97a73e"
|
|
|
|
|
|
|
|
#PV = "1.4+git${SRCPV}"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2022-05-28 15:20:07 +00:00
|
|
|
SRC_URI = "git://github.com/swaywm/sway;protocol=https;branch=master \
|
2021-02-12 14:17:32 +00:00
|
|
|
file://config \
|
|
|
|
file://0001-Reinstate-wayland-0-as-starting-display-socket-for-C.patch \
|
|
|
|
"
|
|
|
|
|
|
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
inherit meson pkgconfig
|
2021-02-12 14:17:32 +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} += "\
|
2021-02-12 14:17:32 +00:00
|
|
|
${datadir}/wayland-sessions/sway.desktop \
|
|
|
|
"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
do_install:append() {
|
2021-02-12 14:17:32 +00:00
|
|
|
rm ${D}${sysconfdir}/sway/config
|
|
|
|
install -m 644 ${WORKDIR}/config ${D}${sysconfdir}/sway/config
|
|
|
|
}
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
# Reproducibility issue. Fix me!
|
|
|
|
CFLAGS:append = " -Wno-error=date-time"
|
|
|
|
|
2021-02-12 14:17:32 +00:00
|
|
|
EXTRA_OEMESON += "-Ddefault-wallpaper=false -Dzsh-completions=false -Dbash-completions=false -Dfish-completions=false"
|
|
|
|
|
|
|
|
|