Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2021 02:11:26 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e8ede160c06f - main - x11/xdg-desktop-portal-wlr: install one chooser by default
Message-ID:  <202108170211.17H2BQ1P047454@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit e8ede160c06ff6f5c757ce4f31ea5e23bd1a2f1f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-17 01:22:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-17 02:10:42 +0000

    x11/xdg-desktop-portal-wlr: install one chooser by default
    
    Makes it work out-of-the-box with PipeWire-based consumers.
    xdpw tries slurp -> wofi -> bemenu by default. However, a lot
    of alternatives exist for wofi/bemenu e.g., fuzzel, rofi-wayland,
    dmenu-wayland, nwgdmenu (from nwg-launchers).
---
 x11/xdg-desktop-portal-wlr/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile
index 034de13b2991..ffd934db9e4c 100644
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	xdg-desktop-portal-wlr
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -24,13 +25,16 @@ PLIST_FILES=	libexec/${PORTNAME} \
 		share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \
 		share/xdg-desktop-portal/portals/wlr.portal
 
-OPTIONS_DEFINE=	MANPAGES
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFINE=	MANPAGES SLURP
+OPTIONS_DEFAULT=MANPAGES SLURP
 
 MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
 MANPAGES_PLIST_FILES=	man/man5/${PORTNAME}.5.gz
 
+SLURP_DESC=		Simple output chooser
+SLURP_RUN_DEPENDS=	slurp:x11/slurp
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
 		${WRKSRC}/${PORTNAME}.5.scd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108170211.17H2BQ1P047454>