x11/xisxwayland: import xisxwayland-2

xisxwayland connects to the X server and exits with status code 0
if that server is Xwayland. This tool is intended to be used in
shell scripts and/or to make it easier for users to check whether
they're on a Wayland or X session.
This commit is contained in:
wiz 2022-08-29 12:21:41 +00:00
parent e9033e24b2
commit ccef834fd7
4 changed files with 30 additions and 0 deletions

4
x11/xisxwayland/DESCR Normal file
View File

@ -0,0 +1,4 @@
xisxwayland connects to the X server and exits with status code 0
if that server is Xwayland. This tool is intended to be used in
shell scripts and/or to make it easier for users to check whether
they're on a Wayland or X session.

18
x11/xisxwayland/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2022/08/29 12:21:41 wiz Exp $
DISTNAME= xisxwayland-2
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://xorg.freedesktop.org/
COMMENT= Detect if X server is Xwayland
LICENSE= mit
USE_TOOLS+= pkg-config
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"

3
x11/xisxwayland/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2022/08/29 12:21:41 wiz Exp $
bin/xisxwayland
man/man1/xisxwayland.1

5
x11/xisxwayland/distinfo Normal file
View File

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/08/29 12:21:41 wiz Exp $
BLAKE2s (xisxwayland-2.tar.xz) = 275be54b7eba0581a13d4950dd53cfa540e712fd60075c83e722242746e89422
SHA512 (xisxwayland-2.tar.xz) = b89e19c85a5cd7e62a52e22772f80f03bfea069e31412ca11ac38174c4a2994be559e9d5fb49e6d1921b3f1b06ee71b50ede48990a1e7804a96207b08fc7827f
Size (xisxwayland-2.tar.xz) = 5220 bytes