aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-11 21:22:51 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-11 21:22:51 +0200
commitf1cc116af11d5f334609330dac6d3d22fa6ecee9 (patch)
tree9002c6e6a18d8fe4c6aa6687f2a068fbf28cbaff /build.sh
parent5710cb1662d02432c68ce287624b3eadaa122d76 (diff)
Convert build script to meson
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/build.sh b/build.sh
deleted file mode 100755
index c2edd5e..0000000
--- a/build.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-
-script_dir=$(dirname "$0")
-cd "$script_dir"
-
-CC=${CC:-gcc}
-CXX=${CXX:-g++}
-
-opts="-O2 -g0 -DNDEBUG -Wall -Wextra -Werror"
-[ -n "$DEBUG" ] && opts="-O0 -g3 -Wall -Wextra -Werror";
-
-build_gsr_gtk() {
- dependencies="gtk+-3.0 x11 xrandr libpulse libdrm wayland-egl wayland-client ayatana-appindicator3-0.1"
- includes="$(pkg-config --cflags $dependencies)"
- libs="$(pkg-config --libs $dependencies) -ldl"
- $CC -c src/egl.c $opts $includes
- $CC -c src/library_loader.c $opts $includes
- $CXX -c src/main.cpp $opts $includes
- $CXX -o gpu-screen-recorder-gtk egl.o library_loader.o main.o $libs $opts
-}
-
-build_gsr_gtk
-echo "Successfully built gpu-screen-recorder-gtk"