X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=build-scripts%2Fbuild-linux.sh;h=338d9780a0504fb2f8c29063460a95ec2521c51a;hb=181d938c6b2c4fd014bc420960e51d38c399b1e4;hp=415235ae06efb574f46f09cc9da4df88f83047fb;hpb=99131dc964f4e37d7c2a99b5ec315c63f74c2841;p=casparcg diff --git a/build-scripts/build-linux.sh b/build-scripts/build-linux.sh index 415235ae0..338d9780a 100755 --- a/build-scripts/build-linux.sh +++ b/build-scripts/build-linux.sh @@ -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" @@ -43,6 +47,7 @@ cp -f shell/*.ttf "$SERVER_FOLDER/" || fail "Could not copy font(s)" cp -f shell/casparcg "$SERVER_FOLDER/bin/" || fail "Could not copy server executable" cp -f shell/casparcg.config "$SERVER_FOLDER/" || fail "Could not copy server config" cp -Rf shell/locales "$SERVER_FOLDER/bin/" || fail "Could not copy server CEF locales" +cp -f shell/*.pak "$SERVER_FOLDER/" || fail "Could not copy CEF resources" # Copy binary dependencies echo Copying binary dependencies... @@ -53,9 +58,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...