svn commit: r553527 - head/multimedia/wf-recorder
Jan Beich
jbeich at FreeBSD.org
Wed Oct 28 08:15:37 UTC 2020
Author: jbeich
Date: Wed Oct 28 08:15:33 2020
New Revision: 553527
URL: https://svnweb.freebsd.org/changeset/ports/553527
Log:
multimedia/wf-recorder: make pulseaudio optional
- FreeBSD can use virtual_oss to record audio from applications
- DragonFly cannot use PulseAudio yet, see
https://github.com/DragonFlyBSD/DeltaPorts/commit/b88835f255a5
Modified:
head/multimedia/wf-recorder/Makefile (contents, props changed)
head/multimedia/wf-recorder/distinfo (contents, props changed)
Modified: head/multimedia/wf-recorder/Makefile
==============================================================================
--- head/multimedia/wf-recorder/Makefile Wed Oct 28 08:15:27 2020 (r553526)
+++ head/multimedia/wf-recorder/Makefile Wed Oct 28 08:15:33 2020 (r553527)
@@ -5,6 +5,9 @@ DISTVERSION= 0.2.1
CATEGORIES= multimedia wayland
MASTER_SITES= https://github.com/ammen99/wf-recorder/releases/download/v${DISTVERSION}/
+PATCH_SITES= https://github.com/ammen99/${PORTNAME}/commit/
+PATCHFILES+= 78d6a60833aa.patch:-p1 # https://github.com/ammen99/wf-recorder/pull/88
+
MAINTAINER= ports at FreeBSD.org
COMMENT= Screen recorder for wlroots-based compositors
@@ -15,7 +18,6 @@ BUILD_DEPENDS= scdoc:textproc/scdoc \
wayland-protocols>=1.14:graphics/wayland-protocols \
wayland-scanner:graphics/wayland
LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \
- libpulse.so:audio/pulseaudio \
libwayland-client.so:graphics/wayland
USES= compiler:c++11-lang meson pkgconfig tar:xz
@@ -24,14 +26,18 @@ PLIST_FILES= bin/wf-recorder \
man/man1/wf-recorder.1.gz
PORTDOCS= README.md
-OPTIONS_DEFINE= DOCS OPENCL
-OPTIONS_DEFAULT= OPENCL
+OPTIONS_DEFINE= DOCS OPENCL PULSEAUDIO
+OPTIONS_DEFAULT= OPENCL PULSEAUDIO
OPENCL_DESC= RGB to YUV conversion with the help of OpenCL
+PULSEAUDIO_DESC=Audio recording via PulseAudio
OPENCL_BUILD_DEPENDS= opencl>0:devel/opencl
OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
OPENCL_MESON_ENABLED= opencl
+
+PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio
+PULSEAUDIO_MESON_ENABLED= pulse
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/multimedia/wf-recorder/distinfo
==============================================================================
--- head/multimedia/wf-recorder/distinfo Wed Oct 28 08:15:27 2020 (r553526)
+++ head/multimedia/wf-recorder/distinfo Wed Oct 28 08:15:33 2020 (r553527)
@@ -1,3 +1,5 @@
TIMESTAMP = 1586883884
SHA256 (wf-recorder-0.2.1.tar.xz) = bfe51f4f88ba755ac0ad993d00da706496f84e60b53de0ae24fe1c654cfaa376
SIZE (wf-recorder-0.2.1.tar.xz) = 19828
+SHA256 (78d6a60833aa.patch) = a5bf2b396a0979249e8a8b7a9321a5c08cc257457679dc9a3895aab46db05f6e
+SIZE (78d6a60833aa.patch) = 11711
More information about the svn-ports-all
mailing list