on xenial help sign in
Add ppa:ubuntu-unity/next instead.
486111dMichał Sawicz
@@ -23,10 +23,16 @@ $ cd ~/unity8/trunk
23$ ./build --setup
23$ ./build --setup
24
24
25 this will:
25 this will:
26+ - add ppa:ubuntu-unity/next
26 - install the required dependencies to build, as well as run on the desktop
27 - install the required dependencies to build, as well as run on the desktop
27 - it should also install unity-scope-home and unity-lens-application which
28 - it should also install unity-scope-home and unity-lens-application which
28 are technically "recommends", not strict dependencies
29 are technically "recommends", not strict dependencies
29
30
31+Note, once the PPA is added, the script runs apt-get update, if you have
32+any failures associated with it, the build script will bail out of the setup
33+and fail to install all the required dependencies.
34+
35+
30build Unity 8
36build Unity 8
31-------------
37-------------
32
38
build+1
@@ -36,6 +36,7 @@ BUILD_TYPE="debug"
36[ $# -eq 1 ] && BUILD_TYPE="$1"
36[ $# -eq 1 ] && BUILD_TYPE="$1"
37
37
38install_dependencies() {
38install_dependencies() {
39+ [ -f /etc/apt/sources.list.d/ubuntu-unity-next-${DISTRIB_CODENAME}.list ] || sudo add-apt-repository ppa:ubuntu-unity/next || exit 1
39 sudo apt-get update || exit 4
40 sudo apt-get update || exit 4
40 echo "Installing Unity 8 dependencies.."
41 echo "Installing Unity 8 dependencies.."
41 sudo apt-get install devscripts \
42 sudo apt-get install devscripts \