Package Base Details: obs-vkcapture

Git Clone URL: (read-only, click to copy)
Keywords: obs-studio opengl vulkan
Submitter: SunRed
Maintainer: SunRed
Last Packager: SunRed
Votes: 13
Popularity: 1.42
First Submitted: 2022-08-27 20:50 (UTC)
Last Updated: 2024-04-01 18:00 (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:

<   cmake -B build -S "$pkgbase-$pkgver" \
>   cd "$pkgbase-$pkgver"
>   cmake -B build -S . \
<   cmake -B build32 -S "$pkgbase-$pkgver" \
>   cmake -B build32 -S . \
>   cd "$pkgbase-$pkgver"
<   DESTDIR="$pkgdir" cmake --install build
>   DESTDIR="../$pkgdir" cmake --install build
>   cd "$pkgbase-$pkgver"
<   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