Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2020 05:08:52 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530465 - in head/multimedia: . obs-websocket
Message-ID:  <202004030508.03358qkq077183@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Apr  3 05:08:51 2020
New Revision: 530465
URL: https://svnweb.freebsd.org/changeset/ports/530465

Log:
  New port: multimedia/obs-websocket: WebSockets API for OBS Studio

Added:
  head/multimedia/obs-websocket/
  head/multimedia/obs-websocket/Makefile   (contents, props changed)
  head/multimedia/obs-websocket/distinfo   (contents, props changed)
  head/multimedia/obs-websocket/pkg-descr   (contents, props changed)
  head/multimedia/obs-websocket/pkg-message   (contents, props changed)
  head/multimedia/obs-websocket/pkg-plist   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Fri Apr  3 04:58:33 2020	(r530464)
+++ head/multimedia/Makefile	Fri Apr  3 05:08:51 2020	(r530465)
@@ -286,6 +286,7 @@
     SUBDIR += nostt
     SUBDIR += obs-qtwebkit
     SUBDIR += obs-studio
+    SUBDIR += obs-websocket
     SUBDIR += oggvideotools
     SUBDIR += ogmrip
     SUBDIR += ogmtools

Added: head/multimedia/obs-websocket/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-websocket/Makefile	Fri Apr  3 05:08:51 2020	(r530465)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	obs-websocket
+DISTVERSION=	4.7.0-161
+DISTVERSIONSUFFIX=	-g67e89e7
+CATEGORIES=	multimedia www
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	WebSockets API for OBS Studio
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	websocketpp>0:devel/websocketpp
+LIB_DEPENDS=	libobs.so:multimedia/obs-studio
+
+USES=		cmake compiler:c++17-lang localbase:ldflags qt:5
+USE_GITHUB=	yes
+GH_ACCOUNT=	Palakis
+GH_TUPLE=	chriskohlhoff:asio:b73dc1d2c0ecb9452a87c26544d7f71e24342df6:chriskohlhoff_asio/deps/asio
+USE_QT=		core gui widgets buildtools_build concurrent_build qmake_build
+
+OPTIONS_DEFINE=		IPV4 # with devel/websocketpp it's either IPv4 or IPv6, but not both
+OPTIONS_DEFAULT=	IPV4 # project defaults to IPv6 but the port defaults to IPv4 because IPv4 is currently more common
+
+post-patch-IPV4-on:
+	@${REINPLACE_CMD} -e 's|ip::tcp::v6|ip::tcp::v4|g' ${WRKSRC}/deps/asio/asio/src/tests/unit/ip/tcp.cpp
+	@${REINPLACE_CMD} -e 's|_server.listen(|_server.listen(asio::ip::tcp::v4(), |g' ${WRKSRC}/src/WSServer.cpp
+
+post-install: # see https://github.com/Palakis/obs-websocket/issues/457
+	@${RM} -r ${STAGEDIR}${PREFIX}/lib/amd64-linux-gnu
+
+.include <bsd.port.mk>

Added: head/multimedia/obs-websocket/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-websocket/distinfo	Fri Apr  3 05:08:51 2020	(r530465)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1585887931
+SHA256 (Palakis-obs-websocket-4.7.0-161-g67e89e7_GH0.tar.gz) = 82f4c650c1a18e2cc681f3833990c071ddd9b9c944f796f232ef0d4c4e563fce
+SIZE (Palakis-obs-websocket-4.7.0-161-g67e89e7_GH0.tar.gz) = 169180
+SHA256 (chriskohlhoff-asio-b73dc1d2c0ecb9452a87c26544d7f71e24342df6_GH0.tar.gz) = e4a5f556e3d562c71f9e569ffa64eae665abd2c61d85a2d275c86042b32f9342
+SIZE (chriskohlhoff-asio-b73dc1d2c0ecb9452a87c26544d7f71e24342df6_GH0.tar.gz) = 1211725

Added: head/multimedia/obs-websocket/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-websocket/pkg-descr	Fri Apr  3 05:08:51 2020	(r530465)
@@ -0,0 +1,4 @@
+WebSockets API for OBS Studio installs the plugin for multimedia/obs-studio
+that enables OBS Studio to be controlled by a Web-UI.
+
+WWW: https://github.com/Palakis/obs-websocket

Added: head/multimedia/obs-websocket/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-websocket/pkg-message	Fri Apr  3 05:08:51 2020	(r530465)
@@ -0,0 +1,11 @@
+[
+{ type: install
+  message: <<EOM
+You installed obs-websocket: a WebSockets plugin for OBS Studio.
+
+In order to use obs-websocket you most likely need to install
+this NodeJS project: https://github.com/t2t2/obs-tablet-remot
+
+EOM
+}
+]

Added: head/multimedia/obs-websocket/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-websocket/pkg-plist	Fri Apr  3 05:08:51 2020	(r530465)
@@ -0,0 +1,16 @@
+lib/obs-plugins/obs-websocket.so
+share/obs/obs-plugins/obs-websocket/locale/ar-SA.ini
+share/obs/obs-plugins/obs-websocket/locale/de-DE.ini
+share/obs/obs-plugins/obs-websocket/locale/en-US.ini
+share/obs/obs-plugins/obs-websocket/locale/es-ES.ini
+share/obs/obs-plugins/obs-websocket/locale/fr-FR.ini
+share/obs/obs-plugins/obs-websocket/locale/hi-IN.ini
+share/obs/obs-plugins/obs-websocket/locale/it-IT.ini
+share/obs/obs-plugins/obs-websocket/locale/ja-JP.ini
+share/obs/obs-plugins/obs-websocket/locale/ko-KR.ini
+share/obs/obs-plugins/obs-websocket/locale/nl-NL.ini
+share/obs/obs-plugins/obs-websocket/locale/pl-PL.ini
+share/obs/obs-plugins/obs-websocket/locale/pt-PT.ini
+share/obs/obs-plugins/obs-websocket/locale/ru-RU.ini
+share/obs/obs-plugins/obs-websocket/locale/zh-CN.ini
+share/obs/obs-plugins/obs-websocket/locale/zh-TW.ini



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004030508.03358qkq077183>