public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/niri/
Date: Sun, 31 Mar 2024 07:34:26 +0000 (UTC)	[thread overview]
Message-ID: <1711870339.81a8df6f70efe264b3ac624fd35249b0810b99fa.pastalian46@gentoo> (raw)

commit:     81a8df6f70efe264b3ac624fd35249b0810b99fa
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 31 07:31:40 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun Mar 31 07:32:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81a8df6f

gui-wm/niri: add 0.1.4

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 gui-wm/niri/Manifest          |  2 ++
 gui-wm/niri/niri-0.1.4.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest
index ce27a8ecac..834fedf0e7 100644
--- a/gui-wm/niri/Manifest
+++ b/gui-wm/niri/Manifest
@@ -1,2 +1,4 @@
 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
+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

diff --git a/gui-wm/niri/niri-0.1.4.ebuild b/gui-wm/niri/niri-0.1.4.ebuild
new file mode 100644
index 0000000000..fd417fb097
--- /dev/null
+++ b/gui-wm/niri/niri-0.1.4.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
+}


             reply	other threads:[~2024-03-31  7:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31  7:34 Takuya Wakazono [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23 13:00 [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/niri/ Takuya Wakazono
2025-02-23 13:00 Takuya Wakazono
2025-01-13  8:54 Takuya Wakazono
2025-01-13  8:54 Takuya Wakazono
2024-11-14 11:59 Takuya Wakazono
2024-11-09 10:57 Takuya Wakazono
2024-09-15 12:45 Takuya Wakazono
2024-09-15 12:45 Takuya Wakazono
2024-08-11 10:32 Takuya Wakazono
2024-08-11 10:32 Takuya Wakazono
2024-06-29 11:03 Takuya Wakazono
2024-06-29 11:03 Takuya Wakazono
2024-05-20 12:34 Takuya Wakazono
2024-05-20 12:34 Takuya Wakazono
2024-04-20 16:07 Takuya Wakazono
2024-04-20 16:07 Takuya Wakazono
2024-03-31  7:34 Takuya Wakazono
2024-03-10  2:57 Takuya Wakazono
2024-03-10  2:57 Takuya Wakazono
2024-02-17 10:19 Takuya Wakazono
2024-02-17 10:19 Takuya Wakazono
2024-02-03 15:01 Takuya Wakazono

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711870339.81a8df6f70efe264b3ac624fd35249b0810b99fa.pastalian46@gentoo \
    --to=pastalian46@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox