From 83b3de5894548b47510afdd55dcf806b182fe7b5 Mon Sep 17 00:00:00 2001 From: sulincix Date: Thu, 30 May 2024 17:59:06 +0000 Subject: [PATCH] sway wlroots update --- gui/libs/wlroots/ympbuild | 10 +++++----- gui/wm/sway/sway.desktop | 12 ++++++++++++ gui/wm/sway/ympbuild | 16 +++++++++++----- 3 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 gui/wm/sway/sway.desktop diff --git a/gui/libs/wlroots/ympbuild b/gui/libs/wlroots/ympbuild index 729538ef..7c749d39 100644 --- a/gui/libs/wlroots/ympbuild +++ b/gui/libs/wlroots/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='wlroots' -release='2' -version='0.17.0' +release='3' +version='0.17.3' url='https://gitlab.freedesktop.org/wlroots/wlroots' description='Pluggable, composable, unopinionated modules for building a Wayland compositor' email='bayramk@gmail.com' maintainer='bk' license=('GPLv3') source=("https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$version/wlroots-$version.tar.gz") -depends=(seatd hwdata eudev libxkbcommon wayland) +depends=(seatd hwdata eudev libxkbcommon wayland xcb-util-wm) makedepends=() -md5sums=('350b9085b67fc8496c4a5228bb992c22') +sha256sums=('3c2525528ecb5cd64cf410b2d6d140d4fc28d4a5b2ee06bedab3f0154ebc50b4') group=(gui.libs) uses=() arch=('x86_64') @@ -20,7 +20,7 @@ cd $name-$version setup(){ meson setup build --prefix=/usr \ --libdir=/usr/lib64/ \ - -Dexamples=false + -Dexamples=true } build(){ diff --git a/gui/wm/sway/sway.desktop b/gui/wm/sway/sway.desktop new file mode 100644 index 00000000..0866462b --- /dev/null +++ b/gui/wm/sway/sway.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Sway +Name[en]=Sway +Comment=This session logs you into Sway +Comment[en]=This session logs in you into Sway +Exec=dbus-run-session /usr/bin/sway +TryExec=/usr/bin/sway +Icon= +Type=Application +DesktopNames=Sway +Keywords=launch;Sway;desktop;session; + diff --git a/gui/wm/sway/ympbuild b/gui/wm/sway/ympbuild index 5511092d..e2c4fa5b 100644 --- a/gui/wm/sway/ympbuild +++ b/gui/wm/sway/ympbuild @@ -1,16 +1,18 @@ #!/usr/bin/env bash name='sway' -release='1' -version='1.8' +release='2' +version='1.9' url='https://github.com/swaywm/sway' description=='i3-compatible Wayland window manager' email='aliriza.keskin@pardus.org.tr' maintainer='aliriza' license=('GPLv3') -source=("https://github.com/swaywm/sway/archive/refs/tags/$version.zip") +source=("https://github.com/swaywm/sway/archive/refs/tags/$version.zip" + "sway.desktop") depends=(wlroots json-c xorg-xwayland) makedepends=() -md5sums=('eaf1d5929dc3587c7345d2b8fd362c0a') +sha256sums=('ee978ecb92d10ea799d746e9e73df7cd1b8138aed5361d55abfc6f59d82587f4' + 'SKIP') group=(gui.wm) uses=() arch=('x86_64') @@ -19,7 +21,9 @@ cd $name-$version setup(){ meson setup build --prefix=/usr \ - --libdir=/usr/lib64/ -D werror=false + --libdir=/usr/lib64/ \ + -Dwerror=true \ + -Dtray=enabled } build(){ @@ -28,5 +32,7 @@ build(){ package(){ ninja -C build install + install -D -m644 ../sway.desktop \ + -t "$DESTDIR"/usr/share/wayland-sessions/ }