diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index fdce45aaebf0..50b531eff54e 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -1,38 +1,42 @@ PORTNAME= xdg-desktop-portal-wlr DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= x11 +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= ebb50839a560.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/114 + MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libiniparser.so:devel/iniparser \ libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libpipewire-0.3.so:multimedia/pipewire USES= compiler:c11 localbase:ldflags meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu 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 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= 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 b7a3f280ec97..fa96bacb297b 100644 --- a/x11/xdg-desktop-portal-wlr/distinfo +++ b/x11/xdg-desktop-portal-wlr/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1618759033 SHA256 (emersion-xdg-desktop-portal-wlr-v0.3.0_GH0.tar.gz) = 5c80469b04c4e5d22689f755d61adcf92758bc1c85f0747ae1f586b4bcd7873c SIZE (emersion-xdg-desktop-portal-wlr-v0.3.0_GH0.tar.gz) = 29340 +SHA256 (ebb50839a560.patch) = a3e6b6cdac2458395abcc30d4d2a1d19971c1671860bd8c4619ab787cea1cf3d +SIZE (ebb50839a560.patch) = 721