aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-08-17 01:22:52 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-08-17 02:11:33 +0000
commit5103b3c3077d508f8d11d0de190ee849e628c9b5 (patch)
treefb5f38cb73fa5070c211413ff5d3c25d43348594
parentb882ad943453b56eab0b5b2227e241b46c622988 (diff)
downloadports-5103b3c3077d508f8d11d0de190ee849e628c9b5.tar.gz
ports-5103b3c3077d508f8d11d0de190ee849e628c9b5.zip
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). (cherry picked from commit e8ede160c06ff6f5c757ce4f31ea5e23bd1a2f1f)
-rw-r--r--x11/xdg-desktop-portal-wlr/Makefile8
1 files 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