Files
ports/graphics/openboard/files/patch-src_podcast_UBPodcastController.cpp
T
Luigi Arone 490927c30b graphics/openboard: New port: Interactive whiteboard
OpenBoard is an open source cross-platform interactive whiteboard
application designed primarily for use in schools. It was originally
forked from Open-Sankore, which was itself based on Uniboard. It
supports digital pens, virtual keyboards, PDF import, web browsing,
video playback, and screen annotations.

WWW: https://www.openboard.org/
https://github.com/OpenBoard-org/OpenBoard/

Patches reported to upstream:
https://github.com/OpenBoard-org/OpenBoard/pull/1489
https://github.com/OpenBoard-org/OpenBoard/pull/1490

PR:		295104
Sponsored by:	UNIS Labs
2026-05-13 03:10:41 +03:00

30 lines
1.1 KiB
C++

--- src/podcast/UBPodcastController.cpp.orig 2026-03-23 11:30:46 UTC
+++ src/podcast/UBPodcastController.cpp
@@ -64,7 +64,7 @@
#elif defined(Q_OS_OSX)
#include "ffmpeg/UBFFmpegVideoEncoder.h"
#include "ffmpeg/UBMicrophoneInput.h"
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#include "ffmpeg/UBFFmpegVideoEncoder.h"
#include "ffmpeg/UBMicrophoneInput.h"
#endif
@@ -315,7 +315,7 @@ void UBPodcastController::start()
mVideoEncoder = new UBWindowsMediaVideoEncoder(this); //deleted on stop
#elif defined(Q_OS_OSX)
mVideoEncoder = new UBFFmpegVideoEncoder(this);
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
mVideoEncoder = new UBFFmpegVideoEncoder(this);
#endif
@@ -780,7 +780,7 @@ QStringList UBPodcastController::audioRecordingDevices
devices = UBWaveRecorder::waveInDevices();
#elif defined(Q_OS_OSX)
devices = UBMicrophoneInput::availableDevicesNames();
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
devices = UBMicrophoneInput::availableDevicesNames();
#endif