git: f0fb771fba55 - main - x11/swayfloatingswitcher: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 31 Dec 2021 17:17:26 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0fb771fba55c5914e7e116a0d0da4f88b742ce3

commit f0fb771fba55c5914e7e116a0d0da4f88b742ce3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-08 18:13:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-31 17:16:30 +0000

    x11/swayfloatingswitcher: add new port
    
    A simple daemon for switching between floating windows with Alt+Tab.
    
    https://github.com/ErikReider/SwayFloatingSwitcher
---
 x11/Makefile                       |  1 +
 x11/swayfloatingswitcher/Makefile  | 26 ++++++++++++++++++++++++++
 x11/swayfloatingswitcher/distinfo  |  3 +++
 x11/swayfloatingswitcher/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 015bcb24c763..a6ffc979ccd1 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -348,6 +348,7 @@
     SUBDIR += swarp
     SUBDIR += sway-audio-idle-inhibit
     SUBDIR += swaybg
+    SUBDIR += swayfloatingswitcher
     SUBDIR += swayidle
     SUBDIR += swaylock
     SUBDIR += swaylock-effects
diff --git a/x11/swayfloatingswitcher/Makefile b/x11/swayfloatingswitcher/Makefile
new file mode 100644
index 000000000000..e5845b2a198f
--- /dev/null
+++ b/x11/swayfloatingswitcher/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	swayfloatingswitcher
+PORTVERSION=	s20211208
+CATEGORIES=	x11
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Simple Alt+Tab switcher for floating windows
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	valac:lang/vala \
+		granite>0:x11-toolkits/granite
+LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib \
+		libgee-0.8.so:devel/libgee \
+		libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
+
+USES=		gnome localbase:ldflags meson pkgconfig
+USE_GITHUB=	yes
+USE_GNOME=	gtk30
+GH_ACCOUNT=	ErikReider
+GH_PROJECT=	SwayFloatingSwitcher
+GH_TAGNAME=	4f02259
+PLIST_FILES=	bin/${PORTNAME} \
+		bin/${PORTNAME}-client
+
+.include <bsd.port.mk>
diff --git a/x11/swayfloatingswitcher/distinfo b/x11/swayfloatingswitcher/distinfo
new file mode 100644
index 000000000000..167124ceec2c
--- /dev/null
+++ b/x11/swayfloatingswitcher/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1638987216
+SHA256 (ErikReider-SwayFloatingSwitcher-s20211208-4f02259_GH0.tar.gz) = d6a0748be762e227ad96b1b97a3c456031203a2bc5ac95f2aafc3fa0f64c5f23
+SIZE (ErikReider-SwayFloatingSwitcher-s20211208-4f02259_GH0.tar.gz) = 32444
diff --git a/x11/swayfloatingswitcher/pkg-descr b/x11/swayfloatingswitcher/pkg-descr
new file mode 100644
index 000000000000..07977f8adddd
--- /dev/null
+++ b/x11/swayfloatingswitcher/pkg-descr
@@ -0,0 +1,3 @@
+A simple daemon for switching between floating windows with Alt+Tab.
+
+WWW: https://github.com/ErikReider/SwayFloatingSwitcher