Updated Sway recipe to 1.0-beta.1 and wlroots recipe to 0.1.0

This commit is contained in:
David McKinney 2018-11-11 11:37:10 -05:00
parent e659d1d601
commit 73dbb5c900
3 changed files with 52 additions and 3 deletions

View File

@ -0,0 +1,25 @@
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
SRC_URI = "https://github.com/swaywm/sway/archive/${PV}.tar.gz \
file://config \
"
SRC_URI[md5sum] = "680ed07c0ce401af645a99e42ea459be"
SRC_URI[sha256sum] = "382955b9373219b2be6e2899a9f204383fe7ab9808ee28e56735b431bfbd81e2"
DEPENDS = "dbus cairo pango wlroots libinput libxkbcommon wayland wayland-native libpam libcap json-c libpcre gdk-pixbuf"
inherit meson
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"

View File

@ -0,0 +1,22 @@
From f5fe7f06fd90fb4472a55f708d5ed56dbc7312eb Mon Sep 17 00:00:00 2001
From: David McKinney <mckinney@subgraph>
Date: Sat, 10 Nov 2018 23:16:24 +0000
Subject: [PATCH] Reverting meson version to match what we use
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 9517168a..f75c9816 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
'c',
version: '0.1.0',
license: 'MIT',
- meson_version: '>=0.48.0',
+ meson_version: '>=0.47.1',
default_options: [
'c_std=c11',
'warning_level=2',

View File

@ -5,13 +5,15 @@ inherit meson pkgconfig
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818" LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
SRC_URI = "gitsm://github.com/swaywm/wlroots" SRC_URI = "gitsm://github.com/swaywm/wlroots \
PV = "0.1+git${SRCPV}" file://0001-Reverting-meson-version-to-match-what-we-use.patch \
"
PV = "0.1.0+git${SRCPV}"
PR = "r0" PR = "r0"
UPSTREAM_CHECK_COMMITS = "1" UPSTREAM_CHECK_COMMITS = "1"
SRCREV = "2a58d4467f83c5660bbee6733a73cc1ed92ca478" SRCREV = "be6210cf8216c08a91e085dac0ec11d0e34fb217"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"