git: 37077982c4c2 - main - multimedia/pipewire: Add PIPEWIRE_JACK option.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 07:58:10 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=37077982c4c244cddcb8afa5a3919bc32ff4e422 commit 37077982c4c244cddcb8afa5a3919bc32ff4e422 Author: Yuri Victorovich <yuri@freebsd.org> AuthorDate: 2022-01-26 07:50:43 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-01-26 07:58:04 +0000 multimedia/pipewire: Add PIPEWIRE_JACK option. PR: 261416 --- multimedia/pipewire/Makefile | 18 ++++++++++++++---- multimedia/pipewire/pkg-plist | 10 ++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile index a732dc9f501d..83fea5e77222 100644 --- a/multimedia/pipewire/Makefile +++ b/multimedia/pipewire/Makefile @@ -1,5 +1,6 @@ PORTNAME= pipewire DISTVERSION= 0.3.43 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${MEDIA_SESSION_VERSION}/:media_session DISTFILES= media-session-${MEDIA_SESSION_VERSION}${EXTRACT_SUFX}:media_session @@ -27,18 +28,21 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= PipeWire -OPTIONS_DEFINE= GSTREAMER MANPAGES MEDIASESSION PULSEAUDIO SDL VULKAN -OPTIONS_DEFAULT= GSTREAMER MANPAGES MEDIASESSION +OPTIONS_DEFINE= GSTREAMER PIPEWIRE_JACK MANPAGES MEDIASESSION PULSEAUDIO SDL VULKAN +OPTIONS_DEFAULT= GSTREAMER PIPEWIRE_JACK MANPAGES MEDIASESSION OPTIONS_SUB= yes GSTREAMER_MESON_ENABLED=gstreamer GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 \ libgstaudio-1.0.so:multimedia/gstreamer1-plugins +PIPEWIRE_JACK_DESC= Build pipewire-jack +PIPEWIRE_JACK_MESON_ENABLED= pipewire-jack + MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= man -MEDIASESSION_DESC= Session manager support +MEDIASESSION_DESC= Session manager support MEDIASESSION_MESON_ENABLED= alsa pipewire-alsa MEDIASESSION_MESON_ON= -Dsession-managers=media-session MEDIASESSION_MESON_OFF= -Dsession-managers='' @@ -63,7 +67,7 @@ MESON_ARGS= -D pw-cat=enabled \ -D v4l2=enabled \ -D raop=enabled \ -D bluez5=disabled \ - -D jack=disabled -D pipewire-jack=disabled \ + -D jack=disabled \ -D systemd=disabled \ -D pipewire-v4l2=disabled \ -D udevrulesdir="${LOCALBASE}/lib/udev/rules.d" @@ -74,6 +78,12 @@ MESON_ARGS= -D pw-cat=enabled \ CONFIGURE_ENV+= ${ncurses_ARGS:Mbase:C/.+/PKG_CONFIG_PATH="${FILESDIR}"/} .endif +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMANPAGES} && ${PORT_OPTIONS:MPIPEWIRE_JACK} +PLIST_FILES= man/man1/pw-jack.1.gz +.endif + post-extract: ${LN} -s ${WRKDIR}/media-session-${MEDIA_SESSION_VERSION} ${WRKSRC}/subprojects/media-session diff --git a/multimedia/pipewire/pkg-plist b/multimedia/pipewire/pkg-plist index a7b2558b9d30..7ed32ecf2a82 100644 --- a/multimedia/pipewire/pkg-plist +++ b/multimedia/pipewire/pkg-plist @@ -6,6 +6,7 @@ bin/pw-cli bin/pw-dot bin/pw-dsdplay bin/pw-dump +%%PIPEWIRE_JACK%%bin/pw-jack bin/pw-link bin/pw-loopback bin/pw-metadata @@ -166,6 +167,15 @@ include/spa-0.2/spa/utils/type.h lib/libpipewire-0.3.so lib/libpipewire-0.3.so.0 lib/libpipewire-0.3.so.0.343.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjack.so +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjack.so.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjack.so.0.343.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjacknet.so +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjacknet.so.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjacknet.so.0.343.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjackserver.so +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjackserver.so.0 +%%PIPEWIRE_JACK%%lib/pipewire-0.3/jack/libjackserver.so.0.343.0 lib/pipewire-0.3/libpipewire-module-access.so lib/pipewire-0.3/libpipewire-module-adapter.so lib/pipewire-0.3/libpipewire-module-client-device.so