public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-wm/niri/
Date: Tue, 13 Aug 2024 00:32:13 +0000 (UTC)	[thread overview]
Message-ID: <1723372292.7d3b25041149800a5d147c1d51f0194409e20f2c.watermanpaint@gentoo> (raw)

commit:     7d3b25041149800a5d147c1d51f0194409e20f2c
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Aug 11 09:52:54 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Aug 11 10:31:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d3b2504

gui-wm/niri: add 0.1.8

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

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

diff --git a/gui-wm/niri/Manifest b/gui-wm/niri/Manifest
index f744d1d2a..45eaee10a 100644
--- a/gui-wm/niri/Manifest
+++ b/gui-wm/niri/Manifest
@@ -1,2 +1,4 @@
 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
+DIST niri-0.1.8-vendored-dependencies.tar.xz 52394124 BLAKE2B 67f706016335bd79641c188006bda75e8b7ca9203b1bb4d37b6f771f877c734da6fead95304655e428b2ab2c17342377af8e41258b036ed68eb58f094c79a186 SHA512 f29f17504da45d406c7411a17bcce8c3a8e056f16f46044ffe5ed6af79b8daee9cbdbd84257b480f4311fc3efe49814c6bbe45dfd1e32325fdcc75c99dd27607
+DIST niri-0.1.8.tar.gz 379816 BLAKE2B 3558f2664148bd255b592c5809ee26db459f2f70d58686b62c96ca4bcb4d7ea7651e737fda1bcc27fe095269db235aa8ed2fc719aef62ed4ce69c7883a04e054 SHA512 191e9a781a1d193cc49e3609bfb00a4915e74526ba9d4db8e091e49b515b8b7fc9292706b0cb0bb23321629a92f9ba624a0b13b80827e126ed487ffb780ad963

diff --git a/gui-wm/niri/niri-0.1.8.ebuild b/gui-wm/niri/niri-0.1.8.ebuild
new file mode 100644
index 000000000..bb9267693
--- /dev/null
+++ b/gui-wm/niri/niri-0.1.8.ebuild
@@ -0,0 +1,82 @@
+# 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 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-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.77.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
+	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
+}


             reply	other threads:[~2024-08-13  0:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-13  0:32 Lucio Sauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15 21:45 [gentoo-commits] repo/proj/guru:master commit in: gui-wm/niri/ Julien Roy
2024-09-15 21:45 Julien Roy
2024-08-13  0:32 Lucio Sauer
2024-04-21 14:11 Haelwenn Monnier
2024-04-21 14:11 Haelwenn Monnier
2024-03-31 13:44 Julien Roy
2024-03-31 13:44 Julien Roy
2024-03-10 21:26 Haelwenn Monnier
2024-03-10 21:26 Haelwenn Monnier
2024-02-17 10:35 Haelwenn Monnier
2024-02-17 10:35 Haelwenn Monnier

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=1723372292.7d3b25041149800a5d147c1d51f0194409e20f2c.watermanpaint@gentoo \
    --to=watermanpaint@posteo.net \
    --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