Skip to content

Commit

Permalink
new package: niri 0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
trolljoe committed Nov 9, 2024
1 parent 8ae926b commit 222291d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions srcpkgs/niri/patches/remove-session.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
remove the niri-session, as that's a systemd-only binary. replace with niri --session which automatically adds envs.
--
--- a/resources/niri.desktop
+++ b/resources/niri.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Niri
Comment=A scrollable-tiling Wayland compositor
-Exec=niri-session
+Exec=/usr/bin/niri --session
Type=Application
DesktopNames=niri
21 changes: 21 additions & 0 deletions srcpkgs/niri/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'niri'
pkgname=niri
version=0.1.10
revision=1
build_style=cargo
configure_args="--no-default-features --features xdp-gnome-screencast"
hostmakedepends="pkg-config clang18-devel"
makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libgbm-devel
libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang18-devel"
short_desc="Scrollable-tiling Wayland compositor"
maintainer="joetroll <joetroll@proton.me>"
license="GPL-3.0-or-later"
homepage="https://github.com/YaLTeR/niri"
changelog="https://github.com/YaLTeR/niri/releases"
distfiles="https://github.com/YaLTeR/niri/archive/refs/tags/v${version}.tar.gz"
checksum=2a6e6c21b05c14498eb84e58853c0a4c9d96d4215b8aec53388e89266fccca1b

post_install() {
vinstall resources/niri.desktop 644 usr/share/wayland-sessions
vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
}

0 comments on commit 222291d

Please sign in to comment.