obs-studio-rust-plugin-browser-git
obs-rust-git
scanned 2026-10-22 09:34:24.719450
The package builds from source using Git repositories from the project's own GitHub organization, which is normal for AUR packages; the low severity is due to skipped checksums and recent upload with few votes, not malicious content.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source using Git repositories from the project's own GitHub organization, which is normal for AUR packages; the low severity is due to skipped checksums and recent upload with few votes, not malicious content.
PKGBUILD
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Last release before fork point, useful for plugins that pin dependencies
_obs_ver=32.2.2
_obs_studio=obs-studio
pkgbase=obs-rust-git
pkgname=("$_obs_studio-rust-git" "$_obs_studio-rust-plugin-browser-git")
pkgver=0.0.0.r1837.g7d50081
pkgrel=1
pkgdesc="Free, open source software for live streaming and recording"
arch=('x86_64')
url="https://github.com/${pkgbase%-git}"
license=('GPL-2.0-only')
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'mbedtls3' 'rnnoise' 'pciutils'
'qt6-svg' 'curl' 'jack' 'gtk-update-icon-cache' 'pipewire' 'libxcomposite'
'libdatachannel' 'uthash' 'simde' 'qrcodegencpp-cmake' 'python' 'luajit')
makedepends=('cef' 'cmake' 'libfdk-aac' 'x264' 'swig' 'sndio' 'nlohmann-json'
'ffnvcodec-headers' 'websocketpp' 'asio' 'extra-cmake-modules'
'git' 'rust')
conflicts=("$_obs_studio"
"$_obs_studio-plugin-browser"
)
source=(
"$pkgbase::git+$url/$_obs_studio.git"
"${pkgbase}-libdshowcapture::git+$url/libdshowcapture.git"
"${pkgbase}-obs-browser::git+$url/obs-browser.git"
"${pkgbase}-obs-websocket::git+$url/obs-websocket.git"
)
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd "$pkgbase"
git submodule init
git config submodule."plugins/obs-browser".url "${srcdir}/${pkgbase}"-obs-browser
git config submodule."plugins/obs-websocket".url "${srcdir}/${pkgbase}"-obs-websocket
git config submodule."plugins/win-dshow/libdshowcapture".url "${srcdir}/${pkgbase}"-libdshowcapture
git -c protocol.file.allow=always submodule update --init --recursive
# use FindCEF provided by system CEF
rm cmake/finders/FindCEF.cmake
# set rpath to /usr/lib/cef for obs-browser plugin
sed -e 's|INSTALL_RPATH ".*"|INSTALL_RPATH "/usr/lib/cef/"|' -i plugins/obs-browser/cmake/os-linux.cmake
cargo fetch --locked --target host-tuple
}
pkgver() {
cd "$pkgbase"
# Tag last commit befor fork, waiting for what official tags will look like
git tag $pkgbase-v0.0.0 e7f0b0d43c538f5d108aa4cbea473d57b3012a1a ||:
git describe --long --abbrev=7 --tags --match="$pkgbase-v*" |
sed 's/^.*-v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
local _cef_api_version=$(grep -oP 'CEF_API_VERSION_LAST CEF_API_VERSION\_\K[0-9]+' /usr/include/cef/include/cef_api_versions.h)
echo Setting CEF_API_VERSION to $_cef_api_version
export CARGO_PROFILE_RELEASE_DEBUG=2
export CARGO_PROFILE_RELEASE_STRIP=false
export CARGO_PROFILE_RELEASE_LTO=true
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
local cmake_options=(
-B build
-S $pkgbase
-DCMAKE_INSTALL_PREFIX="/usr"
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
-DENABLE_BRAND_RUST=ON
-DOBS_RUST_VERSION="${pkgver%.r*}"
-DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS"
-DENABLE_BROWSER=ON
-DCEF_API_VERSION=$_cef_api_version
-DENABLE_VST=ON
-DENABLE_VLC=OFF
-DENABLE_NEW_MPEGTS_OUTPUT=OFF
-DENABLE_AJA=OFF
-DENABLE_JACK=ON
-DENABLE_LIBFDK=ON
-DENABLE_WEBRTC=ON
-DCALM_DEPRECATION=ON
-DENABLE_WEBSOCKET=ON
-Wno-dev
)
cmake "${cmake_options[@]}"
cmake --build build
}
package_obs-studio-rust-git() {
provides=("$_obs_studio-rust=${pkgver%%.g*}" "obs-studio=$_obs_ver")
optdepends=('libfdk-aac: FDK AAC codec support'
'libva-intel-driver: hardware encoding for older Intel GPUs'
'intel-media-driver: hardware encoding for recent Intel GPUs'
'libva-mesa-driver: hardware encoding'
'sndio: Sndio input client'
'v4l2loopback-dkms: virtual camera support'
'xdg-desktop-portal-impl: Wayland window/screen capture'
"$_obs_studio-plugin-browser: CEF-based browser plugin"
)
DESTDIR="$pkgdir" cmake --install build
}
package_obs-studio-rust-plugin-browser-git() {
provides=("$_obs_studio-rust-plugin-browser=$pkgver" "obs-studio-plugin-browser=$_obs_ver")
pkgdesc="CEF-based OBS Studio browser plugin"
url="https://obsproject.com/kb/browser-source"
depends=('cef' 'glibc' 'libgcc' 'libstdc++' 'libx11' "$_obs_studio-rust" 'qt6-base')
cd build/plugins
install -Dm755 obs-browser/obs-browser-page obs-browser/obs-browser.so -t $pkgdir/usr/lib/obs-plugins/
install -d $pkgdir/usr/share/obs/obs-plugins/
cp -a obs-browser $pkgdir/usr/share/obs/obs-plugins/
}
Changes since previous scan
--- PKGBUILD @ 2026-10-17 00:21+++ PKGBUILD @ 2026-10-22 09:34@@ -6,7 +6,7 @@ _obs_studio=obs-studio pkgbase=obs-rust-git pkgname=("$_obs_studio-rust-git" "$_obs_studio-rust-plugin-browser-git")-pkgver=0.0.0.r1240.gb474ce2+pkgver=0.0.0.r1837.g7d50081 pkgrel=1 pkgdesc="Free, open source software for live streaming and recording" arch=('x86_64')@@ -64,11 +64,22 @@ local _cef_api_version=$(grep -oP 'CEF_API_VERSION_LAST CEF_API_VERSION\_\K[0-9]+' /usr/include/cef/include/cef_api_versions.h) echo Setting CEF_API_VERSION to $_cef_api_version + export CARGO_PROFILE_RELEASE_DEBUG=2+ export CARGO_PROFILE_RELEASE_STRIP=false+ export CARGO_PROFILE_RELEASE_LTO=true+ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1+ export CARGO_PROFILE_RELEASE_OPT_LEVEL=3++ export RUSTUP_TOOLCHAIN=stable+ export CARGO_TARGET_DIR=target+ local cmake_options=( -B build -S $pkgbase -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF+ -DENABLE_BRAND_RUST=ON+ -DOBS_RUST_VERSION="${pkgver%.r*}" -DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS" -DENABLE_BROWSER=ON -DCEF_API_VERSION=$_cef_api_version@@ -79,18 +90,12 @@ -DENABLE_JACK=ON -DENABLE_LIBFDK=ON -DENABLE_WEBRTC=ON- -DOBS_VERSION_OVERRIDE="$pkgver" -DCALM_DEPRECATION=ON -DENABLE_WEBSOCKET=ON- -DENABLE_RUST_LIBOBS=ON -Wno-dev ) cmake "${cmake_options[@]}" cmake --build build- pushd "$pkgbase"- export RUSTUP_TOOLCHAIN=stable- export CARGO_TARGET_DIR=target- cargo build --frozen --release --all-features } package_obs-studio-rust-git() {@@ -105,8 +110,6 @@ "$_obs_studio-plugin-browser: CEF-based browser plugin" ) DESTDIR="$pkgdir" cmake --install build- pushd "$pkgbase"- install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/${pkgname%-git}" } package_obs-studio-rust-plugin-browser-git() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-22 09:34:24 | Low | 2 |
| 2026-10-17 00:21:55 | Clean | 2 |
| 2026-10-16 17:16:11 | Low | 1 |
| 2026-10-16 00:12:47 | Clean | 2 |
| 2026-10-15 19:13:05 | Low | 1 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 11:16:23 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 21:11:00 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-11 00:16:25 | Low | 2 |