===> The following configuration options are available for obs-studio-32.2.2_1:
BROWSER=on: Browser source and docks (Chromium Embedded Framework)
NVENC=on: NVIDIA Hardware Encoder Plugin
PIPEWIRE=on: Screen capture via PipeWire
VLC=on: Enable VLC plugin
VST=on: Build VST submodule
WAYLAND=on: Wayland (graphics) support
====> Audio backends: you have to choose at least one of them
JACK=on: JACK audio server support
PULSEAUDIO=on: PulseAudio sound server support
SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
obs-studio: add BROWSER option to enable CEF framework
OBS studio can now display a web browser in it's streaming setup..
- The BROWSER option works now: it depends on www/cef and points the
build at it (CEF_ROOT_DIR=${LOCALBASE}/lib/cef). It is on by default
on amd64 and not offered where www/cef does not build.
- Use the CMake switch obs-browser actually reads (ENABLE_BROWSER) and
turn off the What's New dialog, which has no FreeBSD code path.
- obs-browser: FreeBSD support in its CMake files and __linux__ code
paths; load libcef.so from the CEF directory (RPATH) instead of
copying CEF into lib/obs-plugins, and let CEF find its own locales;
build with C++20 as the CEF 152 headers require; include
<netinet/in.h> for sockaddr_in.
PR: 299341
*/*: Bump PORTREVISION for known Qt private API abusers
Qt 6.11.1 edition.
These ports are known to directly use or link to a library that uses the
Qt private API and must be rebuilt with every Qt update.
Qt *public* API/ABI compatability is excellent, so most consumers don't
need to necessarily be rebuilt between patch or even minor releases, but
use of the private API breaks this compatibility between even patch
releases and its use is highly discouraged.
This list [1] is based on histortical data. We don't have time to
revisit every port on the list with each Qt update, so if your port has
dropped Qt private headers and was bumped in error, please remove it
yourself if you have write access to the Wiki or alert someone on kde@.
[1] https://wiki.freebsd.org/KDE/Qt
multimedia/obs-studio: enable NVENC only on amd64
Fixes pkg-plist on !amd64.
In plugins/CMakeLists.txt:
add_obs_plugin(obs-nvenc PLATFORMS WINDOWS LINUX FREEBSD ARCHITECTURES x64
x86_64)
*/*: Bump PORTREVISION for known Qt private API abusers
Qt 6.10.1 edition.
These ports are known to directly use or link to a library that uses the
Qt private API and must be rebuilt with every Qt update.
Qt *public* API/ABI compatability is excellent, so most consumers don't
need to necessarily be rebuilt between patch or even minor releases, but
use of the private API breaks this compatibility between even patch
releases and its use is highly discouraged.
This list [1] is based on histortical data. We don't have time to
revisit every port on the list with each Qt update, so if your port has
dropped Qt private headers and was bumped in error, please remove it
yourself if you have write access to the Wiki or alert someone on kde@.
[1] https://wiki.freebsd.org/KDE/Qt
lang/luajit: update to v2.1
Disconnect lang/luajit-devel from the build, will be removed soon.
Bump PORTREVISIONs for the consumers.
Discussed with: adamw
PR: 225342
devel/websocketpp: fix asio namespaces unbreaking users
and unbreak multimedia/obs-studio.
This works by using standalone asio's namespace
instead of boost::asio's everywhere. (Boost includes asio,
and websocketpp can work with Boost and the standalone Asio,
pulling it into its own namespace wrapper.)
Tested by: tagattie@, mandree@
PR: 287916
*/*: Bump PORTREVISION after libuuid/libblkid switch
from e2fsprogs to util-linux, to complete the bump of all users
of either library that started with Alexander's commit titled
'*/*: Switch to misc/libuuid and misc/libblkid'
PR: 251489
multimedia/obs-studio: Backport the patch enabling the Virtual Camera feature
Please note that it requires this command to be run:
$ sudo webcamd -c v4l2loopback
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
multimedia/obs-studio: fix build on powerpc64le
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-30.2.3/libobs/graphics/../util/simde/x86/sse2.h:1793:58:
error: Current handling of vector bool and vector pixel types in this context
are deprecated. The default behaviour will soon change to that implied by the
'-altivec-compat=xl' option [-Werror,-Wdeprecated-altivec-src-compat]
1793 | r_.i64 = HEDLEY_STATIC_CAST(__typeof__(r_.i64), (a_.f64 !=
b_.f64));
multimedia/obs-studio: fix build with clang 19
Clang 19 has become more strict about mixing different enum types, which
results in an error building multimedia/obs-studio:
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-30.2.3/plugins/obs-outputs/flv-mux.c:659:37:
error: bitwise operation between different enumeration types ('enum
multitrack_type_t' and 'enum packet_type_t') [-Werror,-Wenum-enum-conversion]
659 | s_w8(&s, MULTITRACKTYPE_ONE_TRACK |
PACKETTYPE_METADATA);
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
~~~~~~~~~~~~~~~~~~~
This can be fixed by explicitly casting each enum type to uint8_t.
PR: 281890
Approved by: yuri (maintainer)
MFH: 2024Q3
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
multimedia/obs-studio: Fix build on -CURRENT
Fix type conversion error on libftl over new version of clang.
Reviewed by: yuri
Differential Revision: https://reviews.freebsd.org/D39774
multimedia/obs-studio: enable Wayland support
This is for obs UI. pipewire and wlrobs plugins work fine under
Xwayland via QT_QPA_PLATFORM=xcb or env -u WAYLAND_DISPLAY.
No impact under X11. Under Wayland requires qt6-wayland package
to avoid Xwayland, similar to any other Qt6 application.
multimedia/obs-studio: enable PIPEWIRE by default
Mainly for Plasma/Wayland and to avoid regressing pkg-plist on updates.
PR: 268690
Approved by: yuri (maintainer)
multimedia/obs-studio: expose PipeWire support
Requires xdg-desktop-portal-wlr, plasma5-xdg-desktop-portal-kde or
similar to provide org.freedesktop.impl.portal.ScreenCast in order to
be visible as Screen Capture source.
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
multimedia/obs-studio: Add back support for v4l2loopback
It was removed recently due to the PR not applying any more.
Now this is fixed and this PR is backported again.
PR: 262380
Patch authors: David Schlachter <fbsd-bugzilla@schlachter.ca> and Hans Petter
Selasky <hps@selasky.org>
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
multimedia/obs-studio: fix build on powerpc64*
Invalid argument "gcc-c++17-lang", valid arguments are: c++11-lib c++11-lang
c++14-lang c++17-lang c11 features openmp env nestedfct c++0x gcc-c++11-lib
Also, this port builds fine with clang now.
multimedia/obs-studio: Re-enable the linux-capture plugin
It got broken in 27.0.1 by the new linux-specific include which,
as it turned out, can be disabled with ENABLE_PIPEWIRE=OFF.
PR: 256862
Reported by: Patricio Villar <patovm04@gmail.com>
multimedia/obs-studio: fix build on powerpc64
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-26.1.0-rc2/plugins/obs-outputs/librtmp/rtmp.c:362:1:
warning: label 'error' defined but not used [-Wunused-label]
362 | error: