public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rahul Sandhu" <rahul@sandhuservices.dev>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/swayfx/
Date: Wed, 21 Dec 2022 21:18:50 +0000 (UTC)	[thread overview]
Message-ID: <1671657488.ac725bd55ef2ca02f94054cf6e2a2464292f8045.rahul@gentoo> (raw)

commit:     ac725bd55ef2ca02f94054cf6e2a2464292f8045
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Wed Dec 21 21:18:08 2022 +0000
Commit:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
CommitDate: Wed Dec 21 21:18:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac725bd5

gui-wm/swayfx: new package, add 0.1

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

 gui-wm/swayfx/Manifest          |   1 +
 gui-wm/swayfx/metadata.xml      |  42 +++++++++++++++++
 gui-wm/swayfx/swayfx-0.1.ebuild | 101 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 144 insertions(+)

diff --git a/gui-wm/swayfx/Manifest b/gui-wm/swayfx/Manifest
new file mode 100755
index 000000000..e93c3f34d
--- /dev/null
+++ b/gui-wm/swayfx/Manifest
@@ -0,0 +1 @@
+DIST 0.1.tar.gz 5514855 BLAKE2B 57be3ab5b66cb71a826ed6d7cd2dc70cc415f0f207420aa2b545f63ccfca5f7504d6a44554ff7e8000b35797540e52043902a5d6264cf1f8290a34e9876ef372 SHA512 9dd17d3628d59c2d2de521c26a3d49780fb95acd18b886dd7f515e210c0f876b51b37e83119ed082aa1fc28ae4631ae794cd81d20516ba77566639b2ba49e9fb

diff --git a/gui-wm/swayfx/metadata.xml b/gui-wm/swayfx/metadata.xml
new file mode 100755
index 000000000..6f223e474
--- /dev/null
+++ b/gui-wm/swayfx/metadata.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>rahul@sandhuservices.dev</email>
+		<name>Rahul Sandhu</name>
+	</maintainer>
+	<longdescription lang="en">
+		"SirCmpwn's Wayland window manager" is an i3-compatible window manager
+		for Wayland.
+
+		sway was created to fill the need of an i3-like window manager for
+		Wayland. The upstream i3 developers have no intention of porting i3 to
+		Wayland, and projects proposed by others ended up as vaporware. Many
+		thanks to the i3 folks for providing such a great piece of software, so
+		good that your users would rather write an entirely new window manager
+		from scratch that behaved *exactly* like i3 rather than switch to
+		something else. Swayfx is a fork intending to bring more effects to sway.
+	</longdescription>
+	<use>
+		<flag name="grimshot">Install 'grimshot': script for taking screenshots</flag>
+		<flag name="swaybar">Install 'swaybar': sway's status bar component</flag>
+		<flag name="swaybg">Install 'swaybg': allows to set a desktop background image</flag>
+		<flag name="swayidle">Install 'swayidle': idle manager to run commands when user is inactive</flag>
+		<flag name="swaylock">Install 'swaylock': sway's screen locker</flag>
+		<flag name="swaymsg">Install 'swaymsg': tool for communicating with a running sway instance</flag>
+		<flag name="swaynag">Install 'swaynag': shows a message with buttons</flag>
+		<flag name="tray">Enable support for StatusNotifierItem tray specification</flag>
+		<flag name="wallpapers">Install sway's default wallpaper image</flag>
+		<flag name="X">Enable support for X11 applications (XWayland)</flag>
+	</use>
+	<upstream>
+		<remote-id type="github">swaywm/sway</remote-id>
+		<maintainer status="active">
+			<email>sir@cmpwn.com</email>
+			<name>Drew DeVault</name>
+		</maintainer>
+		<bugs-to>https://github.com/swaywm/sway/issues</bugs-to>
+		<doc>https://github.com/swaywm/sway/wiki</doc>
+		<changelog>https://github.com/swaywm/sway/releases</changelog>
+	</upstream>
+</pkgmetadata>

diff --git a/gui-wm/swayfx/swayfx-0.1.ebuild b/gui-wm/swayfx/swayfx-0.1.ebuild
new file mode 100755
index 000000000..ac081a87a
--- /dev/null
+++ b/gui-wm/swayfx/swayfx-0.1.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.6.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.15:=[X?]
+	<gui-libs/wlroots-0.16:=[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:[~2022-12-21 21:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21 21:18 Rahul Sandhu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-21 21:23 [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/swayfx/ Rahul Sandhu
2022-12-22 10:05 Rahul Sandhu
2023-04-16  8:48 Rahul Sandhu
2023-04-16  8:56 Rahul Sandhu
2023-04-17 22:16 Rahul Sandhu
2023-05-27  2:00 Rahul Sandhu
2023-05-27  2:04 Rahul Sandhu
2023-05-27  2:07 Rahul Sandhu
2023-05-27  2:24 Rahul Sandhu
2024-04-21  3:49 Joshua Clifton
2024-04-21 16:58 Joshua Clifton
2024-04-21 16:58 Joshua Clifton
2024-05-05 19:03 Julien Roy
2024-05-05 21:56 Joshua Clifton
2024-05-05 21:56 Joshua Clifton
2024-05-25 19:59 Joshua Clifton
2024-05-26 14:33 Theo Donacik
2024-08-17  6:42 Takuya Wakazono
2024-08-31 14:13 Takuya Wakazono
2025-02-11 22:21 Theo Donacik
2025-03-03 17:58 Theo Donacik

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=1671657488.ac725bd55ef2ca02f94054cf6e2a2464292f8045.rahul@gentoo \
    --to=rahul@sandhuservices.dev \
    --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