]> git.sesse.net Git - casparcg/blobdiff - build-scripts/build-linux.sh
No more use for retry_task in decklink_consumer now since audio and video are complet...
[casparcg] / build-scripts / build-linux.sh
index 415235ae06efb574f46f09cc9da4df88f83047fb..bc75a81a63bfbb71e446dc4ac30d1f81c2c608bc 100755 (executable)
@@ -10,6 +10,10 @@ fail()
 [ -z "$BUILD_ARCHIVE_NAME" ] && fail "BUILD_ARCHIVE_NAME has to be set"
 [ -z "$BUILD_PARALLEL_THREADS" ] && fail "BUILD_PARALLEL_THREADS has to be set"
 
+# Unpack archived dependencies
+cd ../dependencies64 || fail "Could not enter ../dependencies64"
+tar xvJf large_files_linux.tar.xz || fail "Could not unpack large_files_linux.tar.xz"
+
 # Clean and enter shadow build folder
 echo Cleaning...
 if [ -e ../build ]; then
@@ -19,7 +23,7 @@ fi
 mkdir ../build || fail "Could not create ../build"
 cd ../build || fail "Could not enter ../build"
 
-# Run qmake
+# Run cmake
 echo Running cmake...
 cmake -G "Unix Makefiles" -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo .. || fail "cmake failed"
 
@@ -53,9 +57,9 @@ cp -Rf ../deploy/general/server/media "$SERVER_FOLDER/" || fail "Could not copy
 
 # Copy documentation
 echo Copying documentation...
-cp -f ../CHANGES.txt "$SERVER_FOLDER/" || fail "Could not copy CHANGES.txt"
-cp -f ../README.txt "$SERVER_FOLDER/" || fail "Could not copy README.txt"
-cp -f ../LICENSE.txt "$SERVER_FOLDER/" || fail "Could not copy LICENSE.txt"
+cp -f ../CHANGELOG "$SERVER_FOLDER/" || fail "Could not copy CHANGELOG"
+cp -f ../README "$SERVER_FOLDER/" || fail "Could not copy README"
+cp -f ../LICENSE "$SERVER_FOLDER/" || fail "Could not copy LICENSE"
 
 # Create tar.gz file
 echo Creating tag.gz...