@seo.disparate thanks, I read the thread and the bug report as well… I find the global git config solution rather stupid since you're just opening up your system to the CVE the setting was supposed to fix, and I only modify the PKGBUILDs myself when absolutely needed. I do build in a clean chroot and since I know not all AUR maintainers do, I often comment with the stuff that doesn't work so they can fix it. Kind of upstream vs. downstream
Search Criteria
Package Details: obs-studio-git 31.0.1.r96.g80ea1b1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy) |
---|---|
Package Base: | obs-studio-git |
Description: | Free and open source software for video recording and live streaming |
Upstream URL: | https://github.com/obsproject/obs-studio |
Licenses: | GPL-2.0-only |
Conflicts: | obs-studio |
Provides: | obs-studio |
Submitter: | ledti |
Maintainer: | benklett (xiota) |
Last Packager: | xiota |
Votes: | 101 |
Popularity: | 0.22 |
First Submitted: | 2014-03-12 22:29 (UTC) |
Last Updated: | 2025-02-14 04:51 (UTC) |
Dependencies (60)
- at-spi2-core (at-spi2-core-gitAUR)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack)
- jansson (jansson-gitAUR)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR)
- librist (librist-gitAUR)
- libvpl (intel-media-stack-binAUR, libvpl-gitAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- pciutils (pciutils-gitAUR)
- qrcodegencpp-cmake
- qt6-svg
- rnnoise (rnnoise-gitAUR)
- speexdsp (speexdsp-gitAUR)
- alsa-lib (make)
- asio (asio-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- dbus (dbus-gitAUR, dbus-selinuxAUR) (make)
- expat (expat-gitAUR) (make)
- ffnvcodec-headers (ffnvcodec-headers-gitAUR, ffnvcodec-headers-11-1AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR) (make)
- libajantv2AUR (make)
- libcups (libcups-gitAUR, cups-gitAUR, libcups-gssapiAUR) (make)
- libdatachannel (libdatachannel-gitAUR, libdatachannel-niceAUR) (make)
- libdrm (libdrm-gitAUR) (make)
- libfdk-aac (libfdk-aac-gitAUR) (make)
- libx11 (libx11-gitAUR) (make)
- libxcb (libxcb-gitAUR) (make)
- libxcomposite (make)
- libxext (libxext-gitAUR) (make)
- libxfixes (make)
- libxkbcommon (libxkbcommon-gitAUR) (make)
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR) (make)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-amber) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- qt6-wayland (make)
- sndio (sndio-gitAUR) (make)
- swig (swig-gitAUR) (make)
- uthash (make)
- vlc (vlc-gitAUR, vlc-noxAUR, vlc-luajitAUR) (make)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR) (make)
- websocketpp (make)
- x264 (x264-tmod-gitAUR, x264-gitAUR) (make)
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (make)
- libfdk-aac (libfdk-aac-gitAUR) (optional) – FDK AAC codec support
- libva-intel-driver (libva-intel-driver-gitAUR, libva-intel-driver-hybridAUR, libva-intel-driver-g45-h264AUR, libva-intel-driver-hybrid-gitAUR) (optional) – hardware encoding
- libva-mesa-driver (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa) (optional) – hardware encoding
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR) (optional) – scripting support
- python (python37AUR, python311AUR, python310AUR) (optional) – scripting support
- sndio (sndio-gitAUR) (optional) – sndio input client
- v4l2loopback-dkms (v4l2loopback-dkms-gitAUR) (optional) – virtual camera support
- vlc (vlc-gitAUR, vlc-noxAUR, vlc-luajitAUR) (optional) – VLC Media Source
Required by (145)
- catppuccin-obs-theme-git (requires obs-studio)
- distroav (requires obs-studio)
- distroav-bin (requires obs-studio)
- distroav-git (requires obs-studio)
- droidcam-obs-plugin (requires obs-studio)
- droidcam-obs-plugin-bin (requires obs-studio)
- droidcam-obs-plugin-git (requires obs-studio)
- glava-git (requires obs-studio) (make)
- glava-git (requires obs-studio) (optional)
- glava-ridged (requires obs-studio) (optional)
- looking-glass (requires obs-studio) (make)
- looking-glass-git (requires obs-studio) (make)
- looking-glass-host (requires obs-studio) (make)
- looking-glass-host-git (requires obs-studio) (make)
- looking-glass-module-dkms (requires obs-studio) (make)
- looking-glass-module-dkms-git (requires obs-studio) (make)
- looking-glass-rc (requires obs-studio) (make)
- looking-glass-rc-host (requires obs-studio) (make)
- looking-glass-rc-module-dkms (requires obs-studio) (make)
- lyrica (requires obs-studio) (optional)
- Show 125 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 35 Next › Last »
IncredibleLaser commented on 2022-10-24 13:26 (UTC)
seo.disparate commented on 2022-10-24 01:25 (UTC) (edited on 2022-10-24 07:18 (UTC) by seo.disparate)
@IncredibleLaser Adding:
# required due to https://bbs.archlinux.org/viewtopic.php?id=280571
git config --global protocol.file.allow always
To the top of the prepare function in the PKGBUILD will fix it.
EDIT: The link referenced here has alternative commands you can use if you don't use a CHROOT to build and don't want to mess with global git config.
For example:
git -c protocol.file.allow=always submodule update
instead of
git submodule update
at the end of the prepare function in the PKGBUILD.
IncredibleLaser commented on 2022-10-23 09:49 (UTC) (edited on 2022-10-23 09:50 (UTC) by IncredibleLaser)
It's not fixed for me:
==> Starting prepare()...
patching file libobs/util/platform-nix.c
Hunk #1 succeeded at 81 (offset 10 lines).
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-browser' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser' failed
Failed to clone 'plugins/obs-browser'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-outputs/ftl-sdk'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/ftl-sdk' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-outputs/ftl-sdk' failed
Failed to clone 'plugins/obs-outputs/ftl-sdk'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-websocket'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-websocket' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-websocket' failed
Failed to clone 'plugins/obs-websocket'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-browser' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser' failed
Failed to clone 'plugins/obs-browser' a second time, aborting
==> ERROR: A failure occurred in prepare().
Aborting...
benklett commented on 2022-10-20 19:59 (UTC)
It should be fixed right now.
meyznu commented on 2022-10-20 13:54 (UTC)
@seo.disparate How do I use this information? I simply removed this package and installed "community/obs-studio".
seo.disparate commented on 2022-10-20 04:49 (UTC)
@meyznu I've been using the following:
pkgver() {
cd $pkgname
# include commit hash in version
git describe --long --tags | sed 's/-/./g'
}
prepare() {
# required due to https://bbs.archlinux.org/viewtopic.php?id=280571
git config --global protocol.file.allow always
...
}
build() {
cd $pkgname
mkdir -p build; cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_BROWSER=ON \
-DCEF_ROOT_DIR="/opt/cef-obs" \
-DOBS_VERSION_OVERRIDE=$(echo -n "$pkgver" | cut -d. -f1-4 | sed 's/beta//') ..
# remove the word "beta" from $pkgver when using OBS_VERSION_OVERRIDE
make
}
meyznu commented on 2022-10-15 16:26 (UTC) (edited on 2022-10-15 16:35 (UTC) by meyznu)
I still get a "format invalid" error
$ yay -S obs-studio-git
...
==> Starting pkgver()...
==> Updated version: obs-studio-git 28.1.0.beta1-1
==> Sources are ready.
==> Making package: obs-studio-git 28.1.0.beta1-1 (Sat 15 Oct 2022 09:21:30 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- OBS: Application Version: 28.1.0.beta1 - Build Number: 1
CMake Error at CMakeLists.txt:15 (project):
VERSION "28.1.0.beta1" format invalid.
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
-> error making: obs-studio-git
FirefistAce commented on 2022-09-16 18:36 (UTC)
The VST plugin is no longer a submodule so that is probably causing issues.
ArchBoxHero commented on 2022-09-16 18:22 (UTC)
Yea I still can't get this to build. I assume no others have problems building?
me/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python.c: In function ‘obs_scripting_load_python’:
/home/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python.c:1650:17: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
1650 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130,
from /home/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python-import.h:39,
from /home/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python.h:31,
from /home/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python.c:19:
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
/home/user/AUR/obs-test/obs-studio-git/src/obs-studio-git/deps/obs-scripting/obs-scripting-python.c:1651:17: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations]
1651 | if (!PyEval_ThreadsInitialized())
| ^~
/usr/include/python3.10/ceval.h:121:36: note: declared here
121 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[ 60%] Built target obs-websocket_autogen
[ 60%] Linking C shared module linux-pipewire.so
Installing linux-pipewire to OBS rundir
[ 60%] Built target linux-pipewire
[ 60%] Built target decklink-output-ui_autogen
[ 60%] Linking CXX shared module decklink.so
Installing decklink to OBS rundir
[ 60%] Built target decklink
[ 60%] Linking C shared module obs-outputs.so
Installing obs-outputs to OBS rundir
[ 60%] Built target obs-outputs
[ 60%] Linking CXX shared library libobs-scripting.so
Installing OBS rundir
[ 60%] Built target obs-scripting
[ 60%] Linking CXX shared module obs-vst.so
Installing obs-vst to OBS rundir
[ 60%] Built target obs-vst
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
✘ user@user ~/AUR/obs-test/obs-studio-git master ±
ArchBoxHero commented on 2022-09-14 03:03 (UTC) (edited on 2022-09-16 02:11 (UTC) by ArchBoxHero)
@Rustmilian Thanks. I cannot get it to build. *unfortunately I made the mistake of installing anaconda long enough ago that I will have some fun removing it. This is one of the issues that I face from time to time. Any thoughts anyone?
-- OBS: ENABLED frontend-tools
-- OBS: ENABLED decklink-captions
-- Configuring done
CMake Warning at UI/CMakeLists.txt:72 (add_executable):
Cannot generate a safe runtime search path for target obs because files in
some directories may conflict with libraries in implicit directories:
runtime library [libcurl.so.4] in /usr/lib may be hidden by files in:
/home/user/anaconda3/lib
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /home/user/AUR/streaming-recording/obs-studio-git/src/obs-studio-git/build
Consolidate compiler generated dependencies of target glad
Consolidate compiler generated dependencies of target blake2
Consolidate compiler generated dependencies of target caption
Consolidate compiler generated dependencies of target obs-browser-page
make[2]: *** No rule to make target '/opt/cef-obs/build/libcef_dll_wrapper/libcef_dll_wrapper.a', needed by 'plugins/obs-browser/obs-browser-page'. Stop.
make[1]: *** [CMakeFiles/Makefile2:1426: plugins/obs-browser/CMakeFiles/obs-browser-page.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] Built target obslua_swig_compilation
[ 1%] Built target glad
[ 1%] Built target obspython_swig_compilation
[ 1%] Built target blake2
[ 3%] Built target caption
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I can't mess with it tonight but will return when I get a moment
Pinned Comments
thotypous commented on 2021-02-05 14:12 (UTC)
If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx
benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)