Skip to content

Commit

Permalink
x11/xdg-desktop-portal-wlr: always depend on slurp for Screenshot portal
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Sep 8, 2023
1 parent 96146bb commit ca30f80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 2 additions & 7 deletions x11/xdg-desktop-portal-hyprland/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ LIB_DEPENDS= libbasu.so:devel/basu \
libuuid.so:misc/e2fsprogs-libuuid \
libpipewire-0.3.so:multimedia/pipewire
RUN_DEPENDS= grim:x11/grim \
hyprland-share-picker:x11/hyprland-share-picker@${FLAVOR}
hyprland-share-picker:x11/hyprland-share-picker@${FLAVOR} \
slurp:x11/slurp

FLAVORS= qt5 qt6
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6
Expand All @@ -44,12 +45,6 @@ PLIST_FILES= libexec/${PORTNAME} \
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
.endif

OPTIONS_DEFINE= SLURP
OPTIONS_DEFAULT=SLURP

SLURP_DESC= Simple output chooser
SLURP_RUN_DEPENDS= slurp:x11/slurp

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
Expand Down
10 changes: 4 additions & 6 deletions x11/xdg-desktop-portal-wlr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ LIB_DEPENDS= libbasu.so:devel/basu \
libdrm.so:graphics/libdrm \
libwayland-client.so:graphics/wayland \
libpipewire-0.3.so:multimedia/pipewire
RUN_DEPENDS= grim:x11/grim
RUN_DEPENDS= grim:x11/grim \
slurp:x11/slurp

USES= compiler:c11 gl meson pkgconfig
USE_GITHUB= yes
Expand All @@ -37,16 +38,13 @@ PLIST_FILES= libexec/${PORTNAME} \
LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim
.endif

OPTIONS_DEFINE= MANPAGES SLURP
OPTIONS_DEFAULT=MANPAGES SLURP
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES

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

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
Expand Down

0 comments on commit ca30f80

Please sign in to comment.