git: 31a7e2d48b09 - main - x11-toolkits/wlinfo: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Wed, 09 Aug 2023 18:48:44 UTC
The branch main has been updated by ehaupt:

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

commit 31a7e2d48b09b5bd2c2e7233e2c755d412347354
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-08-09 18:25:15 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-08-09 18:25:15 +0000

    x11-toolkits/wlinfo: Add new port
    
    Wlinfo queries Wayland for information about physical displays connected
    to the system. It can print information about the physical dimensions of
    such displays, and screen resolution, and display scaling
    characteristics.
---
 x11-toolkits/Makefile         |  1 +
 x11-toolkits/wlinfo/Makefile  | 23 +++++++++++++++++++++++
 x11-toolkits/wlinfo/distinfo  |  3 +++
 x11-toolkits/wlinfo/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 38bbd9d4651d..b3ca3177b521 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -228,6 +228,7 @@
     SUBDIR += viewklass
     SUBDIR += vte
     SUBDIR += vte3
+    SUBDIR += wlinfo
     SUBDIR += wlroots
     SUBDIR += wlroots-devel
     SUBDIR += wlroots015
diff --git a/x11-toolkits/wlinfo/Makefile b/x11-toolkits/wlinfo/Makefile
new file mode 100644
index 000000000000..a1f2a66f0e0b
--- /dev/null
+++ b/x11-toolkits/wlinfo/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	wlinfo
+DISTVERSIONPREFIX=	v
+DISTVERSION=	g20171028
+CATEGORIES=	x11-toolkits
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Window information utility for Wayland
+WWW=		https://github.com/eklitzke/wlinfo
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libwayland-client.so:graphics/wayland
+
+USES=		autoreconf localbase pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	eklitzke
+GH_TAGNAME=	c394f92
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/wlinfo
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/wlinfo/distinfo b/x11-toolkits/wlinfo/distinfo
new file mode 100644
index 000000000000..e5d4e83e96b8
--- /dev/null
+++ b/x11-toolkits/wlinfo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691605136
+SHA256 (eklitzke-wlinfo-vg20171028-c394f92_GH0.tar.gz) = 4ea68fb1c1a209be121d694570f518beab13c3cff98558f082d9fb1c7b24cc42
+SIZE (eklitzke-wlinfo-vg20171028-c394f92_GH0.tar.gz) = 3459
diff --git a/x11-toolkits/wlinfo/pkg-descr b/x11-toolkits/wlinfo/pkg-descr
new file mode 100644
index 000000000000..fc80dfdb0d30
--- /dev/null
+++ b/x11-toolkits/wlinfo/pkg-descr
@@ -0,0 +1,4 @@
+Wlinfo queries Wayland for information about physical displays connected
+to the system. It can print information about the physical dimensions of
+such displays, and screen resolution, and display scaling
+characteristics.