diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template index 271534ada21..e998f70b04f 100644 --- a/srcpkgs/sway/template +++ b/srcpkgs/sway/template @@ -1,23 +1,20 @@ # Template file for 'sway' pkgname=sway -version=0.15.2 +version=1.0 revision=1 -build_style=cmake -configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc" -hostmakedepends="asciidoc pkg-config wayland-devel" -makedepends="gdk-pixbuf-devel json-c-devel libcap-devel pam-devel pango-devel - wlc-devel" -conf_files="/etc/sway/config /etc/pam.d/swaylock" -short_desc="An i3-compatible window manager for Wayland" +build_style=meson +conf_files="/etc/sway/config" +hostmakedepends="pkg-config wayland-devel scdoc git" +makedepends="wlroots-devel wayland-devel wayland-protocols pcre-devel + json-c-devel pango-devel cairo-devel gdk-pixbuf-devel" +depends="xorg-server-xwayland" +short_desc="Tiling Wayland compositor compatible with i3" maintainer="Juan RP " license="MIT" -homepage="http://swaywm.org" -distfiles="https://github.com/SirCmpwn/sway/archive/${version}.tar.gz" -checksum=05526e3038d2a5490a64bd816f1f04d2a6c214ddc6182835312b273b40b737ae +homepage="https://swaywm.org" +distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz" +checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56 -pre_configure() { - sed -i CMakeLists.txt -e "s;-Werror;-Wno-error;" -} post_install() { vlicense LICENSE # must be setuid without logind!