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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C66F0158041 for ; Sun, 10 Mar 2024 21:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82B55E2A1E; Sun, 10 Mar 2024 21:26:22 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A6CFE2A1E for ; Sun, 10 Mar 2024 21:26:21 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF79233BF28 for ; Sun, 10 Mar 2024 21:26:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C3E5151A for ; Sun, 10 Mar 2024 21:26:19 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1710039389.b685da646518c6306e87aa55a4487aaea8b9f8ea.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-wm/niri/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-wm/niri/Manifest gui-wm/niri/niri-0.1.3.ebuild X-VCS-Directories: gui-wm/niri/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: b685da646518c6306e87aa55a4487aaea8b9f8ea X-VCS-Branch: master Date: Sun, 10 Mar 2024 21:26:19 +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: baf61746-656b-4549-bbff-fe422433bf76 X-Archives-Hash: 1e87bbfb6d78a99a6be84e61d10050f3 commit: b685da646518c6306e87aa55a4487aaea8b9f8ea Author: Takuya Wakazono gmail com> AuthorDate: Sun Mar 10 02:55:02 2024 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Sun Mar 10 02:56:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b685da64 gui-wm/niri: add 0.1.3 Signed-off-by: Takuya Wakazono gmail.com> gui-wm/niri/Manifest | 2 ++ gui-wm/niri/niri-0.1.3.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest index 12f0714fd9..fb0ce2fe37 100644 --- a/gui-wm/niri/Manifest +++ b/gui-wm/niri/Manifest @@ -1,2 +1,4 @@ DIST niri-0.1.2-vendored-dependencies.tar.xz 55030364 BLAKE2B 0da4f7a94f19bf9fa8b2cad36d59c1032f34581e63aa60b4a9284d0550f4c30364ea1b6d5f84b77edc13931585fd82f2bbd5e528bc52f201aa89b2a1c53de240 SHA512 63a5b3dd3510be665a771a811f5e86929124b4b73fb728fdc0c23c73934b383a5ca3f3d91e9bcbbd4e71dcb3226dd3b817b59a11ea060c7258abb8ff87e47d87 DIST niri-0.1.2.tar.gz 206414 BLAKE2B e2883a3a2abfc1a0f4532b1b7ec2f256dca8c9f49921205d3827a42837aa5dfb0013a3092bd2558205cd6bbb299ba7ed571ecb8900869710cb1ac917d2195e53 SHA512 9ffa0d70c0045bc1fecf2e3c61a49010cdb1e2e1e304bd9fe40cf760f5c286d37949ffed49c969c17d6bf7fa7230ca7aa7c893d2eaf4cda766f452307bb36d38 +DIST niri-0.1.3-vendored-dependencies.tar.xz 55616952 BLAKE2B 8fac26737c74f819f4f3b2369a962c03de4d220088fe2288b9dd3e50077123236c959022286b15356d2cd8c25ea1ee5cc65a2bfd46635a97a13886bc242d353f SHA512 dda7b1cc94efb9257c915a5a49c669752860d67fe87154a58323eaf9d551c9e592979eaf52d3b7d1709de07cd82ddfb6e47c24bd0867789ab77136192133376f +DIST niri-0.1.3.tar.gz 231744 BLAKE2B c28bb7ef1a71f352f199cbfe3c0eab3cde4432c357e4bb16eed026e68b48215087da723f03a2484c7bb5d0e84f83444570b4b36277bcec9ab7da8e5c25a00e62 SHA512 1e00cbd6c10df2fcfcf481c93d5530b52d2687cbbe155d0cf8f370caf41d6057b902731484c3e522f0f0d6775485aa9b6d125a0aa29cdcd697861331852264dd diff --git a/gui-wm/niri/niri-0.1.3.ebuild b/gui-wm/niri/niri-0.1.3.ebuild new file mode 100644 index 0000000000..2bf13ce10f --- /dev/null +++ b/gui-wm/niri/niri-0.1.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {16..18} ) + +inherit cargo llvm-r1 + +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-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/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=" + >=virtual/rust-1.72.0 + screencast? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') ) +" + +ECARGO_VENDOR="${WORKDIR}/vendor" + +QA_FLAGS_IGNORED="usr/bin/niri" + +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 + + insinto /usr/lib/systemd/user + doins 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 +}