obs-studio-rust-plugin-browser-git

LOW
maintainer alerque 1 votes base obs-rust-git scanned 2026-10-22 09:34:24.719450
View on AUR
Why flagged

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

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review 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

1# Maintainer: Caleb Maclennan <caleb@alerque.com>
2
3# Last release before fork point, useful for plugins that pin dependencies
4_obs_ver=32.2.2
5
6_obs_studio=obs-studio
7pkgbase=obs-rust-git
8pkgname=("$_obs_studio-rust-git" "$_obs_studio-rust-plugin-browser-git")
9pkgver=0.0.0.r1837.g7d50081
10pkgrel=1
11pkgdesc="Free, open source software for live streaming and recording"
12arch=('x86_64')
13url="https://github.com/${pkgbase%-git}"
14license=('GPL-2.0-only')
15depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'mbedtls3' 'rnnoise' 'pciutils'
16 'qt6-svg' 'curl' 'jack' 'gtk-update-icon-cache' 'pipewire' 'libxcomposite'
17 'libdatachannel' 'uthash' 'simde' 'qrcodegencpp-cmake' 'python' 'luajit')
18makedepends=('cef' 'cmake' 'libfdk-aac' 'x264' 'swig' 'sndio' 'nlohmann-json'
19 'ffnvcodec-headers' 'websocketpp' 'asio' 'extra-cmake-modules'
20 'git' 'rust')
21conflicts=("$_obs_studio"
22 "$_obs_studio-plugin-browser"
23)
24source=(
25 "$pkgbase::git+$url/$_obs_studio.git"
26 "${pkgbase}-libdshowcapture::git+$url/libdshowcapture.git"
27 "${pkgbase}-obs-browser::git+$url/obs-browser.git"
28 "${pkgbase}-obs-websocket::git+$url/obs-websocket.git"
29)
30sha256sums=('SKIP'
31 'SKIP'
32 'SKIP'
33 'SKIP')
34
35prepare() {
36 cd "$pkgbase"
37
38 git submodule init
39
40 git config submodule."plugins/obs-browser".url "${srcdir}/${pkgbase}"-obs-browser
41 git config submodule."plugins/obs-websocket".url "${srcdir}/${pkgbase}"-obs-websocket
42 git config submodule."plugins/win-dshow/libdshowcapture".url "${srcdir}/${pkgbase}"-libdshowcapture
43
44 git -c protocol.file.allow=always submodule update --init --recursive
45
46 # use FindCEF provided by system CEF
47 rm cmake/finders/FindCEF.cmake
48
49 # set rpath to /usr/lib/cef for obs-browser plugin
50 sed -e 's|INSTALL_RPATH ".*"|INSTALL_RPATH "/usr/lib/cef/"|' -i plugins/obs-browser/cmake/os-linux.cmake
51
52 cargo fetch --locked --target host-tuple
53}
54
55pkgver() {
56 cd "$pkgbase"
57 # Tag last commit befor fork, waiting for what official tags will look like
58 git tag $pkgbase-v0.0.0 e7f0b0d43c538f5d108aa4cbea473d57b3012a1a ||:
59 git describe --long --abbrev=7 --tags --match="$pkgbase-v*" |
60 sed 's/^.*-v//;s/\([^-]*-g\)/r\1/;s/-/./g'
61}
62
63build() {
64 local _cef_api_version=$(grep -oP 'CEF_API_VERSION_LAST CEF_API_VERSION\_\K[0-9]+' /usr/include/cef/include/cef_api_versions.h)
65 echo Setting CEF_API_VERSION to $_cef_api_version
66
67 export CARGO_PROFILE_RELEASE_DEBUG=2
68 export CARGO_PROFILE_RELEASE_STRIP=false
69 export CARGO_PROFILE_RELEASE_LTO=true
70 export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
71 export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
72
73 export RUSTUP_TOOLCHAIN=stable
74 export CARGO_TARGET_DIR=target
75
76 local cmake_options=(
77 -B build
78 -S $pkgbase
79 -DCMAKE_INSTALL_PREFIX="/usr"
80 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
81 -DENABLE_BRAND_RUST=ON
82 -DOBS_RUST_VERSION="${pkgver%.r*}"
83 -DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS"
84 -DENABLE_BROWSER=ON
85 -DCEF_API_VERSION=$_cef_api_version
86 -DENABLE_VST=ON
87 -DENABLE_VLC=OFF
88 -DENABLE_NEW_MPEGTS_OUTPUT=OFF
89 -DENABLE_AJA=OFF
90 -DENABLE_JACK=ON
91 -DENABLE_LIBFDK=ON
92 -DENABLE_WEBRTC=ON
93 -DCALM_DEPRECATION=ON
94 -DENABLE_WEBSOCKET=ON
95 -Wno-dev
96 )
97 cmake "${cmake_options[@]}"
98 cmake --build build
99}
100
101package_obs-studio-rust-git() {
102 provides=("$_obs_studio-rust=${pkgver%%.g*}" "obs-studio=$_obs_ver")
103 optdepends=('libfdk-aac: FDK AAC codec support'
104 'libva-intel-driver: hardware encoding for older Intel GPUs'
105 'intel-media-driver: hardware encoding for recent Intel GPUs'
106 'libva-mesa-driver: hardware encoding'
107 'sndio: Sndio input client'
108 'v4l2loopback-dkms: virtual camera support'
109 'xdg-desktop-portal-impl: Wayland window/screen capture'
110 "$_obs_studio-plugin-browser: CEF-based browser plugin"
111 )
112 DESTDIR="$pkgdir" cmake --install build
113}
114
115package_obs-studio-rust-plugin-browser-git() {
116 provides=("$_obs_studio-rust-plugin-browser=$pkgver" "obs-studio-plugin-browser=$_obs_ver")
117 pkgdesc="CEF-based OBS Studio browser plugin"
118 url="https://obsproject.com/kb/browser-source"
119 depends=('cef' 'glibc' 'libgcc' 'libstdc++' 'libx11' "$_obs_studio-rust" 'qt6-base')
120
121 cd build/plugins
122 install -Dm755 obs-browser/obs-browser-page obs-browser/obs-browser.so -t $pkgdir/usr/lib/obs-plugins/
123 install -d $pkgdir/usr/share/obs/obs-plugins/
124 cp -a obs-browser $pkgdir/usr/share/obs/obs-plugins/
125}
126

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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion