aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build13
1 files changed, 11 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 70a6a9b..55d4b70 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gpu-screen-recorder', ['c', 'cpp'], version : '5.3.3', default_options : ['warning_level=2'])
+project('gpu-screen-recorder', ['c', 'cpp'], version : '5.6.1', default_options : ['warning_level=2'])
add_project_arguments('-Wshadow', language : ['c', 'cpp'])
if get_option('buildtype') == 'debug'
@@ -14,6 +14,7 @@ src = [
'src/capture/xcomposite.c',
'src/capture/ximage.c',
'src/capture/kms.c',
+ 'src/encoder/encoder.c',
'src/encoder/video/video.c',
'src/encoder/video/nvenc.c',
'src/encoder/video/vaapi.c',
@@ -25,6 +26,9 @@ src = [
'src/window/window.c',
'src/window/x11.c',
'src/window/wayland.c',
+ 'src/replay_buffer/replay_buffer.c',
+ 'src/replay_buffer/replay_buffer_ram.c',
+ 'src/replay_buffer/replay_buffer_disk.c',
'src/egl.c',
'src/cuda.c',
'src/xnvctrl.c',
@@ -37,10 +41,15 @@ src = [
'src/cursor.c',
'src/damage.c',
'src/image_writer.c',
+ 'src/args_parser.c',
+ 'src/defs.c',
'src/sound.cpp',
'src/main.cpp',
]
+subdir('protocol')
+src += protocol_src
+
dep = [
dependency('threads'),
dependency('libavcodec'),
@@ -70,7 +79,6 @@ if get_option('portal') == true
'src/dbus.c',
'src/pipewire_video.c',
]
- dep += dependency('dbus-1')
add_project_arguments('-DGSR_PORTAL', language : ['c', 'cpp'])
uses_pipewire = true
endif
@@ -87,6 +95,7 @@ if uses_pipewire == true
dep += [
dependency('libpipewire-0.3'),
dependency('libspa-0.2'),
+ dependency('dbus-1'),
]
endif