summaryrefslogtreecommitdiff
path: root/multimedia/pipewire/Makefile
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/pipewire/Makefile
parentemulators/wine-devel: Complete the packaging list on amd64 (diff)
multimedia/pipewire: install manpages
PR: 258398 Approved by: arrowd (maintainer)
Diffstat (limited to 'multimedia/pipewire/Makefile')
-rw-r--r--multimedia/pipewire/Makefile24
1 files changed, 20 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' \