Index: head/multimedia/obs-streamfx/Makefile =================================================================== --- head/multimedia/obs-streamfx/Makefile (revision 552026) +++ head/multimedia/obs-streamfx/Makefile (revision 552027) @@ -1,25 +1,28 @@ # $FreeBSD$ PORTNAME= obs-streamfx -DISTVERSION= 0.8.3 +DISTVERSION= 0.9.0 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= OBS Studio Plugin: Modern effects LICENSE= GPLv2 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 GH_ACCOUNT= Xaymar GH_PROJECT= obs-StreamFX CMAKE_ARGS= -DOBS_STUDIO_DIR=${LOCALBASE}/lib .include Index: head/multimedia/obs-streamfx/distinfo =================================================================== --- head/multimedia/obs-streamfx/distinfo (revision 552026) +++ head/multimedia/obs-streamfx/distinfo (revision 552027) @@ -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 Index: head/multimedia/obs-streamfx/files/patch-CMakeLists.txt =================================================================== --- head/multimedia/obs-streamfx/files/patch-CMakeLists.txt (revision 552026) +++ head/multimedia/obs-streamfx/files/patch-CMakeLists.txt (revision 552027) @@ -1,65 +1,44 @@ ---- 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) - set(UNIX_LOCAL_STRUCTURE TRUE CACHE BOOL "Package for a local linux install.") + #set(UNIX_LOCAL_STRUCTURE TRUE CACHE BOOL "Package for a local linux install.") 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) - list(APPEND PROJECT_LIBRARIES - "stdc++fs" - ) + #list(APPEND PROJECT_LIBRARIES + # "stdc++fs" + #) endif() endif() -@@ -1031,8 +1031,8 @@ else() +@@ -1226,8 +1226,8 @@ else() else() install( TARGETS ${PROJECT_NAME} - RUNTIME DESTINATION "./obs-plugins/${BITS}bit/" COMPONENT Runtime - LIBRARY DESTINATION "./obs-plugins/${BITS}bit/" COMPONENT Runtime + RUNTIME DESTINATION "lib/obs-plugins" COMPONENT Runtime + LIBRARY DESTINATION "lib/obs-plugins" COMPONENT Runtime ) if(MSVC) install( -@@ -1044,7 +1044,7 @@ else() +@@ -1239,7 +1239,7 @@ else() install( DIRECTORY "data/" - DESTINATION "./data/obs-plugins/${PROJECT_NAME}/" + DESTINATION "share/obs/obs-plugins/${PROJECT_NAME}/" ) add_custom_target( Index: head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp =================================================================== --- head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp (nonexistent) +++ head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp (revision 552027) @@ -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 + #include + #include ++#include + + extern "C" { + #ifndef NOMINMAX Property changes on: head/multimedia/obs-streamfx/files/patch-source_util_util-curl.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/obs-streamfx/pkg-plist =================================================================== --- head/multimedia/obs-streamfx/pkg-plist (revision 552026) +++ head/multimedia/obs-streamfx/pkg-plist (revision 552027) @@ -1,79 +1,84 @@ lib/obs-plugins/StreamFX.so share/obs/obs-plugins/StreamFX/effects/blur/box-linear.effect share/obs/obs-plugins/StreamFX/effects/blur/box.effect share/obs/obs-plugins/StreamFX/effects/blur/dual-filtering.effect share/obs/obs-plugins/StreamFX/effects/blur/gaussian-linear.effect share/obs/obs-plugins/StreamFX/effects/blur/gaussian.effect share/obs/obs-plugins/StreamFX/effects/channel-mask.effect share/obs/obs-plugins/StreamFX/effects/color-conversion.effect share/obs/obs-plugins/StreamFX/effects/color-grade.effect share/obs/obs-plugins/StreamFX/effects/displace.effect share/obs/obs-plugins/StreamFX/effects/mask.effect share/obs/obs-plugins/StreamFX/effects/mipgen.effect share/obs/obs-plugins/StreamFX/effects/pack-unpack.effect share/obs/obs-plugins/StreamFX/effects/sdf/sdf-consumer.effect share/obs/obs-plugins/StreamFX/effects/sdf/sdf-producer.effect share/obs/obs-plugins/StreamFX/examples/normal-maps/neutral.png share/obs/obs-plugins/StreamFX/examples/normal-maps/stretch-middle.png share/obs/obs-plugins/StreamFX/examples/shaders/feature-test.effect share/obs/obs-plugins/StreamFX/examples/shaders/filter/crt-curvature.effect share/obs/obs-plugins/StreamFX/examples/shaders/filter/crt-scanlines.effect share/obs/obs-plugins/StreamFX/examples/shaders/filter/drunk.effect share/obs/obs-plugins/StreamFX/examples/shaders/filter/hexagonize.effect share/obs/obs-plugins/StreamFX/examples/shaders/filter/semiline.effect share/obs/obs-plugins/StreamFX/examples/shaders/source/shadertoy-3l23Rh.effect 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 share/obs/obs-plugins/StreamFX/examples/shaders/transition/sliding-bars.effect share/obs/obs-plugins/StreamFX/examples/white.png share/obs/obs-plugins/StreamFX/locale/bo-BT.ini share/obs/obs-plugins/StreamFX/locale/cy-GB.ini share/obs/obs-plugins/StreamFX/locale/de-DE.ini share/obs/obs-plugins/StreamFX/locale/el-GR.ini share/obs/obs-plugins/StreamFX/locale/en-US.ini share/obs/obs-plugins/StreamFX/locale/es-ES.ini share/obs/obs-plugins/StreamFX/locale/et-EE.ini share/obs/obs-plugins/StreamFX/locale/fa-IR.ini share/obs/obs-plugins/StreamFX/locale/fi-FI.ini share/obs/obs-plugins/StreamFX/locale/fil-PH.ini share/obs/obs-plugins/StreamFX/locale/fo-FO.ini share/obs/obs-plugins/StreamFX/locale/fr-FR.ini share/obs/obs-plugins/StreamFX/locale/ga-IE.ini share/obs/obs-plugins/StreamFX/locale/he-IL.ini share/obs/obs-plugins/StreamFX/locale/hu-HU.ini share/obs/obs-plugins/StreamFX/locale/id-ID.ini share/obs/obs-plugins/StreamFX/locale/is-IS.ini share/obs/obs-plugins/StreamFX/locale/it-IT.ini share/obs/obs-plugins/StreamFX/locale/ja-JP.ini share/obs/obs-plugins/StreamFX/locale/ka-GE.ini share/obs/obs-plugins/StreamFX/locale/ko-KR.ini share/obs/obs-plugins/StreamFX/locale/ks-IN.ini share/obs/obs-plugins/StreamFX/locale/ku-TR.ini share/obs/obs-plugins/StreamFX/locale/la-LA.ini share/obs/obs-plugins/StreamFX/locale/lb-LU.ini share/obs/obs-plugins/StreamFX/locale/li-LI.ini share/obs/obs-plugins/StreamFX/locale/lt-LT.ini share/obs/obs-plugins/StreamFX/locale/lv-LV.ini share/obs/obs-plugins/StreamFX/locale/mn-MN.ini share/obs/obs-plugins/StreamFX/locale/mt-MT.ini 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 share/obs/obs-plugins/StreamFX/locale/su-ID.ini share/obs/obs-plugins/StreamFX/locale/sv-SE.ini share/obs/obs-plugins/StreamFX/locale/sw-KE.ini share/obs/obs-plugins/StreamFX/locale/th-TH.ini share/obs/obs-plugins/StreamFX/locale/tlh-AA.ini share/obs/obs-plugins/StreamFX/locale/tr-TR.ini share/obs/obs-plugins/StreamFX/locale/uk-UA.ini share/obs/obs-plugins/StreamFX/locale/vi-VN.ini share/obs/obs-plugins/StreamFX/locale/zh-CN.ini share/obs/obs-plugins/StreamFX/locale/zh-TW.ini