I again want to bring up Jack being left out of the CMAKE section. There's no point in having all of the Jack dependencies if you're not going to build the app with it's support and it's widely used and officially supported upstream. Please add -DENABLE_JACK=ON \
back to the CMAKE section.
Search Criteria
Package Details: obs-studio-git 30.1.1.r33.g3a10355-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 |
Keywords: | obs-studio |
Licenses: | GPL2 |
Conflicts: | obs-studio |
Provides: | obs-studio |
Submitter: | ledti |
Maintainer: | benklett |
Last Packager: | benklett |
Votes: | 95 |
Popularity: | 0.84 |
First Submitted: | 2014-03-12 22:29 (UTC) |
Last Updated: | 2024-04-01 15:47 (UTC) |
Dependencies (45)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR)
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR)
- gtk-update-icon-cache (gtk-update-icon-cache-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack)
- jansson (jansson-gitAUR)
- libajantv2AUR
- libdatachannel (libdatachannel-gitAUR, libdatachannel-niceAUR)
- librist (librist-gitAUR)
- libxinerama (libxinerama-randr-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- mbedtls2
- onevpl (libvpl-gitAUR, libvpl)
- pciutils (pciutils-gitAUR)
- qrcodegencpp-cmakeAUR
- qt6-svg
- speexdsp (speexdsp-gitAUR)
- asio (asio-gitAUR) (make)
- cef-minimal-obs-binAUR (make)
- cmake (cmake-gitAUR) (make)
- ffnvcodec-headers (ffnvcodec-headers-gitAUR, ffnvcodec-headers-11-1AUR, ffnvcodec-headers-12-1AUR) (make)
- Show 25 more dependencies...
Required by (142)
- 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)
- nudgis-obs-plugin (requires obs-studio)
- obs-3d-effect (requires obs-studio)
- obs-advanced-masks (requires obs-studio)
- obs-advanced-scene-switcher (requires obs-studio)
- obs-audio-monitor (requires obs-studio)
- Show 122 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 32 Next › Last »
dhtseany commented on 2024-03-26 17:09 (UTC)
dingodoppelt commented on 2024-03-26 01:42 (UTC)
Thank you very much for the fix @benklett!
Rucker commented on 2024-03-25 21:59 (UTC) (edited on 2024-03-25 22:01 (UTC) by Rucker)
Thanks for the patch! Just confirmed that it does in fact work
benklett commented on 2024-03-25 20:31 (UTC)
Hello, I pushed an update right now to fix the compile error. I was at a conference last week and therefore not able to fix the build. I am sorry for that.
no-prophet commented on 2024-03-17 04:27 (UTC)
@dingodoppelt It worked. Thank you for the advice, and thanks to @Davidyz for the fix.
dingodoppelt commented on 2024-03-17 00:32 (UTC)
@no-prophet see @Davidyz's answer. Until the maintainer updates this package this'll be the only way to compile it. Sadly the maintainer seems to have been inactive for some months now.
no-prophet commented on 2024-03-16 06:59 (UTC)
Fails to build (libajantv2 is installed)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LibAJANTV2 (missing: AJA_LIBRARIES_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) cmake/Modules/FindLibAJANTV2.cmake:98 (find_package_handle_standard_args) plugins/aja/cmake/legacy.cmake:17 (find_package) cmake/Modules/ObsHelpers.cmake:473 (include) plugins/aja/CMakeLists.txt:3 (legacy_check)
-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> error making: obs-studio-git-exit status 4
Davidyz commented on 2024-03-11 20:20 (UTC)
At the moment the official build instruction included the cmake option -DENABLE_AJA=0
. The building failed for me until I added this option to the cmake
command in the build
function of this PKGBUILD
. I don't know enough about obs (or cpp in general) but if your build fails please consider this. Here's my complete build
function:
build() {
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_BROWSER=ON \
-DCEF_ROOT_DIR="/opt/cef-obs" \
-DENABLE_LIBFDK=ON \
-DENABLE_AJA=0 \
-Wno-dev
cmake --build build
}
seo.disparate commented on 2024-01-28 01:40 (UTC) (edited on 2024-01-28 01:44 (UTC) by seo.disparate)
@zangoku
1 Take the patch text and save it into a file "obs_libdatachannel_fix.patch" and place it in the same directory as the PKGBUILD.
2 Add the patch filename to the "source" array in the PKGBUILD:
source=("$pkgname::git+https://github.com/obsproject/obs-studio.git#branch=master"
"git+https://github.com/Mixer/ftl-sdk.git"
"git+https://github.com/obsproject/obs-browser.git"
"git+https://github.com/obsproject/obs-websocket.git"
"obs_libdatachannel_fix.patch"
)
3 Add the md5sum of the patch to the "md5sums" array in the PKGBUILD (use the output of md5sum obs_libdatachannel_fix.patch
:
md5sums=("SKIP" "SKIP" "SKIP" "SKIP" "024f5214faf840efa736bbd42386b540")
4 Add the patch command in "prepare" function to apply the patch in the PKGBUILD:
prepare() {
cd $pkgname
gitconf="protocol.file.allow=always"
git config submodule.plugins/obs-outputs/ftl-sdk.url $srcdir/ftl-sdk
git config submodule.plugins/obs-browser.url $srcdir/obs-browser
git config submodule.plugins/obs-websocket.url $srcdir/obs-websocket
git -c $gitconf submodule update
patch -p1 < "$srcdir/obs_libdatachannel_fix.patch"
}
5 Build the package. It should apply the patch during the prepare step as specified.
EDIT: Oh they updated. Well I'm leaving this comment anyway for those who want to have an example of patching the source.
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)