mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
sway: update to 1.5.1
This commit is contained in:
parent
9ff89b2cab
commit
3205aa7ecb
2 changed files with 10 additions and 11 deletions
6
srcpkgs/sway/INSTALL.msg
Normal file
6
srcpkgs/sway/INSTALL.msg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Setting the SUID bit after install has been retired for all Wayland
|
||||||
|
compositors. It is recommended that users use a session management daemon
|
||||||
|
such as elogind or seatd and do not rely on compositors dropping privileges.
|
||||||
|
|
||||||
|
All users who require this functionality will need to set the SUID bit manually
|
||||||
|
after each update going forward.
|
|
@ -1,21 +1,19 @@
|
||||||
# Template file for 'sway'
|
# Template file for 'sway'
|
||||||
pkgname=sway
|
pkgname=sway
|
||||||
version=1.5
|
version=1.5.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
conf_files="/etc/sway/config"
|
conf_files="/etc/sway/config"
|
||||||
hostmakedepends="pkg-config wayland-devel scdoc git"
|
hostmakedepends="pkg-config wayland-devel scdoc git"
|
||||||
makedepends="wlroots-devel pcre-devel json-c-devel pango-devel cairo-devel
|
makedepends="wlroots-devel pcre-devel json-c-devel pango-devel cairo-devel
|
||||||
gdk-pixbuf-devel"
|
gdk-pixbuf-devel"
|
||||||
depends="swaybg xorg-server-xwayland $(vopt_if elogind elogind)"
|
depends="swaybg xorg-server-xwayland"
|
||||||
short_desc="Tiling Wayland compositor compatible with i3"
|
short_desc="Tiling Wayland compositor compatible with i3"
|
||||||
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
maintainer="Érico Nogueira <ericonr@disroot.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=c80644774d612d7d377093d4990061d36c36673862c06318a7b0e37fa47b0178
|
checksum=095f983c9a5f80d761bc2fb19df8166839b9290124ccd47f3e74119a1335490f
|
||||||
|
|
||||||
build_options="elogind"
|
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
vsed -e 's/werror=true/werror=false/g' -i meson.build
|
vsed -e 's/werror=true/werror=false/g' -i meson.build
|
||||||
|
@ -23,10 +21,6 @@ post_patch() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
if [ -z "$build_option_elogind" ]; then
|
|
||||||
# must be setuid without logind!
|
|
||||||
chmod u+s ${DESTDIR}/usr/bin/sway
|
|
||||||
fi
|
|
||||||
vbin contrib/grimshot
|
vbin contrib/grimshot
|
||||||
vman contrib/grimshot.1
|
vman contrib/grimshot.1
|
||||||
}
|
}
|
||||||
|
@ -34,7 +28,6 @@ post_install() {
|
||||||
grimshot_package() {
|
grimshot_package() {
|
||||||
short_desc="Helper for screenshots within sway"
|
short_desc="Helper for screenshots within sway"
|
||||||
depends="grim slurp sway wl-clipboard jq libnotify"
|
depends="grim slurp sway wl-clipboard jq libnotify"
|
||||||
archs="noarch"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/grimshot
|
vmove usr/bin/grimshot
|
||||||
vmove usr/share/man/man1/grimshot.1
|
vmove usr/share/man/man1/grimshot.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue