svn commit: r495231 - in head/multimedia: . wf-recorder wf-recorder/files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Mar 10 07:07:08 UTC 2019
Author: tobik
Date: Sun Mar 10 07:07:06 2019
New Revision: 495231
URL: https://svnweb.freebsd.org/changeset/ports/495231
Log:
New port: multimedia/wf-recorder
wf-recorder is a utility program for screen recording of wlroots-based
compositors (more specifically, those that support wlr-screencopy-v1
and xdg-output).
WWW: https://github.com/ammen99/wf-recorder
Added:
head/multimedia/wf-recorder/
head/multimedia/wf-recorder/Makefile (contents, props changed)
head/multimedia/wf-recorder/distinfo (contents, props changed)
head/multimedia/wf-recorder/files/
head/multimedia/wf-recorder/files/patch-src_main.cpp (contents, props changed)
head/multimedia/wf-recorder/pkg-descr (contents, props changed)
Modified:
head/multimedia/Makefile
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Sun Mar 10 06:38:52 2019 (r495230)
+++ head/multimedia/Makefile Sun Mar 10 07:07:06 2019 (r495231)
@@ -459,6 +459,7 @@
SUBDIR += webcamd
SUBDIR += webcamoid
SUBDIR += webvfx-qt5
+ SUBDIR += wf-recorder
SUBDIR += win32-codecs
SUBDIR += winff
SUBDIR += x264
Added: head/multimedia/wf-recorder/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wf-recorder/Makefile Sun Mar 10 07:07:06 2019 (r495231)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= wf-recorder
+DISTVERSION= g20190226
+CATEGORIES= multimedia wayland
+
+MAINTAINER= tobik at FreeBSD.org
+COMMENT= Screen recorder for wlroots-based compositors
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols \
+ wayland-scanner:graphics/wayland
+LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \
+ libwayland-client.so:graphics/wayland
+
+USES= meson pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= ammen99
+GH_TAGNAME= 7cd6bd2779b1da68afd34dfb3fb63214d1aff7d9
+
+PLIST_FILES= bin/wf-recorder
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/multimedia/wf-recorder/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wf-recorder/distinfo Sun Mar 10 07:07:06 2019 (r495231)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552199757
+SHA256 (ammen99-wf-recorder-g20190226-7cd6bd2779b1da68afd34dfb3fb63214d1aff7d9_GH0.tar.gz) = 79a185456d396d35965f62ee2c53a2224cb3d9a7dbe2f854018fc6d0c334736c
+SIZE (ammen99-wf-recorder-g20190226-7cd6bd2779b1da68afd34dfb3fb63214d1aff7d9_GH0.tar.gz) = 10517
Added: head/multimedia/wf-recorder/files/patch-src_main.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wf-recorder/files/patch-src_main.cpp Sun Mar 10 07:07:06 2019 (r495231)
@@ -0,0 +1,13 @@
+https://github.com/ammen99/wf-recorder/pull/4
+
+--- src/main.cpp.orig 2019-03-10 06:36:05 UTC
++++ src/main.cpp
+@@ -275,7 +275,7 @@ static void write_loop(std::string name, int32_t width
+ {
+ /* Ignore SIGINT, main loop is responsible for the exit_main_loop signal */
+ sigset_t sigset;
+- sigisemptyset(&sigset);
++ sigemptyset(&sigset);
+ sigaddset(&sigset, SIGINT);
+ pthread_sigmask(SIG_BLOCK, &sigset, NULL);
+
Added: head/multimedia/wf-recorder/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wf-recorder/pkg-descr Sun Mar 10 07:07:06 2019 (r495231)
@@ -0,0 +1,5 @@
+wf-recorder is a utility program for screen recording of wlroots-based
+compositors (more specifically, those that support wlr-screencopy-v1
+and xdg-output).
+
+WWW: https://github.com/ammen99/wf-recorder
More information about the svn-ports-head
mailing list