public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-wm/swayfx/
Date: Sat, 27 May 2023 06:10:25 +0000 (UTC)	[thread overview]
Message-ID: <1685152805.5777162501be23a0c6210fec2abe00e4d8f80592.ceamac@gentoo> (raw)

commit:     5777162501be23a0c6210fec2abe00e4d8f80592
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sat May 27 02:00:05 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat May 27 02:00:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57771625

gui-wm/swayfx: add 0.3

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 gui-wm/swayfx/Manifest          |   1 +
 gui-wm/swayfx/metadata.xml      |  12 ++---
 gui-wm/swayfx/swayfx-0.3.ebuild | 101 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+), 6 deletions(-)

diff --git a/gui-wm/swayfx/Manifest b/gui-wm/swayfx/Manifest
index 46085d9f6..1d06f5501 100644
--- a/gui-wm/swayfx/Manifest
+++ b/gui-wm/swayfx/Manifest
@@ -1,2 +1,3 @@
 DIST 0.1.tar.gz 5514855 BLAKE2B 57be3ab5b66cb71a826ed6d7cd2dc70cc415f0f207420aa2b545f63ccfca5f7504d6a44554ff7e8000b35797540e52043902a5d6264cf1f8290a34e9876ef372 SHA512 9dd17d3628d59c2d2de521c26a3d49780fb95acd18b886dd7f515e210c0f876b51b37e83119ed082aa1fc28ae4631ae794cd81d20516ba77566639b2ba49e9fb
 DIST 0.2.tar.gz 5534158 BLAKE2B e01ac28ea24743d5fe937d953114c8316f3de27b7813f83cce0f6f76bf524f079357be810845791c4431db7e315f096411e6d7a0e2174673e4247d16e3e44bc1 SHA512 0884513a0851b19546f2cc647d8590c7d82494604028ed71b2e6fefbac7f3fff141be26e783ccc504b8da84bbed6c1e12a2194f0713c920e1cc34a6360ac318c
+DIST 0.3.tar.gz 5746551 BLAKE2B 6455416f54d9e36d33f2f17146c3f2c41ff77a154fcb49f12906c5ba5b2ced3eecb9f052423ad5916885a9e6602160a404bd9fe351272c34cc5b375656b75604 SHA512 a6054d167c9d41a6e3fe9247683267c40ac55637a565649724fad0d7caf340d8aa51ab65767a7f8becc0480eced1eb42a5c851dfc5d815a73c3ae99eb1c39572

diff --git a/gui-wm/swayfx/metadata.xml b/gui-wm/swayfx/metadata.xml
index 2d648c8b9..9fcd742b9 100644
--- a/gui-wm/swayfx/metadata.xml
+++ b/gui-wm/swayfx/metadata.xml
@@ -31,10 +31,10 @@
 	</use>
 	<upstream>
 		<remote-id type="github">WillPower3309/swayfx</remote-id>
-        <maintainer status="active">
-            <name>William McKinnon</name>
-        </maintainer>
-        <bugs-to>https://github.com/WillPower3309/swayfx/issues</bugs-to>
-        <changelog>https://github.com/WillPower3309/swayfx/releases</changelog>
-    </upstream>
+		<maintainer status="active">
+			<name>William McKinnon</name>
+		</maintainer>
+		<bugs-to>https://github.com/WillPower3309/swayfx/issues</bugs-to>
+		<changelog>https://github.com/WillPower3309/swayfx/releases</changelog>
+	</upstream>
 </pkgmetadata>

diff --git a/gui-wm/swayfx/swayfx-0.3.ebuild b/gui-wm/swayfx/swayfx-0.3.ebuild
new file mode 100644
index 000000000..422be6474
--- /dev/null
+++ b/gui-wm/swayfx/swayfx-0.3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson optfeature
+
+DESCRIPTION="i3-compatible Wayland window manager"
+HOMEPAGE="https://swaywm.org"
+
+MY_PV=${PV/_rc/-rc}
+SRC_URI="https://github.com/WillPower3309/swayfx/archive/refs/tags/${PV}.tar.gz"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="grimshot +man +swaybar +swaynag tray wallpapers X"
+
+DEPEND="
+	>=dev-libs/json-c-0.13:0=
+	>=dev-libs/libinput-1.21.0:0=
+	sys-auth/seatd:=
+	dev-libs/libpcre
+	>=dev-libs/wayland-1.20.0
+	x11-libs/cairo
+	x11-libs/libxkbcommon
+	x11-libs/pango
+	x11-libs/pixman
+	media-libs/mesa[gles2,libglvnd(+)]
+	swaybar? ( x11-libs/gdk-pixbuf:2 )
+	tray? ( || (
+		sys-apps/systemd
+		sys-auth/elogind
+		sys-libs/basu
+	) )
+	wallpapers? ( gui-apps/swaybg[gdk-pixbuf(+)] )
+	X? ( x11-libs/libxcb:0= )
+"
+DEPEND+="
+	>=gui-libs/wlroots-0.16:=[X?]
+	<gui-libs/wlroots-0.17:=[X?]
+"
+RDEPEND="
+	x11-misc/xkeyboard-config
+	grimshot? (
+		app-misc/jq
+		gui-apps/grim
+		gui-apps/slurp
+		gui-apps/wl-clipboard
+		x11-libs/libnotify
+	)
+	!!gui-wm/sway
+	${DEPEND}
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	>=dev-util/meson-0.60.0
+	virtual/pkgconfig
+"
+BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
+REQUIRED_USE="tray? ( swaybar )"
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature man man-pages)
+		$(meson_feature tray)
+		$(meson_feature X xwayland)
+		$(meson_feature swaybar gdk-pixbuf)
+		$(meson_use swaynag)
+		$(meson_use swaybar)
+		$(meson_use wallpapers default-wallpaper)
+		-Dfish-completions=true
+		-Dzsh-completions=true
+		-Dbash-completions=true
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	if use grimshot; then
+		doman contrib/grimshot.1
+		dobin contrib/grimshot
+	fi
+}
+
+pkg_postinst() {
+	optfeature_header "There are several packages that may be useful with swayfx:"
+	optfeature "wallpaper utility" gui-apps/swaybg
+	optfeature "idle management utility" gui-apps/swayidle
+	optfeature "simple screen locker" gui-apps/swaylock
+	optfeature "lightweight notification daemon" gui-apps/mako
+	echo
+	einfo "For a list of additional addons and tools usable with sway please"
+	einfo "visit the offical wiki at:"
+	einfo "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway"
+	einfo "Please note that some of them might not (yet) available on gentoo"
+}


             reply	other threads:[~2023-05-27  6:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27  6:10 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31 21:35 [gentoo-commits] repo/proj/guru:master commit in: gui-wm/swayfx/ David Roman
2024-08-17 10:16 David Roman
2024-05-25 20:22 Julien Roy
2024-05-06  9:38 Florian Schmaus
2024-05-06  9:38 Florian Schmaus
2024-05-05 19:03 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-05 19:04 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-21 21:03 Julien Roy
2024-04-21 21:03 Julien Roy
2024-04-21 14:11 Haelwenn Monnier
2023-05-27  6:10 Viorel Munteanu
2023-05-27  6:10 Viorel Munteanu
2023-05-27  6:10 Viorel Munteanu
2023-04-19  7:32 Florian Schmaus
2023-04-17  9:22 Florian Schmaus
2023-04-17  9:22 Florian Schmaus

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=1685152805.5777162501be23a0c6210fec2abe00e4d8f80592.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --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