From c14f2dcbe1ab5bf228c0d00cbfbf78517c9eb7ba Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 25 Dec 2017 09:38:24 -0200 Subject: [PATCH] way-cooler: update to 0.7.0. Closes: #10235 [via git-merge-pr] --- srcpkgs/way-cooler/INSTALL.msg | 6 ------ srcpkgs/way-cooler/template | 12 +++++++----- 2 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 srcpkgs/way-cooler/INSTALL.msg diff --git a/srcpkgs/way-cooler/INSTALL.msg b/srcpkgs/way-cooler/INSTALL.msg deleted file mode 100644 index afb315c790..0000000000 --- a/srcpkgs/way-cooler/INSTALL.msg +++ /dev/null @@ -1,6 +0,0 @@ -This is a wayland compositor so it needs to be run as root or, -if it is started inside Xorg and xorg-server-wayland is installed, -can be run by the user. - -A configuration example is available at /usr/share/examples/way-cooler/init.lua -This example can be copied to $XDG_CONFIG_HOME/way-cooler diff --git a/srcpkgs/way-cooler/template b/srcpkgs/way-cooler/template index 30fc168cab..b4c3ed8685 100644 --- a/srcpkgs/way-cooler/template +++ b/srcpkgs/way-cooler/template @@ -1,16 +1,16 @@ # Template file for 'way-cooler' pkgname=way-cooler -version=0.6.2 +version=0.7.0 revision=1 -hostmakedepends="pkg-config rust cargo git" -makedepends="dbus-devel glib-devel cairo-devel wayland-devel wlc-devel" -depends="lua" +hostmakedepends="pkg-config rust cargo git python3" +makedepends="dbus-devel glib-devel cairo-devel wayland-devel wlc-devel libxcb-devel gdk-pixbuf-devel + lua-devel" short_desc="Customizable Wayland compositor written in Rust with Lua API" maintainer="maxice8 " license="MIT" homepage="https://github.com/way-cooler/way-cooler" distfiles="https://github.com/way-cooler/way-cooler/archive/v${version}.tar.gz" -checksum=b0fbaa5ddb5b6ea52953d3ae8004bca8c70bf96e6081dc6c54afb6ae68a6e838 +checksum=ce324ab158326610f0e77c4c1d710ca2e5ee8396f4df4675e3f136daf6386505 nocross=yes do_build() { @@ -20,8 +20,10 @@ do_build() { do_install() { # install the binary vbin target/release/"${pkgname}" + chmod u+s "${DESTDIR}"/usr/bin/way-cooler # install the configuration on the examples + vsconf config/rc.lua vsconf config/init.lua # normally the docs would be in a separate -doc package but the end