aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-17 20:11:30 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-17 20:11:30 +0200
commit4a08768cc34dd6aa0a42f2d05da2098316440729 (patch)
tree37d75ae60b0058165ed089eeee17cade67506dd8
parent7048ed6184f607623534dfe84b74124090667ec8 (diff)
Fix meson build, remove libdrm dependency
-rw-r--r--README.md2
-rw-r--r--meson.build3
-rw-r--r--project.conf1
3 files changed, 1 insertions, 5 deletions
diff --git a/README.md b/README.md
index 2e993b9..e2f5571 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Bind a key to `killall -SIGINT gpu-screen-recorder` to stop recording (also save
## Installation
This program depends on [GPU Screen Recorder](https://git.dec05eba.com/gpu-screen-recorder/) which needs to be installed first.\
Run `sudo ./install.sh` or if you are running Arch Linux, then you can find gpu screen recorder gtk on aur under the name gpu-screen-recorder-gtk-git (`yay -S gpu-screen-recorder-gtk-git`).\
-Dependencies needed when building using `install.sh`: `meson gtk3 libx11 libpulse libdrm ayatana-appindicator3-0.1`.\
+Dependencies needed when building using `install.sh`: `meson gtk3 libx11 libpulse ayatana-appindicator3-0.1`.\
You can also install gpu screen recorder (the gtk gui version) from [flathub](https://flathub.org/apps/details/com.dec05eba.gpu_screen_recorder). This flatpak includes gpu-screen-recorder so no need to install that first.
## Screenshots
diff --git a/meson.build b/meson.build
index f7c833d..9703aad 100644
--- a/meson.build
+++ b/meson.build
@@ -8,8 +8,6 @@ elif get_option('buildtype') == 'release'
endif
src = [
- 'src/egl.c',
- 'src/library_loader.c',
'src/main.cpp',
]
@@ -17,7 +15,6 @@ dep = [
dependency('gtk+-3.0'),
dependency('x11'),
dependency('libpulse'),
- dependency('libdrm'),
dependency('ayatana-appindicator3-0.1'),
]
diff --git a/project.conf b/project.conf
index 93a66cd..9792588 100644
--- a/project.conf
+++ b/project.conf
@@ -12,5 +12,4 @@ error_on_warning = "true"
gtk+-3.0 = "3"
x11 = "1"
libpulse = ">=13"
-libdrm = ">=2"
ayatana-appindicator3-0.1 = ">=0"