head	1.3;
access;
symbols
	pkgsrc-2026Q2:1.1.0.2
	pkgsrc-2026Q2-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2026.08.11.19.22.29;	author wiz;	state Exp;
branches;
next	1.2;
commitid	zLKoY5qD4fHrPfRG;

1.2
date	2026.07.20.17.33.35;	author kikadf;	state Exp;
branches;
next	1.1;
commitid	3RzDeZPanQPNUpOG;

1.1
date	2026.04.14.11.32.14;	author kikadf;	state Exp;
branches;
next	;
commitid	WJgleQrkTDNS2VBG;


desc
@@


1.3
log
@sway: fix build on NetBSD

linker warns about cabs* in libm
@
text
@# $NetBSD: Makefile,v 1.2 2026/07/20 17:33:35 kikadf Exp $

DISTNAME=	sway-1.12
CATEGORIES=	wayland
MASTER_SITES=	${MASTER_SITE_GITHUB:=swaywm/}

MAINTAINER=	kikadf@@NetBSD.org
HOMEPAGE=	https://swaywm.org/
COMMENT=	Tilling, i3-compatible Wayland compositor
LICENSE=	mit

USE_TOOLS+=	pkg-config

EGDIR=		${PREFIX}/share/examples/sway
OWN_DIRS+=	${PKG_SYSCONFDIR}/sway
CONF_FILES=	${EGDIR}/config ${PKG_SYSCONFDIR}/sway/config

BUILDLINK_TRANSFORM+=	rm:-Wl,--fatal-warnings

post-install:
	${INSTALL_SCRIPT} ${FILESDIR}/startsway.sh \
		${DESTDIR}${PREFIX}/bin/startsway

.include "../../devel/meson/build.mk"
.include "../../textproc/scdoc/tool.mk"
.include "../../devel/basu/buildlink3.mk"
.include "../../devel/libevdev-chunk/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../sysutils/seatd/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../wayland/wlroots/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.2
log
@
sway: update to 1.12

Sway 1.12 contains 138 changes from 50 contributors.

This release depends on wlroots 0.20.0. See the wlroots release notes.

New features
- Add support for capturing individual windows.
- Add support for HDR10 when running with the Vulkan renderer.
- Add support for new protocols: color-management-v1, color-representation-v1, xdg-toplevel-tag-v1,
  ext-workspace-v1, wl_fixes.
- Add a new --device-primaries to output color_profile to use color primaries advertised in EDID.
- Add support for keypad slide switches.

Changes
- The default configuration file now ships key bindings for playerctl.
- Sway no longer refuses to start on unsupported GPUs (e.g. NVIDIA proprietary drivers).
  Instead, it displays an informational message. The message can be disabled via
  the --unsupported-gpu CLI flag or via the SWAY_UNSUPPORTED_GPU environment variable.
  Sway's policy hasn't changed: only the consequences when starting Sway have.
- Display managers are now officially supported for Sway startup. Historically they were
  marked as unsupported (ie, issues involving login managers were rejected) due to login
  manager bugs, but we haven't seen such bugs in a while and never got around to
  re-evaluating our official policy until this release.
- The srgb output color profile now applies the piece-wise sRGB transfer function rather
  than gamma 2.2. Use gamma22 for gamma 2.2. The effective default remains unchanged (gamma 2.2).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/04/14 11:32:14 kikadf Exp $
d18 2
@


1.1
log
@
sway: new package

Sway is a tiling Wayland compositor and a drop-in replacement
for the i3 window manager for X11. It works with your existing
i3 configuration and supports most of i3's features, plus
a few extras.
Sway allows you to arrange your application windows logically,
rather than spatially. Windows are arranged into a grid by
default which maximizes the efficiency of your screen and can
be quickly manipulated using only the keyboard.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	sway-1.11
d7 1
a7 1
MAINTAINER=	dan@@alt.md
@

