mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
new package: niri 0.1.10.1
This commit is contained in:
parent
80424176ed
commit
e15332f9c6
2 changed files with 33 additions and 0 deletions
12
srcpkgs/niri/patches/remove-session.patch
Normal file
12
srcpkgs/niri/patches/remove-session.patch
Normal file
|
@ -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
srcpkgs/niri/template
Normal file
21
srcpkgs/niri/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'niri'
|
||||||
|
pkgname=niri
|
||||||
|
version=0.1.10.1
|
||||||
|
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=d8854830436a87215b0bc6a60b6d43f350d927a03a2798c75f0fbda228bac8d3
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall resources/niri.desktop 644 usr/share/wayland-sessions
|
||||||
|
vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue