sway: initial commit, version 1.6.1

This commit is contained in:
Tim Biermann 2021-09-19 19:44:47 +02:00
parent ef78014286
commit bf2f2510a4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 1834 additions and 0 deletions

22
sway/.footprint Normal file
View File

@ -0,0 +1,22 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/sway/
-rw-r--r-- root/root etc/sway/config
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/sway
-rwxr-xr-x root/root usr/bin/swaybar
-rwxr-xr-x root/root usr/bin/swaymsg
-rwxr-xr-x root/root usr/bin/swaynag
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/backgrounds/
drwxr-xr-x root/root usr/share/backgrounds/sway/
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640_Portrait.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
-rw-r--r-- root/root usr/share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024_Portrait.png
drwxr-xr-x root/root usr/share/wayland-sessions/
-rw-r--r-- root/root usr/share/wayland-sessions/sway.desktop

6
sway/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33u1z3MjCG1z7DS1jJCg1FIt1Qu8sLlGMI5hiyODZi1h9qy3HhnbjRKqP1/WKPDuR9dYw2RvoRXcimzRQ0wY5QM=
SHA256 (Pkgfile) = ecf73aa92fd842cf49f3db8a0ccc9a21ce99cb8920000d1b811ed2f5461fc916
SHA256 (.footprint) = 76cf242dac27363a8a964536eda5e54f00953e79380ee493090ca249bd688920
SHA256 (sway-1.6.1.tar.gz) = 8b138867cd83217de07138144b1279fe58e0421eb10c91122aa33c8770fe7391
SHA256 (6249.patch) = b12f7ba4663ac296d1bd435bd2d514fad0639391c6639bac695eb6f590917dd2

1774
sway/6249.patch Normal file

File diff suppressed because it is too large Load Diff

32
sway/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: An i3-compatible wayland compositor.
# URL: https://swaywm.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: graphite2 json-c pango wlroots
# Optional: basu gdk-pixbuf scdoc seatd
name=sway
version=1.6.1
release=5
source=(https://github.com/swaywm/sway/archive/$version/$name-$version.tar.gz
6249.patch)
build() {
patch -Np1 -d $name-$version -i $SRC/6249.patch
prt-get isinst bash-completion || PKGMK_SWAY+=' -D bash-completions=false'
prt-get isinst zsh || PKGMK_SWAY+=' -D zsh-completions=false'
[[ -e /usr/bin/Xwayland ]] && PKGMK_SWAY+=' -D xwayland=enabled' || PKGMK_SWAY+=' -D xwayland=disabled'
meson setup $name-$version build $PKGMK_SWAY \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D tray=enabled \
-D sd-bus-provider=basu \
-D fish-completions=false \
-D werror=false
meson compile -C build
DESTDIR=$PKG meson install -C build
}