diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index b3ac2ba4517b..db96e49cef79 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -1,49 +1,52 @@ PORTNAME= xdg-desktop-portal-wlr DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 CATEGORIES= x11 wayland +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 32b009a12aa5.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/308 + MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for wlroots WWW= https://github.com/emersion/xdg-desktop-portal-wlr LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libinih.so:devel/inih \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libpipewire-0.3.so:multimedia/pipewire RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ grim:x11/grim \ slurp:x11/slurp USES= compiler:c11 gl meson pkgconfig USE_GITHUB= yes USE_GL= gbm GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu -Dsystemd=disabled PLIST_FILES= libexec/${PORTNAME} \ share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \ share/xdg-desktop-portal/portals/wlr.portal # XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man5/${PORTNAME}.5.gz post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.5.scd .include diff --git a/x11/xdg-desktop-portal-wlr/distinfo b/x11/xdg-desktop-portal-wlr/distinfo index a1a59af3de32..30a4fa05c409 100644 --- a/x11/xdg-desktop-portal-wlr/distinfo +++ b/x11/xdg-desktop-portal-wlr/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1706561072 SHA256 (emersion-xdg-desktop-portal-wlr-v0.7.1_GH0.tar.gz) = 4bddc236aa9d1a2b33e7f0bef09a8712ded51e8bc335a2b6c8cd1d088863e676 SIZE (emersion-xdg-desktop-portal-wlr-v0.7.1_GH0.tar.gz) = 38678 +SHA256 (32b009a12aa5.patch) = 64646ad63dd19933ec8fbd7a1a4b342a54dec4fd8a46e2bae69cb56b13e146f1 +SIZE (32b009a12aa5.patch) = 1173