aboutsummaryrefslogtreecommitdiff
path: root/multimedia/wf-recorder
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-10-28 08:15:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-10-28 08:15:33 +0000
commit6f75781b74b289b6dbab92dc7072c60ef96b32b2 (patch)
tree3a0b797385872518d8e6f4ad1ad363de4e7f5ea6 /multimedia/wf-recorder
parentf02cb9ab22943c0e80c609afd32a90e8ad8f5de9 (diff)
downloadports-6f75781b74b289b6dbab92dc7072c60ef96b32b2.tar.gz
ports-6f75781b74b289b6dbab92dc7072c60ef96b32b2.zip
Notes
Diffstat (limited to 'multimedia/wf-recorder')
-rw-r--r--multimedia/wf-recorder/Makefile12
-rw-r--r--multimedia/wf-recorder/distinfo2
2 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/wf-recorder/Makefile b/multimedia/wf-recorder/Makefile
index 8493a103ef0e..9108097b5b75 100644
--- a/multimedia/wf-recorder/Makefile
+++ b/multimedia/wf-recorder/Makefile
@@ -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@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,15 +26,19 @@ 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}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
diff --git a/multimedia/wf-recorder/distinfo b/multimedia/wf-recorder/distinfo
index 20501f06e7dc..1c82f13b53e7 100644
--- a/multimedia/wf-recorder/distinfo
+++ b/multimedia/wf-recorder/distinfo
@@ -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