summaryrefslogtreecommitdiff
path: root/x11/xdg-desktop-portal-hyprland/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xdg-desktop-portal-hyprland/Makefile')
-rw-r--r--x11/xdg-desktop-portal-hyprland/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 2ec32885f1f6..e5a41887a0b0 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -1,17 +1,17 @@
PORTNAME= xdg-desktop-portal-hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.9
-PORTREVISION= 5
+DISTVERSION= 1.3.10
CATEGORIES= x11 wayland
-MAINTAINER= jbeich@FreeBSD.org
+MAINTAINER= tagattie@FreeBSD.org
COMMENT= xdg-desktop-portal backend for hyprland
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= hyprwayland-scanner>=0.4.2:devel/hyprwayland-scanner \
+BUILD_DEPENDS= hyprland-protocols>0:graphics/hyprland-protocols \
+ hyprwayland-scanner>=0.4.2:devel/hyprwayland-scanner \
wayland-protocols>=1.33:graphics/wayland-protocols
LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprutils.so:devel/hyprutils \
@@ -24,16 +24,27 @@ RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \
slurp:x11/slurp
USES= cmake compiler:c++11-lib gl pkgconfig qt:6
+
USE_GITHUB= yes
+GH_ACCOUNT= hyprwm
+
USE_GL= gbm
USE_QT= base wayland:run
-GH_ACCOUNT= hyprwm
-GH_TUPLE= hyprwm:hyprland-protocols:v0.2:hyprland_protocols/subprojects/hyprland-protocols
+
LDFLAGS+= -Wl,--as-needed # GL, sdbus-cpp deps
+
PLIST_FILES= bin/hyprland-share-picker \
lib/systemd/user/${PORTNAME}.service \
libexec/${PORTNAME} \
share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \
share/xdg-desktop-portal/portals/hyprland.portal
+PORTDOCS= CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>