Порт obs-studio
Записываем по новому в OpenBSD!
Не будем кричать - “Долой FFmpeg!”, поскольку сия способ записи эркана имеет полнейшее право на существование и при должной сноровке может показаться даже удобнее, чем запись через сегодняшнего кандидата на его замену, а именно - obs-studio. И да, скорее всего он будет импортирован в ближайшее время.
Daniil Ryvkin пришел в рассылку с очень заманчивым предложением :
This adds a port for OBS Studio 32.1.2, a free and open source application for live streaming and screen recording.
Requires devel/simde (submitted separately).
Disabled: browser source (CEF), WebRTC, MPEG-TS output (SRT/RIST), obs-websocket, virtual camera output.
Tested on X11 (spectrwm). Screen capture (XSHM and Xcomposite), audio (sndio) recording, webcam capture, x264 and VAAPI encoding, file recording and streaming (RTMP) all work.
PipeWire screen capture (Wayland sessions) is implemented but could use testing from someone running a Wayland compositor.
После 22 писем, кучи фидбеков и замечаний от sthen@, последний, который является сторожилой рассылки OpenBSD, сказал следующее :
On 2026/08/04 15:28, Daniil Ryvkin wrote:
You were right, adding -L to the linker flags was all that was needed.
great. thanks for sticking with it after feedback :)
two things I noticed reading through,
- simple tweak that can be done by whoever imports (i.e. no need to send a new tar): drop “WWW: https://obsproject.com/" from pkg/DESCR, OpenBSD adds this automatically from HOMEPAGE
with that, it’s ok sthen to import.
the other is not a blocker but would be nice to do after import:
- in the patch to frontend/utility/platform-x11.cpp, it would be better to use XDG_RUNTIME_DIR from the environment if available. setusercontext() tries to create the dir with user-restricted permissions and sets that var if ok, so it’s a safer choice than /tmp/obs-studio.lock.
.
Осталось дождаться правок от Данила и вскоре мы увидим obs-studio в официальном ports-tree.
P.S - порт был импортирован в ports-tree.
Источники :