From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C00A7158013 for ; Thu, 14 Nov 2024 11:59:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFE56E0887; Thu, 14 Nov 2024 11:59:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2EFDE0887 for ; Thu, 14 Nov 2024 11:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8853341B52 for ; Thu, 14 Nov 2024 11:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18F1C1626 for ; Thu, 14 Nov 2024 11:59:35 +0000 (UTC) From: "Takuya Wakazono" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Takuya Wakazono" Message-ID: <1731585185.70708ce8a4f05e7342a63456dfca36f01ce5ba4b.pastalian46@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/niri/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-wm/niri/Manifest gui-wm/niri/niri-0.1.10.1.ebuild X-VCS-Directories: gui-wm/niri/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: 70708ce8a4f05e7342a63456dfca36f01ce5ba4b X-VCS-Branch: dev Date: Thu, 14 Nov 2024 11:59:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73eba53c-7bd8-4dab-b374-587262d9cee6 X-Archives-Hash: 5a8e53489aa3b02f711347bc433bc1dd commit: 70708ce8a4f05e7342a63456dfca36f01ce5ba4b Author: Takuya Wakazono gmail com> AuthorDate: Thu Nov 14 11:53:05 2024 +0000 Commit: Takuya Wakazono gmail com> CommitDate: Thu Nov 14 11:53:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70708ce8 gui-wm/niri: add 0.1.10.1 Signed-off-by: Takuya Wakazono gmail.com> gui-wm/niri/Manifest | 2 + gui-wm/niri/niri-0.1.10.1.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest index 51be01dfe..f1fb7a8cd 100644 --- a/gui-wm/niri/Manifest +++ b/gui-wm/niri/Manifest @@ -1,2 +1,4 @@ +DIST niri-0.1.10.1-vendored-dependencies.tar.xz 53928792 BLAKE2B 28eb1d090b12f8b324e89d807b0999161360ecc71fc2b3d2b5e7a1cdcb7313e307867f4a763a6124d4bde46c28b90fa3797d75d62fa1b20ac3ae998b69cf94cd SHA512 7ee23334de2dacfdd6e2f73b2056ed81af39abef132d423c9c6097de367f7be3e0ba1694b4818f0ee89518c0e379aafd0ece426ac97a52a5b9c96bd9532ed49e +DIST niri-0.1.10.1.tar.gz 429116 BLAKE2B 394cce3c11d19ef65d450a0e402e3c97affdff798340bb37aba90ea9b49c4cb5e7417873bd0e66bafb2ff035d71ddfca14fb91a86aa997dc23534bd1eff48035 SHA512 ba816350bad30debcb961d6c516c96a0a732621e78e08f7f04bbf3bee46cb463318a59acf532660288022a247cfcd636d59159b66fd01c1c702d58f8ddf44e6a DIST niri-0.1.9-vendored-dependencies.tar.xz 52231744 BLAKE2B c9b7a1a508f273a59219437c644bc954398277ddec772c53dc35556736244b5230ab1a0aa9e31f9b418215d634b05565e1c3331f882a6616e4036d29892a29d3 SHA512 88db732c9d2c81e4285ce0e67ef1c4778367e4ff1540b43d7922b85add199c6f2f29e03d1bc78d321f79684bd6fd0ca3b06533491a5b02cf4872e5dd661a93d2 DIST niri-0.1.9.tar.gz 409640 BLAKE2B 86caa9f2b9a468c5aef8041f902bbbd252200ab2fda4da5bf9d0997d61014b8f99336dd2b0579cf754d188ce51dfbcee0d83f413d8a10dba451c104a69f73ca0 SHA512 7436ad537b6f4e2d0b05731d94bf02594310526843083a175c061327958d7673d19ec601732969f9910c4e41b97be64a04d2a1eac3c7ec19c4d71a31fdad8d6c diff --git a/gui-wm/niri/niri-0.1.10.1.ebuild b/gui-wm/niri/niri-0.1.10.1.ebuild new file mode 100644 index 000000000..9c56000ad --- /dev/null +++ b/gui-wm/niri/niri-0.1.10.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {16..19} ) +RUST_MIN_VER="1.77.0" + +inherit llvm-r1 cargo 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 Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus screencast systemd" +REQUIRED_USE=" + screencast? ( dbus ) + systemd? ( dbus ) +" + +DEPEND=" + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/wayland + media-libs/libdisplay-info:= + media-libs/mesa + sys-auth/seatd:= + virtual/libudev:= + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + screencast? ( + media-video/pipewire:= + ) +" +RDEPEND="${DEPEND}" +# Clang is required for bindgen +BDEPEND=" + screencast? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') ) +" + +ECARGO_VENDOR="${WORKDIR}/vendor" + +QA_FLAGS_IGNORED="usr/bin/niri" + +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + +src_prepare() { + sed -i 's/git = "[^ ]*"/version = "*"/' Cargo.toml || die + default +} + +src_configure() { + local myfeatures=( + $(usev dbus) + $(usev screencast xdp-gnome-screencast) + $(usev systemd) + ) + cargo_src_configure --no-default-features +} + +src_install() { + cargo_src_install + + dobin resources/niri-session + systemd_douserunit resources/niri{.service,-shutdown.target} + + insinto /usr/share/wayland-sessions + doins resources/niri.desktop + + insinto /usr/share/xdg-desktop-portal + doins resources/niri-portals.conf +}