Skip to content

Commit

Permalink
sway: split extraneous rundeps and session into session sub-package
Browse files Browse the repository at this point in the history
**Summary**

This update splits off various runtime dependencies and the wayland-session desktop file into its own sub-package.

Resolves #4698
  • Loading branch information
JoshStrobl committed Feb 15, 2025
1 parent 4b56a38 commit e6b9576
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 20 deletions.
23 changes: 14 additions & 9 deletions packages/s/sway/package.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name : sway
version : 1.10.1
release : 33
release : 34
source :
- https://github.com/swaywm/sway/archive/refs/tags/1.10.1.tar.gz : 8565ab3b359780f02b1dcb24dc48e5b6b82c64dd97ca795782c2fb4cab62457b
license : MIT
homepage : https://swaywm.org/
component : desktop
summary : sway is an i3-compatible Wayland compositor
description: |
sway is an i3-compatible Wayland compositor.
summary :
- sway is an i3-compatible Wayland compositor
- session: sway session
description:
- sway is an i3-compatible Wayland compositor.
- session: sway session
builddeps :
- pkgconfig(cairo)
- pkgconfig(gdk-pixbuf-2.0)
Expand All @@ -20,15 +23,14 @@ builddeps :
- pkgconfig(wayland-protocols)
- pkgconfig(wlroots-0.18)
rundeps :
- session:
- alacritty
- dmenu
- xdg-desktop-portal-gtk
# TODO package brightnessctl
- alacritty
- dmenu
- grim
- pipewire
- swaybg
- swayidle
- swaylock
- xdg-desktop-portal-gtk
- xdg-desktop-portal-wlr
clang : yes
optimize : thin-lto
Expand All @@ -52,3 +54,6 @@ install : |
# Install xdg-desktop-portals configuration
install -Dm00644 $pkgfiles/sway-portals.conf -t $installdir/usr/share/xdg-desktop-portal
patterns:
- session:
- /usr/share/wayland-sessions/sway.desktop
27 changes: 16 additions & 11 deletions packages/s/sway/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
<Name>sway</Name>
<Homepage>https://swaywm.org/</Homepage>
<Packager>
<Name>David Harder</Name>
<Email>[email protected]</Email>
<Name>Joshua Strobl</Name>
<Email>[email protected]</Email>
</Packager>
<License>MIT</License>
<PartOf>desktop</PartOf>
<Summary xml:lang="en">sway is an i3-compatible Wayland compositor</Summary>
<Description xml:lang="en">sway is an i3-compatible Wayland compositor.
</Description>
<Description xml:lang="en">sway is an i3-compatible Wayland compositor.</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>sway</Name>
<Summary xml:lang="en">sway is an i3-compatible Wayland compositor</Summary>
<Description xml:lang="en">sway is an i3-compatible Wayland compositor.
</Description>
<Description xml:lang="en">sway is an i3-compatible Wayland compositor.</Description>
<PartOf>desktop</PartOf>
<Files>
<Path fileType="executable">/usr/bin/sway</Path>
Expand Down Expand Up @@ -50,19 +48,26 @@
<Path fileType="man">/usr/share/man/man5/swaynag.5</Path>
<Path fileType="man">/usr/share/man/man7/sway-ipc.7</Path>
<Path fileType="man">/usr/share/man/man7/swaybar-protocol.7</Path>
<Path fileType="data">/usr/share/wayland-sessions/sway.desktop</Path>
<Path fileType="data">/usr/share/xdg-desktop-portal/sway-portals.conf</Path>
<Path fileType="data">/usr/share/zsh/site-functions/_sway</Path>
<Path fileType="data">/usr/share/zsh/site-functions/_swaymsg</Path>
</Files>
</Package>
<Package>
<Name>sway-session</Name>
<Summary xml:lang="en">sway session</Summary>
<Description xml:lang="en">sway session</Description>
<Files>
<Path fileType="data">/usr/share/wayland-sessions/sway.desktop</Path>
</Files>
</Package>
<History>
<Update release="33">
<Date>2025-01-28</Date>
<Update release="34">
<Date>2025-02-15</Date>
<Version>1.10.1</Version>
<Comment>Packaging update</Comment>
<Name>David Harder</Name>
<Email>[email protected]</Email>
<Name>Joshua Strobl</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit e6b9576

Please sign in to comment.