Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2018 13:17:07 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478871 - in head/multimedia: . obs-qtwebkit obs-qtwebkit/files
Message-ID:  <201809031317.w83DH7Bg041108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Sep  3 13:17:06 2018
New Revision: 478871
URL: https://svnweb.freebsd.org/changeset/ports/478871

Log:
  multimedia/obs-qtwebkit: create port
  
  This is a browser source plugin for obs-studio
  (https://github.com/jp9000/obs-studio) based on QtWebkit library. It
  allows using web content as a source in obs-studio.
  
  WWW: https://github.com/swills/obs-qtwebkit

Added:
  head/multimedia/obs-qtwebkit/
  head/multimedia/obs-qtwebkit/Makefile   (contents, props changed)
  head/multimedia/obs-qtwebkit/distinfo   (contents, props changed)
  head/multimedia/obs-qtwebkit/files/
  head/multimedia/obs-qtwebkit/files/patch-GNUmakefile   (contents, props changed)
  head/multimedia/obs-qtwebkit/pkg-descr   (contents, props changed)
  head/multimedia/obs-qtwebkit/pkg-plist   (contents, props changed)
Modified:
  head/multimedia/Makefile   (contents, props changed)

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Mon Sep  3 13:14:21 2018	(r478870)
+++ head/multimedia/Makefile	Mon Sep  3 13:17:06 2018	(r478871)
@@ -290,6 +290,7 @@
     SUBDIR += naludump
     SUBDIR += nordlicht
     SUBDIR += nostt
+    SUBDIR += obs-qtwebkit
     SUBDIR += obs-studio
     SUBDIR += oggvideotools
     SUBDIR += ogmrip

Added: head/multimedia/obs-qtwebkit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-qtwebkit/Makefile	Mon Sep  3 13:17:06 2018	(r478871)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	obs-qtwebkit
+PORTVERSION=	g2018090201
+CATEGORIES=	multimedia
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Browser source plugin for obs-studio
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libobs.so:multimedia/obs-studio \
+		libinotify.so:devel/libinotify
+
+USES=		gmake pkgconfig qt:5
+USE_QT=		core gui network webkit widgets
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	swills
+GH_TAGNAME=	c01aa76
+MAKEFILE=	GNUmakefile
+MAKE_ARGS=	OBS_INCLUDE=${LOCALBASE}/include OBS_LIB=${LOCALBASE}/lib
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/GNUmakefile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/obs-plugins/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/obs/obs-plugins/qtwebkit-browser/data/locale
+	${INSTALL_PROGRAM} ${WRKSRC}/build/qtwebkit-browser.so ${STAGEDIR}${PREFIX}/lib/obs-plugins/
+	${INSTALL_PROGRAM} ${WRKSRC}/build/renderer ${STAGEDIR}${PREFIX}/lib/obs-plugins/
+	cd ${WRKSRC}/build/qtwebkit-browser/data/locale ; ${COPYTREE_SHARE} . \
+		${STAGEDIR}${PREFIX}/share/obs/obs-plugins/qtwebkit-browser/data/locale
+
+.include <bsd.port.mk>

Added: head/multimedia/obs-qtwebkit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-qtwebkit/distinfo	Mon Sep  3 13:17:06 2018	(r478871)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535926470
+SHA256 (swills-obs-qtwebkit-g2018090201-c01aa76_GH0.tar.gz) = cd73bb03b7a5bc6f5524a3c9e70f5bc44c0fe58179ddf86034887f3c72c88300
+SIZE (swills-obs-qtwebkit-g2018090201-c01aa76_GH0.tar.gz) = 14629

Added: head/multimedia/obs-qtwebkit/files/patch-GNUmakefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-qtwebkit/files/patch-GNUmakefile	Mon Sep  3 13:17:06 2018	(r478871)
@@ -0,0 +1,15 @@
+Temporary, see:
+
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231108
+
+--- GNUmakefile.orig	2018-09-02 22:04:19 UTC
++++ GNUmakefile
+@@ -5,7 +5,7 @@ ifndef OBS_LIB
+ OBS_LIB = /usr/lib
+ endif
+ 
+-CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) $(shell pkg-config --cflags Qt5WebKitWidgets)
++CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) -I%%LOCALBASE%%/include/qt5/QtWebKitWidgets
+ CXX      ?= c++
+ RM       = /bin/rm -rf
+ LDFLAGS  = -L$(OBS_LIB)

Added: head/multimedia/obs-qtwebkit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-qtwebkit/pkg-descr	Mon Sep  3 13:17:06 2018	(r478871)
@@ -0,0 +1,5 @@
+This is a browser source plugin for obs-studio
+(https://github.com/jp9000/obs-studio) based on QtWebkit library. This plugin
+is for Linux and FreeBSD only.
+
+WWW: https://github.com/swills/obs-qtwebkit

Added: head/multimedia/obs-qtwebkit/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-qtwebkit/pkg-plist	Mon Sep  3 13:17:06 2018	(r478871)
@@ -0,0 +1,18 @@
+lib/obs-plugins/qtwebkit-browser.so
+lib/obs-plugins/renderer
+share/obs/obs-plugins/qtwebkit-browser/data/locale/de-DE.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/en-US.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/es-ES.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/fi-FI.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/fr-FR.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/he-IL.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/it-IT.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/ja-JP.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/ko-KR.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/nl-NL.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/pl-PL.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/pt-BR.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/pt-PT.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/ru-RU.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/sv-SE.ini
+share/obs/obs-plugins/qtwebkit-browser/data/locale/zh-CN.ini



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