aboutsummaryrefslogtreecommitdiff
path: root/install_ubuntu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install_ubuntu.sh')
-rwxr-xr-xinstall_ubuntu.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/install_ubuntu.sh b/install_ubuntu.sh
index af1af43..6a3bb4a 100755
--- a/install_ubuntu.sh
+++ b/install_ubuntu.sh
@@ -11,13 +11,4 @@ apt-get -y install build-essential\
libgl-dev libx11-dev libxcomposite-dev\
libpulse-dev
-dependencies="libavcodec libavformat libavutil x11 xcomposite libpulse libswresample"
-includes="$(pkg-config --cflags $dependencies) -Iexternal"
-libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
-g++ -c src/sound.cpp -O2 $includes
-g++ -c src/main.cpp -O2 $includes
-g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs
-install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
-install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
-
-echo "Successfully installed gpu-screen-recorder"
+./install.sh