Skip to content
Snippets Groups Projects
Commit f2fa0056 authored by akiraohgaki's avatar akiraohgaki
Browse files

Prebuild libappimageupdate

parent cd35eecf
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@
build_*/
lib/qtlib/
lib/AppImageUpdate/
lib/AppImageUpdate-prebuilt/
......@@ -37,6 +37,7 @@ build_appimage() {
# docker-image: ubuntu:17.10
apt update -qq
apt -y install build-essential qt5-default libqt5websockets5-dev
apt -y install cmake libcurl4-gnutls-dev libxpm-dev
apt -y install libssl1.0.0 zlib1g
apt -y install git
apt -y install curl
......
......@@ -10,3 +10,10 @@ if [ ! -d "${PROJDIR}/lib/AppImageUpdate" ]; then
git clone https://github.com/AppImage/AppImageUpdate.git -b continuous --single-branch --depth=1 "${PROJDIR}/lib/AppImageUpdate"
git -C "${PROJDIR}/lib/AppImageUpdate" submodule update --init --recursive --depth=1
fi
if [ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]; then
mkdir "${PROJDIR}/lib/AppImageUpdate-prebuilt"
cd "${PROJDIR}/lib/AppImageUpdate-prebuilt"
cmake "${PROJDIR}/lib/AppImageUpdate" -DUSE_SYSTEM_CURL=OFF -DBUILD_CPR_TESTS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
make libappimageupdate
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment