Package Details: obs-studio-git 30.1.1.r33.g3a10355-1

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
Keywords: obs-studio
Licenses: GPL2
Conflicts: obs-studio
Provides: obs-studio
Submitter: ledti
Maintainer: benklett
Last Packager: benklett
Votes: 95
Popularity: 1.08
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2024-04-01 15:47 (UTC)

Required by (141)

Sources (4)

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)

This is a -git package, that means you have to update it! Please do not flag it out of date because of the version number. The version number will automatically increase to the version of the latest commit. If you want to have the stable versions, please install the package obs-studio from [community].

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 32 Next › Last »

benklett commented on 2022-10-24 14:15 (UTC)

Hi, I added the suggested cli switch for that option and updated the package. Let me know if it works.

IncredibleLaser commented on 2022-10-24 13:26 (UTC)

@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

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 ± 