aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-09-10 06:53:38 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-09-10 07:48:20 +0000
commit1238343e231820015e0fad3130aa38331759ccf8 (patch)
treef6a473b0d3590278dff8c36a404c67fb9a929772 /multimedia
parent5b6ae6008a8b7eafc1a02a13352c2a1553bdfa5b (diff)
downloadports-1238343e231820015e0fad3130aa38331759ccf8.tar.gz
ports-1238343e231820015e0fad3130aa38331759ccf8.zip
multimedia/pipewire: install manpages
PR: 258398 Approved by: arrowd (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/pipewire/Makefile24
-rw-r--r--multimedia/pipewire/distinfo14
-rw-r--r--multimedia/pipewire/pkg-plist9
3 files changed, 43 insertions, 4 deletions
diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile
index a7bba7a71085..a54ec138a9b5 100644
--- a/multimedia/pipewire/Makefile
+++ b/multimedia/pipewire/Makefile
@@ -1,10 +1,17 @@
PORTNAME= pipewire
DISTVERSION= 0.3.31
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
PATCH_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/commit/
PATCHFILES+= 91988acb6b6a.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/815
+PATCHFILES+= d51634a2f1a7.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/816
+PATCHFILES+= d6bb69f2bd88.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/816
+PATCHFILES+= 765bd417decc.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/816
+PATCHFILES+= 488150fac6c9.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/816
+PATCHFILES+= 2488e87fde51.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/852
+PATCHFILES+= e41187d64345.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/906
+PATCHFILES+= 40cbcf288775.patch:-p1 # https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/906
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Server and user space API to deal with multimedia pipelines
@@ -12,7 +19,6 @@ COMMENT= Server and user space API to deal with multimedia pipelines
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-#TODO: xmltoman
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libdbus-1.so:devel/dbus \
@@ -29,14 +35,17 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= PipeWire
-OPTIONS_DEFINE= GSTREAMER MEDIASESSION PULSEAUDIO VULKAN
-OPTIONS_DEFAULT= GSTREAMER MEDIASESSION
+OPTIONS_DEFINE= GSTREAMER MANPAGES MEDIASESSION PULSEAUDIO VULKAN
+OPTIONS_DEFAULT= GSTREAMER 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
+MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils
+MANPAGES_MESON_ENABLED= man
+
MEDIASESSION_DESC= Session manager support
MEDIASESSION_MESON_ENABLED= alsa pipewire-alsa media-session pw-cat
MEDIASESSION_LIB_DEPENDS= libsndfile.so:audio/libsndfile
@@ -57,6 +66,13 @@ MESON_ARGS= -D bluez5=disabled \
-D sdl2=disabled \
-D udevrulesdir="${LOCALBASE}/lib/udev/rules.d"
+post-extract:
+.if defined(PATCHFILES) && ${PATCHFILES:Me41187d64345*}
+ @${REINPLACE_CMD} -e '/_TAG/s/06-02/07-06/' \
+ -e '/which/a'$$'\\\n valgrind' \
+ ${WRKSRC}/.gitlab-ci.yml
+.endif
+
post-patch-MEDIASESSION-on:
# alsa-seq is not supported & causes SIGSEGV with media session
@${REINPLACE_CMD} 's| alsa-seq|\ #alsa-seq|g' \
diff --git a/multimedia/pipewire/distinfo b/multimedia/pipewire/distinfo
index 364ee3444727..163429d7e1ce 100644
--- a/multimedia/pipewire/distinfo
+++ b/multimedia/pipewire/distinfo
@@ -3,3 +3,17 @@ SHA256 (PipeWire-pipewire-0.3.31_GH0.tar.gz) = 2fec0eb47dbfcad51fb8bb3d59c26fe57
SIZE (PipeWire-pipewire-0.3.31_GH0.tar.gz) = 1594284
SHA256 (91988acb6b6a.patch) = 517d04240016f3e34042f5c10c57138da93c07440fa74987aff1fb9fb8f1f13e
SIZE (91988acb6b6a.patch) = 2173
+SHA256 (d51634a2f1a7.patch) = 8829127899b7b41073aff54c81485f8cf4267e53cab277c71fa119af6bbf0a00
+SIZE (d51634a2f1a7.patch) = 778
+SHA256 (d6bb69f2bd88.patch) = 4ca4812fddc6fd6e1b9b92864d70c34b63dad01c259209aca4974cf4501e45df
+SIZE (d6bb69f2bd88.patch) = 3379
+SHA256 (765bd417decc.patch) = f32f3744aca45923ad44d196bb5388fd19347399ff1f1c0233d68da30e4dea03
+SIZE (765bd417decc.patch) = 1170
+SHA256 (488150fac6c9.patch) = f4d02d041d6fd31ec8cfb33aba91e30ddf5d63132e5812db123e9bb9e2168738
+SIZE (488150fac6c9.patch) = 1974
+SHA256 (2488e87fde51.patch) = e35826b317481d3d7c857cd380aab3eddd761506f8e70c3e48206704a80d157e
+SIZE (2488e87fde51.patch) = 1326
+SHA256 (e41187d64345.patch) = b6c8b68f454341a71567f57a45c5bde432bad8e109972c10cc51e910f34d567b
+SIZE (e41187d64345.patch) = 57126
+SHA256 (40cbcf288775.patch) = ecfb2905922756dba6ab087e5ffe56336afbf4953ad1ea0739f8866f41bc78b6
+SIZE (40cbcf288775.patch) = 1596
diff --git a/multimedia/pipewire/pkg-plist b/multimedia/pipewire/pkg-plist
index b03f8157494c..3e7fd1d0f2f5 100644
--- a/multimedia/pipewire/pkg-plist
+++ b/multimedia/pipewire/pkg-plist
@@ -196,6 +196,15 @@ lib/spa-0.2/volume/libspa-volume.so
%%MEDIASESSION%%lib/udev/rules.d/90-pipewire-alsa.rules
libdata/pkgconfig/libpipewire-0.3.pc
libdata/pkgconfig/libspa-0.2.pc
+%%MANPAGES%%man/man1/pipewire.1.gz
+%%MANPAGES%%man/man1/pw-cat.1.gz
+%%MANPAGES%%man/man1/pw-cli.1.gz
+%%MANPAGES%%man/man1/pw-dot.1.gz
+%%MANPAGES%%man/man1/pw-metadata.1.gz
+%%MANPAGES%%man/man1/pw-mididump.1.gz
+%%MANPAGES%%man/man1/pw-mon.1.gz
+%%MANPAGES%%man/man1/pw-profiler.1.gz
+%%MANPAGES%%man/man5/pipewire.conf.5.gz
%%MEDIASESSION%%share/alsa-card-profile/mixer/paths/analog-input-aux.conf
%%MEDIASESSION%%share/alsa-card-profile/mixer/paths/analog-input-dock-mic.conf
%%MEDIASESSION%%share/alsa-card-profile/mixer/paths/analog-input-fm.conf