From a50b458a91a23968105d0959cbf1e32b0d9ad7ec Mon Sep 17 00:00:00 2001 From: TheK0tYaRa Date: Sun, 24 Aug 2025 20:21:15 +0300 Subject: [PATCH] gui-wm/niri-25.05.1 rdep fix --- gui-wm/niri/Manifest | 2 + gui-wm/niri/metadata.xml | 11 +++ gui-wm/niri/niri-25.05.1-r2.ebuild | 118 +++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 gui-wm/niri/Manifest create mode 100644 gui-wm/niri/metadata.xml create mode 100644 gui-wm/niri/niri-25.05.1-r2.ebuild diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest new file mode 100644 index 0000000..92920b9 --- /dev/null +++ b/gui-wm/niri/Manifest @@ -0,0 +1,2 @@ +DIST niri-25.05.1-vendored-dependencies.tar.xz 48884152 BLAKE2B 210eff27af94a01d9058b98ae4a49fd730dabf1d571b7fc5c499522de52d84afaf2a52eabdc296f80bbcdaed15740839cbd1ae4d505f279e007b977135cfa1d1 SHA512 38a1448428c3bc16c238221b70a1df406b87acf72a513ad5f0babed2ac874ac11b88580e5c6a7f69a98354e20180e8a3c0f932ea35382a0254134d57578b199b +DIST niri-25.05.1.tar.gz 716558 BLAKE2B 012c44351e6fa0e8631b3c44243da119cd03eb41a5ab81c787961df9f3456acb73c3cbb3639d620d19d8111e954797965c2a1bf4b0b3657142e3a1ab77413d7d SHA512 63f6f6e651d2a399259354f5a80fd8815c2be9c1c6b7d5038c03d89fac5966596d0da8b36d83fa7ea85b192e77e0ddfcf40ee9244a2c44cd55776a7a3f54de35 diff --git a/gui-wm/niri/metadata.xml b/gui-wm/niri/metadata.xml new file mode 100644 index 0000000..f2b3d85 --- /dev/null +++ b/gui-wm/niri/metadata.xml @@ -0,0 +1,11 @@ + + + + + pastalian46@gmail.com + Takuya Wakazono + + + YaLTeR/niri + + diff --git a/gui-wm/niri/niri-25.05.1-r2.ebuild b/gui-wm/niri/niri-25.05.1-r2.ebuild new file mode 100644 index 0000000..995226b --- /dev/null +++ b/gui-wm/niri/niri-25.05.1-r2.ebuild @@ -0,0 +1,118 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {18..20} ) +RUST_MIN_VER="1.80.1" + +# used for version string +export NIRI_BUILD_COMMIT="8ba57fc" + +inherit cargo llvm-r2 optfeature systemd + +DESCRIPTION="Scrollable-tiling Wayland compositor" +HOMEPAGE="https://github.com/YaLTeR/niri" +SRC_URI=" + https://github.com/YaLTeR/niri/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/YaLTeR/niri/releases/download/v${PV}/${P}-vendored-dependencies.tar.xz +" + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0 + Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus gnome gtk screencast systemd" +REQUIRED_USE=" + screencast? ( dbus ) + systemd? ( dbus ) +" + +DEPEND=" + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/wayland +