Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2020 04:34:14 +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: r552027 - in head/multimedia/obs-streamfx: . files
Message-ID:  <202010110434.09B4YEjY052044@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Oct 11 04:34:14 2020
New Revision: 552027
URL: https://svnweb.freebsd.org/changeset/ports/552027

Log:
  multimedia/obs-streamfx: Update 0.8.3 -> 0.9.0
  
  Reported by:	portscout

Added:
  head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp   (contents, props changed)
Modified:
  head/multimedia/obs-streamfx/Makefile
  head/multimedia/obs-streamfx/distinfo
  head/multimedia/obs-streamfx/files/patch-CMakeLists.txt
  head/multimedia/obs-streamfx/pkg-plist

Modified: head/multimedia/obs-streamfx/Makefile
==============================================================================
--- head/multimedia/obs-streamfx/Makefile	Sun Oct 11 04:32:55 2020	(r552026)
+++ head/multimedia/obs-streamfx/Makefile	Sun Oct 11 04:34:14 2020	(r552027)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	obs-streamfx
-DISTVERSION=	0.8.3
+DISTVERSION=	0.9.0
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,7 +13,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 NOT_FOR_ARCHS=		i386
 NOT_FOR_ARCHS_REASON=	plugin requires a lot of memory for many of the filters to even run, physical or virtual memory can exceed 4GB
 
-LIB_DEPENDS=	libobs.so:multimedia/obs-studio
+BUILD_DEPENDS=	${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
+		libcurl.so:ftp/curl \
+		libobs.so:multimedia/obs-studio
 
 USES=		cmake
 USE_GITHUB=	yes

Modified: head/multimedia/obs-streamfx/distinfo
==============================================================================
--- head/multimedia/obs-streamfx/distinfo	Sun Oct 11 04:32:55 2020	(r552026)
+++ head/multimedia/obs-streamfx/distinfo	Sun Oct 11 04:34:14 2020	(r552027)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596425641
-SHA256 (Xaymar-obs-StreamFX-0.8.3_GH0.tar.gz) = 072ef0adcace82eebce7fce91a23bdd7e4a0da959b465ce24af584aea180bd65
-SIZE (Xaymar-obs-StreamFX-0.8.3_GH0.tar.gz) = 13742248
+TIMESTAMP = 1601189982
+SHA256 (Xaymar-obs-StreamFX-0.9.0_GH0.tar.gz) = 5bdd9b78f6c24e06f7bfa36784f952ea16e32636b27c6454d0375623f73be90c
+SIZE (Xaymar-obs-StreamFX-0.9.0_GH0.tar.gz) = 13767419

Modified: head/multimedia/obs-streamfx/files/patch-CMakeLists.txt
==============================================================================
--- head/multimedia/obs-streamfx/files/patch-CMakeLists.txt	Sun Oct 11 04:32:55 2020	(r552026)
+++ head/multimedia/obs-streamfx/files/patch-CMakeLists.txt	Sun Oct 11 04:34:14 2020	(r552027)
@@ -1,27 +1,6 @@
---- CMakeLists.txt.orig	2020-04-24 03:39:40 UTC
+--- CMakeLists.txt.orig	2020-09-25 19:33:09 UTC
 +++ CMakeLists.txt
-@@ -92,13 +92,13 @@ else()
- endif()
- 
- # Detect Architecture
--math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
--if("${BITS}" STREQUAL "32")
--	set(ARCH "x86")
--	message(STATUS "StreamFX no longer supports 32-bit builds, you are on your own if you continue.")
--else()
--	set(ARCH "x64")
--endif()
-+#math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
-+#if("${BITS}" STREQUAL "32")
-+#	set(ARCH "x86")
-+#	message(STATUS "StreamFX no longer supports 32-bit builds, you are on your own if you continue.")
-+#else()
-+#	set(ARCH "x64")
-+#endif()
- 
- # All Warnings, Extra Warnings, Pedantic
- if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-@@ -183,7 +183,7 @@ else()
+@@ -184,7 +184,7 @@ else()
  	set(CMAKE_PACKAGE_SUFFIX_OVERRIDE "" CACHE STRING "Override for the suffix.")
  
  	if(UNIX)
@@ -30,7 +9,7 @@
  	endif()
  
  	if(NOT ${PropertyPrefix}OBS_DOWNLOAD)
-@@ -502,9 +502,9 @@ if((CMAKE_C_COMPILER_ID STREQUAL "GNU")
+@@ -636,9 +636,9 @@ if((CMAKE_C_COMPILER_ID STREQUAL "GNU")
  	OR (CMAKE_C_COMPILER_ID STREQUAL "Clang")
  	OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
  	if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
@@ -43,7 +22,7 @@
  	endif()
  endif()
  
-@@ -1031,8 +1031,8 @@ else()
+@@ -1226,8 +1226,8 @@ else()
  	else()
  		install(
  			TARGETS ${PROJECT_NAME}
@@ -54,7 +33,7 @@
  		)
  		if(MSVC)
  			install(
-@@ -1044,7 +1044,7 @@ else()
+@@ -1239,7 +1239,7 @@ else()
  	
  		install(
  			DIRECTORY "data/"

Added: head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp	Sun Oct 11 04:34:14 2020	(r552027)
@@ -0,0 +1,10 @@
+--- source/util/util-curl.hpp.orig	2020-10-11 04:20:03 UTC
++++ source/util/util-curl.hpp
+@@ -24,6 +24,7 @@
+ #include <functional>
+ #include <map>
+ #include <string>
++#include <vector>
+ 
+ extern "C" {
+ #ifndef NOMINMAX

Modified: head/multimedia/obs-streamfx/pkg-plist
==============================================================================
--- head/multimedia/obs-streamfx/pkg-plist	Sun Oct 11 04:32:55 2020	(r552026)
+++ head/multimedia/obs-streamfx/pkg-plist	Sun Oct 11 04:34:14 2020	(r552027)
@@ -25,6 +25,10 @@ share/obs/obs-plugins/StreamFX/examples/shaders/source
 share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-3tlXWS.effect
 share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-MslGRn.effect
 share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-MslfRn.effect
+share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-MtcGD7.effect
+share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-XljBW3.effect
+share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-Xsl3RX.effect
+share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-template.effect
 share/obs/obs-plugins/StreamFX/examples/shaders/transition/color-shift.effect
 share/obs/obs-plugins/StreamFX/examples/shaders/transition/luma-burn.effect
 share/obs/obs-plugins/StreamFX/examples/shaders/transition/pixelator.effect
@@ -64,6 +68,7 @@ share/obs/obs-plugins/StreamFX/locale/nl-NL.ini
 share/obs/obs-plugins/StreamFX/locale/no-NO.ini
 share/obs/obs-plugins/StreamFX/locale/pa-IN.ini
 share/obs/obs-plugins/StreamFX/locale/pl-PL.ini
+share/obs/obs-plugins/StreamFX/locale/pt-BR.ini
 share/obs/obs-plugins/StreamFX/locale/pt-PT.ini
 share/obs/obs-plugins/StreamFX/locale/ro-RO.ini
 share/obs/obs-plugins/StreamFX/locale/ru-RU.ini



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