git: e8ede160c06f - main - x11/xdg-desktop-portal-wlr: install one chooser by default
Jan Beich
jbeich at FreeBSD.org
Tue Aug 17 02:11:27 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e8ede160c06ff6f5c757ce4f31ea5e23bd1a2f1f
commit e8ede160c06ff6f5c757ce4f31ea5e23bd1a2f1f
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-08-17 01:22:52 +0000
Commit: Jan Beich <jbeich at 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 at 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
More information about the dev-commits-ports-all
mailing list