Package Details: obs-vkcapture 1.5.1-1

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: 14
Popularity: 0.28
First Submitted: 2022-08-27 20:50 (UTC)
Last Updated: 2024-07-21 06:01 (UTC)

Latest Comments

thegingernut commented on 2024-04-07 12:48 (UTC)

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?

  • gcc (GCC) 13.2.1 20230801
  • makepkg (pacman) 6.1.0

Prior5151 commented on 2023-12-01 23:44 (UTC)

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.

amdlike commented on 2023-03-16 16:34 (UTC)

It works, thanks