19ba14bcd8
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 https://cgit.freebsd.org/src/commit/?h=releng/14.0&id=7454117918cd https://lists.freebsd.org/archives/freebsd-stable/2023-October/001533.html Old -CURRENT, -STABLE, -RELENG snapshots were never supported in ports/. This reverts commit4458b6d2d9
. This reverts commitf295903414
. This reverts commitd7c830340d
. This reverts commit572560076d
. This reverts commitf4c28b4891
. This reverts commit163928669d
. This reverts commitb8948f86c1
. This reverts commit5e70841f87
. This reverts commit600ca97fd5
.
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
PORTNAME= xdg-desktop-portal-wlr
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 wayland
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES+= 8453779cf394.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/279
|
|
|
|
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= 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= man/man5/${PORTNAME}.5.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
|
|
${WRKSRC}/${PORTNAME}.5.scd
|
|
|
|
.include <bsd.port.mk>
|