mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 14:30:45 +09:00
Mention setcap dependency
This commit is contained in:
@@ -28,6 +28,7 @@ These are the dependencies needed to build GPU Screen Recorder UI:
|
|||||||
* libpulse (libpulse-simple)
|
* libpulse (libpulse-simple)
|
||||||
* libdrm
|
* libdrm
|
||||||
* wayland (wayland-client, wayland-egl, wayland-scanner)
|
* wayland (wayland-client, wayland-egl, wayland-scanner)
|
||||||
|
* setcap (libcap)
|
||||||
|
|
||||||
## Runtime dependencies
|
## Runtime dependencies
|
||||||
There are also additional dependencies needed at runtime:
|
There are also additional dependencies needed at runtime:
|
||||||
|
|||||||
@@ -1640,6 +1640,7 @@ namespace gsr {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Utf8 truncate
|
||||||
static void truncate_string(std::string &str, int max_length) {
|
static void truncate_string(std::string &str, int max_length) {
|
||||||
if((int)str.size() > max_length)
|
if((int)str.size() > max_length)
|
||||||
str.replace(str.begin() + max_length, str.end(), "...");
|
str.replace(str.begin() + max_length, str.end(), "...");
|
||||||
|
|||||||
Reference in New Issue
Block a user