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 6F4FF1581E7 for ; Sun, 21 Apr 2024 14:11:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAFF1E29E1; Sun, 21 Apr 2024 14:11:14 +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 85BE8E29CB for ; Sun, 21 Apr 2024 14:11:13 +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 D9804343511 for ; Sun, 21 Apr 2024 14:11:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41E61135F for ; Sun, 21 Apr 2024 14:11:11 +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: <1713628797.2aa08a72e7f2c8c6f0788edbd84cf515c599856b.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.5.ebuild X-VCS-Directories: gui-wm/niri/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 2aa08a72e7f2c8c6f0788edbd84cf515c599856b X-VCS-Branch: master Date: Sun, 21 Apr 2024 14:11:11 +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: 65cc89c3-7ec7-4c2c-84c3-b33b48b007b5 X-Archives-Hash: d8eac11c651aa8f4038f98080a7a97ce commit: 2aa08a72e7f2c8c6f0788edbd84cf515c599856b Author: Takuya Wakazono gmail com> AuthorDate: Sat Apr 20 15:59:57 2024 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Sat Apr 20 15:59:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2aa08a72 gui-wm/niri: add 0.1.5 Signed-off-by: Takuya Wakazono gmail.com> gui-wm/niri/Manifest | 2 ++ gui-wm/niri/niri-0.1.5.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest index 523466fc71..6fa3601ef8 100644 --- a/gui-wm/niri/Manifest +++ b/gui-wm/niri/Manifest @@ -1,2 +1,4 @@ DIST niri-0.1.4-vendored-dependencies.tar.xz 55679232 BLAKE2B d44c767730852657e75855133ef88a9fb3bdeb6b51ea49409c675c413633330406e503ff591315396a2f69cf7b1d6408086b4726941c1c79fb78a07ed5c36491 SHA512 7504e3c1a1607618ff2a224df32f230ab98299100de004a23e7828c611f06e24fe4f6f33ec92410fa8987eedbd5d1460394e5a643de85d2d79e4acdddb7b53d8 DIST niri-0.1.4.tar.gz 272001 BLAKE2B 474ee571dbe73b837e56f8d1a5ece20ce215f3419d0a0e71afed81412b1ab8509868af70872310f2d6e739f79d7d2146c42819e5166a615fe78fedc94bb1bf6a SHA512 3056c00c8935dcd80917feb874b21c2ab808dfaf364a0f33026a03506b1c578364bffb3fdbdb6f8adafd8753b64803e3cee5214a4f0c0558ae46905e7de51662 +DIST niri-0.1.5-vendored-dependencies.tar.xz 55701136 BLAKE2B a56907560b47958df743f5740e7cac4b0a3aa29233cac990aaa9ec48f0b16461a0459b95d7cd958cec07eda6b9d5ba4ada5e5ef533fadb084a05b3b6737c5694 SHA512 63560f4d811b18e9bdd5e14e79880c6844b45616964c72fdf87b0f1074951ec8549c199271297a51596b20c4d4c4b058cee5c59c5ab6339af1a3b5615976ab9f +DIST niri-0.1.5.tar.gz 293845 BLAKE2B deeea09391acaa5b576b230bf726cc5eb156ab918fe725929d9fbfbdcee273cd9790b2bf2b0ea1e85af405d1298d9c9a637c200c5297d3f002a58cb435d3308d SHA512 ff66e5671bc48cf6bb679d898f597839808def84773a288ad7b2a58f55f9f9e78a92b66581f391e03e0416e9a0fa7ab9ef5fce10788a88bf055ad597f5dc44da diff --git a/gui-wm/niri/niri-0.1.5.ebuild b/gui-wm/niri/niri-0.1.5.ebuild new file mode 100644 index 0000000000..fd417fb097 --- /dev/null +++ b/gui-wm/niri/niri-0.1.5.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 +}