sway: depend on elogind for elogind build option.

This commit is contained in:
travankor 2019-06-24 21:15:40 -07:00 committed by Helmut Pozimski
parent 2395bc55b3
commit c8594ac3de

View file

@ -7,14 +7,16 @@ conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc git" hostmakedepends="pkg-config wayland-devel scdoc git"
makedepends="wlroots-devel wayland-devel wayland-protocols pcre-devel makedepends="wlroots-devel wayland-devel wayland-protocols pcre-devel
json-c-devel pango-devel cairo-devel gdk-pixbuf-devel" json-c-devel pango-devel cairo-devel gdk-pixbuf-devel"
depends="xorg-server-xwayland" depends="xorg-server-xwayland $(vopt_if elogind "elogind")"
short_desc="Tiling Wayland compositor compatible with i3" short_desc="Tiling Wayland compositor compatible with i3"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://swaywm.org" homepage="https://swaywm.org"
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz" distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56 checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56
build_options="elogind" build_options="elogind"
desc_option_elogind="Uses elogind instead of setuid for privilege escalation"
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE