summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Danilo Spinella <danyspin97@protonmail.com> 2018-12-19 14:45:27 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2019-01-12 18:13:01 +0000
commit77766855c17fd734606efc5867b2b9a65d88b4a3 (patch)
tree4704ff113532d17e654de09ca171a9b3f85c90da
parent80feba204c8632f6f65bd133e1305d119da8af99 (diff)
downloaddesktop-77766855c17fd734606efc5867b2b9a65d88b4a3.tar.gz
desktop-77766855c17fd734606efc5867b2b9a65d88b4a3.tar.xz
sway: Add option xwayland for scm version
Install sway.desktop file.
-rw-r--r--packages/compositor/sway/sway-scm.exheres-020
1 files changed, 18 insertions, 2 deletions
diff --git a/packages/compositor/sway/sway-scm.exheres-0 b/packages/compositor/sway/sway-scm.exheres-0
index d31109c..d1bd5dc 100644
--- a/packages/compositor/sway/sway-scm.exheres-0
+++ b/packages/compositor/sway/sway-scm.exheres-0
@@ -5,6 +5,11 @@ require sway meson
PLATFORMS="~amd64"
+MYOPTIONS+="
+ xwayland [[
+ description = [ Enable XWayland support ( X11 compatibility layer ) ] ]]
+"
+
DEPENDENCIES+="
build:
app-doc/scdoc
@@ -12,14 +17,25 @@ DEPENDENCIES+="
dev-libs/json-c[>=0.13]
sys-libs/libinput[>=1.6.0]
sys-libs/wayland-protocols[>=1.14]
- sys-libs/wlroots[X]
+ sys-libs/wlroots[xwayland?][~scm]
"
MESON_SRC_CONFIGURE_PARAMS=(
- -Ddefault_wallpaper=false
+ -Ddefault-wallpaper=false
)
MESON_SRC_CONFIGURE_OPTION=(
'zsh_completion zsh_completions'
)
+MESON_SRC_CONFIGURE_OPTION_ENABLES=(
+ xwayland
+)
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/applications
+ doins sway.desktop
+}
+