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 993FA15802E for ; Sat, 29 Jun 2024 11:03:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C513FE2B94; Sat, 29 Jun 2024 11:03:43 +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 9F16FE2B94 for ; Sat, 29 Jun 2024 11:03:43 +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 91D7033BE4D for ; Sat, 29 Jun 2024 11:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F30FA1BC0 for ; Sat, 29 Jun 2024 11:03:40 +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: <1719658883.0eb8efa7d97926e835692cdb8305f81d3f649700.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.7.ebuild X-VCS-Directories: gui-wm/niri/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: 0eb8efa7d97926e835692cdb8305f81d3f649700 X-VCS-Branch: dev Date: Sat, 29 Jun 2024 11:03:40 +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: 4b4b20a6-ab7f-41ac-a3a6-a60553d35c53 X-Archives-Hash: 91b14f0aa4a8f3b38e829da8632fb273 commit: 0eb8efa7d97926e835692cdb8305f81d3f649700 Author: Takuya Wakazono gmail com> AuthorDate: Sat Jun 29 11:00:46 2024 +0000 Commit: Takuya Wakazono gmail com> CommitDate: Sat Jun 29 11:01:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0eb8efa7 gui-wm/niri: add 0.1.7 Signed-off-by: Takuya Wakazono gmail.com> gui-wm/niri/Manifest | 2 ++ gui-wm/niri/niri-0.1.7.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest index a4fd5bb86..9758a8307 100644 --- a/gui-wm/niri/Manifest +++ b/gui-wm/niri/Manifest @@ -1,2 +1,4 @@ DIST niri-0.1.6-vendored-dependencies.tar.xz 55357156 BLAKE2B 6be7227ebb856d501e1bc7eb94746ab21ac8171b060a0375f956fc774d73372e3e33f218ba8ba1728687c01d0a3ba770250ba0b0d762ef4ad3dd729a581b555f SHA512 2368a8d7feb06e02b41174e8baff28324da5ebc9f7fec58e5662245730f357cc1ec68d5c19d2923c5c86cba27ee60fc8190f10ae67856b42ead02543445bfe08 DIST niri-0.1.6.tar.gz 335427 BLAKE2B 17ab734d3412b4da4e0eca7a3dcbbb7210140ef9ae7a6d4bcd9ca7177128073c9385a59776ab2903e4ac70e158a5860c310519f0b5768721bbee483bad9ad0f4 SHA512 ed83a62552e3a7b049ec03aff2e8e191eb383584f1789f15fe94cce8df847a0de7b3917bd5b64fa1c8e6392de52bb81caa92472a3e40df97ac1b5562b881dca2 +DIST niri-0.1.7-vendored-dependencies.tar.xz 55986496 BLAKE2B 86d7a3ddce3884831874cfac0540d6e5e8dccb9fe503f3d9b061af22f4a29e4f4742e150081fffff139b69961b19f3d8bcb4b2dd4bba5fb0ef955dca0a165df7 SHA512 bc58c234760c42034628c273c428d2200affdd4076cdd2e2a6961fa07aa256832e0a20c3cbc6116f4af29c452a1a82f29a871ccf718a8bbb121a3b544c09d320 +DIST niri-0.1.7.tar.gz 354660 BLAKE2B 5d547424248d547587f0ec1e647f1265f334e49b8a1dc3d133b43707c7789ce12c5e18e9e42de87fa897e71332353a313af791574ac2e002d39b6c5c6b2441f8 SHA512 cd1067dc0a2a11920b33af8e13823147d7a0e7a206cf9ff94a0c410c8414c6c70db0c21d1a08d0e0935edf04e12e3fba5e748ac8f430c7bc63e6d6b84c2141dd diff --git a/gui-wm/niri/niri-0.1.7.ebuild b/gui-wm/niri/niri-0.1.7.ebuild new file mode 100644 index 000000000..fd417fb09 --- /dev/null +++ b/gui-wm/niri/niri-0.1.7.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 +}