aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-23 23:56:19 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-23 23:56:19 +0100
commitb55096544bcb85dac380531cc293c840daa5edc9 (patch)
treea0d206f7503d5cd09c7e3ce3083b3dc836338444
parente87ade6ee31a0c9cdbd4b43f1dc4e06a7f4dacaa (diff)
Add version to --info output
-rw-r--r--meson.build2
-rw-r--r--project.conf2
-rw-r--r--src/main.cpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index bb71c47..286e557 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('gpu-screen-recorder', ['c', 'cpp'], version : '5.0.1', default_options : ['warning_level=2'])
+project('gpu-screen-recorder', ['c', 'cpp'], version : '5.0.2', default_options : ['warning_level=2'])
add_project_arguments('-Wshadow', language : ['c', 'cpp'])
if get_option('buildtype') == 'debug'
diff --git a/project.conf b/project.conf
index 874aa15..5abba27 100644
--- a/project.conf
+++ b/project.conf
@@ -1,7 +1,7 @@
[package]
name = "gpu-screen-recorder"
type = "executable"
-version = "5.0.1"
+version = "5.0.2"
platforms = ["posix"]
[config]
diff --git a/src/main.cpp b/src/main.cpp
index 751a258..d97341d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2154,6 +2154,7 @@ static void info_command() {
puts("is_steam_deck|yes");
else
puts("is_steam_deck|no");
+ printf("gsr_version|%s\n", GSR_VERSION);
puts("section=gpu_info");
list_gpu_info(&egl);
puts("section=video_codecs");