2018-11-11 16:37:10 +00:00
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
SRCREV = "bcde298a719f60b9913133dbd2a169dedbc8dd7d"
|
2018-11-11 16:37:10 +00:00
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
PV = "1.0+git${SRCPV}"
|
2018-11-11 16:37:10 +00:00
|
|
|
|
2019-04-14 13:59:01 +00:00
|
|
|
S = "${WORKDIR}/git"
|
2019-04-14 15:57:19 +00:00
|
|
|
SRC_URI = "git://github.com/swaywm/sway;protocol=https \
|
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"
|
|
|
|
|
2018-11-11 16:37:10 +00:00
|
|
|
FILES_${PN} += "\
|
|
|
|
${datadir}/wayland-sessions/sway.desktop \
|
|
|
|
"
|
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
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
|
|
|
|