Date: Thu, 16 Dec 2021 18:56:52 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 76649584d335 - main - multimedia/pipewire: Fix build on FreeBSD 13- Message-ID: <202112161856.1BGIuqg0035405@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=76649584d335b4c1b4bda9ad3653bff6416c256d commit 76649584d335b4c1b4bda9ad3653bff6416c256d Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2021-12-16 18:54:37 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2021-12-16 18:56:30 +0000 multimedia/pipewire: Fix build on FreeBSD 13- PR: 260473 Reported by: jbeich --- multimedia/pipewire/Makefile | 10 +++++++++- multimedia/pipewire/pkg-plist | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile index 82193f89e995..25399def9389 100644 --- a/multimedia/pipewire/Makefile +++ b/multimedia/pipewire/Makefile @@ -65,6 +65,14 @@ MESON_ARGS= -D pw-cat=enabled \ -D pipewire-v4l2=disabled \ -D udevrulesdir="${LOCALBASE}/lib/udev/rules.d" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1400000 +PLIST_SUB+= FREEBSD14="@comment " +.else +PLIST_SUB+= FREEBSD14="" +.endif + post-extract: ${LN} -s ${WRKDIR}/media-session-${MEDIA_SESSION_VERSION} ${WRKSRC}/subprojects/media-session @@ -76,4 +84,4 @@ post-patch-MEDIASESSION-on: @${REINPLACE_CMD} '/manager_args/ s/@sm_comment@//g' \ ${WRKSRC}/src/daemon/pipewire.conf.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/multimedia/pipewire/pkg-plist b/multimedia/pipewire/pkg-plist index 99fc41673348..b8540c66bf5a 100644 --- a/multimedia/pipewire/pkg-plist +++ b/multimedia/pipewire/pkg-plist @@ -17,7 +17,7 @@ bin/pw-play bin/pw-profiler bin/pw-record bin/pw-reserve -bin/pw-top +%%FREEBSD14%%bin/pw-top %%MEDIASESSION%%bin/spa-acp-tool bin/spa-inspect bin/spa-json-dump
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112161856.1BGIuqg0035405>