Skip to content

Commit

Permalink
build AppImage with Ubuntu 14.04 and Qt 5.9.3
Browse files Browse the repository at this point in the history
Revert all experimental changes
  • Loading branch information
anatoly-os committed Jul 6, 2019
1 parent cfc28d9 commit d2d863f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 0 additions & 2 deletions build/Linux+BSD/portable/copy-libs
Expand Up @@ -65,8 +65,6 @@ getCrossPlatformDependencies() {
#copyLib libicudata.so #icudt53.dll # Needed by Ubuntu 12.04
#copyLib libicui18n.so #libicuin53.so.5 # Needed by Ubuntu 12.04
#copyLib libicuuc.so #libicuuc53.so.5 # Needed by Ubuntu 12.04

copyLib libXrandr.so.2 #required to link MuseScore code with QWebEngine from Qt 5.9.8

copyLib libQt5CLucene.so.5
copyLib libQt5Core.so.5
Expand Down
16 changes: 13 additions & 3 deletions build/Linux+BSD/portable/x86_64/Recipe
Expand Up @@ -25,7 +25,6 @@ apt-get -y install \
libgl1-mesa-dev \
libopenal1 \
gstreamer0.10-plugins-base \
libxrandr2 \
software-properties-common # installs `add-apt-repository`

# get newer compiler
Expand All @@ -39,7 +38,6 @@ apt-get -y install \
g++-4.9 \
wget \
make \
cmake \
curl \
alsa \
libasound2-dev \
Expand All @@ -66,7 +64,7 @@ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 40 --slave /usr/
# get Qt
if [ ! -d "qt5" ]; then
mkdir qt5
wget -q -O qt5.zip https://s3.amazonaws.com/utils.musescore.org/qt598.zip
wget -q -O qt5.zip https://s3.amazonaws.com/utils.musescore.org/qt593.zip
unzip -qq qt5.zip -d qt5
rm -f qt5.zip
fi
Expand All @@ -75,6 +73,18 @@ export QT_PLUGIN_PATH="${PWD}/qt5/plugins"
export QML2_IMPORT_PATH="${PWD}/qt5/qml"
export LD_LIBRARY_PATH="${PWD}/qt5/lib:$LD_LIBRARY_PATH"

# install cmake
if [ ! -d cmake ]; then
if [ "$(arch)" = "i686" ]; then
CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.1-Linux-i386.tar.gz"
else
CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.1-Linux-$(arch).tar.gz"
fi
mkdir cmake
wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi
export PATH="${PWD}/cmake/bin:${PATH}"

# build AppImageKit
if [ ! -d "AppImageKit" ]; then
git clone https://github.com/probonopd/AppImageKit.git
Expand Down

0 comments on commit d2d863f

Please sign in to comment.