summaryrefslogtreecommitdiff
path: root/x11/xdg-desktop-portal-hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xdg-desktop-portal-hyprland')
-rw-r--r--x11/xdg-desktop-portal-hyprland/Makefile23
-rw-r--r--x11/xdg-desktop-portal-hyprland/distinfo8
2 files changed, 20 insertions, 11 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>
diff --git a/x11/xdg-desktop-portal-hyprland/distinfo b/x11/xdg-desktop-portal-hyprland/distinfo
index 4251e305be29..8c50ca16b423 100644
--- a/x11/xdg-desktop-portal-hyprland/distinfo
+++ b/x11/xdg-desktop-portal-hyprland/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1734569338
-SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.9_GH0.tar.gz) = 3f7d94fd408ed5e3a9b639d3dd8502e2169decc34f285e8552434da5fddf497e
-SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.9_GH0.tar.gz) = 50667
-SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
-SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
+TIMESTAMP = 1754108855
+SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.10_GH0.tar.gz) = 5f7b1d83e700ecfa702dfc4c6da1dfdc5d9b1239e8b7d8dd3986116327d84bbf
+SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.10_GH0.tar.gz) = 51498