diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-09 16:59:09 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-09 16:59:09 +0100 |
commit | a3fedae32937f8965c9905e12633fa4de0c3658e (patch) | |
tree | a8596397292e6fc674f8fe3c8f09f17b63b0d646 /build.sh | |
parent | 5e05bbbbcbd45298c48af2b56a33da93d15b8f44 (diff) |
Draw cursor in window capture
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -20,7 +20,7 @@ build_gsr_kms_server() { } build_gsr() { - dependencies="libavcodec libavformat libavutil x11 xcomposite xrandr libpulse libswresample libavfilter libva libcap libdrm wayland-egl wayland-client" + dependencies="libavcodec libavformat libavutil x11 xcomposite xrandr xfixes libpulse libswresample libavfilter libva libcap libdrm wayland-egl wayland-client" includes="$(pkg-config --cflags $dependencies)" libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm" $CC -c src/capture/capture.c $opts $includes @@ -41,10 +41,11 @@ build_gsr() { $CC -c src/color_conversion.c $opts $includes $CC -c src/utils.c $opts $includes $CC -c src/library_loader.c $opts $includes + $CC -c src/cursor.c $opts $includes $CXX -c src/sound.cpp $opts $includes $CXX -c src/main.cpp $opts $includes $CXX -o gpu-screen-recorder capture.o nvfbc.o kms_client.o egl.o cuda.o xnvctrl.o overclock.o window_texture.o shader.o \ - color_conversion.o utils.o library_loader.o xcomposite.o xcomposite_cuda.o xcomposite_vaapi.o kms_vaapi.o kms_cuda.o kms.o sound.o main.o $libs $opts + color_conversion.o utils.o library_loader.o cursor.o xcomposite.o xcomposite_cuda.o xcomposite_vaapi.o kms_vaapi.o kms_cuda.o kms.o sound.o main.o $libs $opts } build_gsr_kms_server |