2018-11-11 11:37:10 -05:00
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
|
|
|
|
2019-04-14 09:59:01 -04:00
|
|
|
SRCREV = "bcde298a719f60b9913133dbd2a169dedbc8dd7d"
|
2018-11-11 11:37:10 -05:00
|
|
|
|
2019-04-14 09:59:01 -04:00
|
|
|
PV = "1.0+git${SRCPV}"
|
2018-11-11 11:37:10 -05:00
|
|
|
|
2019-04-14 09:59:01 -04:00
|
|
|
S = "${WORKDIR}/git"
|
2019-04-14 11:57:19 -04:00
|
|
|
SRC_URI = "git://github.com/swaywm/sway;protocol=https \
|
2019-04-14 09:59:01 -04:00
|
|
|
file://config \
|
|
|
|
"
|
|
|
|
|
|
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
2018-11-11 11:37:10 -05:00
|
|
|
|
|
|
|
inherit meson
|
|
|
|
|
2019-04-14 09:59:01 -04:00
|
|
|
DEPENDS = "dbus cairo pango wlroots libinput libxkbcommon wayland wayland-native libpam libcap json-c libpcre gdk-pixbuf"
|
|
|
|
|
2018-11-11 11:37:10 -05: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 09:59:01 -04:00
|
|
|
|