aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-01-30 23:42:12 +0100
committerdec05eba <dec05eba@protonmail.com>2022-01-30 23:42:12 +0100
commit9f3d6f57689f6852bac52e3709558d22aa76ccd4 (patch)
tree8f004b4ce154466d79c05be7d1a0235f99e47105 /build.sh
parent371e30a0b7b0c2b426452a7be1b0437edb59d98f (diff)
Remove dependency on sibs
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..05603db
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+dependencies="gtk+-3.0 x11 xrandr libpulse"
+includes="$(pkg-config --cflags $dependencies)"
+libs="$(pkg-config --libs $dependencies)"
+g++ -o gpu-screen-recorder-gtk -O2 src/main.cpp -s $includes $libs