Please move obs-studio from depends to makedepends. The commands don't depend on obs-studio to work, and flatpak is now the best way to use obs-studio.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/obs-vkcapture.git (read-only, click to copy) |
|---|---|
| Package Base: | obs-vkcapture |
| Description: | OBS Linux Vulkan/OpenGL game capture |
| Upstream URL: | https://github.com/nowrep/obs-vkcapture |
| Keywords: | obs-studio opengl vulkan |
| Licenses: | GPL-2.0-or-later |
| Submitter: | SunRed |
| Maintainer: | SunRed |
| Last Packager: | SunRed |
| Votes: | 23 |
| Popularity: | 0.57 |
| First Submitted: | 2022-08-27 20:50 (UTC) |
| Last Updated: | 2026-05-28 18:21 (UTC) |
Please move obs-studio from depends to makedepends. The commands don't depend on obs-studio to work, and flatpak is now the best way to use obs-studio.
unable to build package:
Building C object CMakeFiles/linux-vkcapture.dir/src/vkcapture.c.o src/obs-vkcapture-1.5.0/src/vkcapture.c: In function ‘vkcapture_source_render’: src/obs-vkcapture-1.5.0/src/vkcapture.c:565:16: error: variable ‘color_space’ has initializer but incomplete type 565 | const enum gs_color_space color_space = gs_get_color_space(); | ^~
any idea what's going on?
It seems like this package has issues when keeping the existing directory when upgrading due to cmake complaining:
CMake Error: The source "./obs-vkcapture/src/obs-vkcapture-1.4.6/CMakeLists.txt" does not match the source "./obs-vkcapture/src/obs-vkcapture-1.4.5/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
A basic search unfortunately didn't turn up any particular ways to force cmake to use the build cache anyway (since it should be perfectly valid in this case despite the path differences), so I changed it to just use the downloaded src directory instead:
16c16,17
< cmake -B build -S "$pkgbase-$pkgver" \
---
> cd "$pkgbase-$pkgver"
> cmake -B build -S . \
27c28
< cmake -B build32 -S "$pkgbase-$pkgver" \
---
> cmake -B build32 -S . \
37a39
> cd "$pkgbase-$pkgver"
40c42
< DESTDIR="$pkgdir" cmake --install build
---
> DESTDIR="../$pkgdir" cmake --install build
43a46
> cd "$pkgbase-$pkgver"
47,48c50,51
< DESTDIR="$pkgdir" cmake --install build32
< rm -r "$pkgdir/usr/bin"
---
> DESTDIR="../$pkgdir" cmake --install build32
> rm -r "../$pkgdir/usr/bin"
Thanks for maintaining the package.
It works, thanks