From 4a08768cc34dd6aa0a42f2d05da2098316440729 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 17 Jul 2024 20:11:30 +0200 Subject: Fix meson build, remove libdrm dependency --- README.md | 2 +- meson.build | 3 --- project.conf | 1 - 3 files changed, 1 insertion(+), 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" -- cgit v1.2.3