Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DFN2
ocs-manager
Commits
495d8f93
Verified
Commit
495d8f93
authored
Sep 09, 2019
by
azubieta
Browse files
build on ubuntu 16.04 using qt 5.12
parent
4e91d574
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
495d8f93
...
...
@@ -3,7 +3,7 @@ stages:
appimage
:
stage
:
build
image
:
ubuntu:1
4
.04
image
:
ubuntu:1
6
.04
only
:
-
master
-
/^release\-.+/
...
...
scripts/package
View file @
495d8f93
...
...
@@ -15,7 +15,7 @@ BUILDDIR="${PROJDIR}/build_${PKGNAME}"
appimage
()
{
# docker-image: ubuntu:14.04
install_build_deps_appimage
add_pkguser
su
-c
"export HOME=/home/
${
PKGUSER
}
&& source /opt/qt5
9
/bin/qt5
9
-env.sh && "
${
PKGSCRIPT
}
" build_appimage"
${
PKGUSER
}
su
-c
"export HOME=/home/
${
PKGUSER
}
&& source /opt/qt5
12
/bin/qt5
12
-env.sh && "
${
PKGSCRIPT
}
" build_appimage"
${
PKGUSER
}
}
install_build_deps_appimage
()
{
...
...
@@ -26,12 +26,12 @@ install_build_deps_appimage() {
apt-get
-y
--force-yes
install
libfontconfig1 libfreetype6 libssl1.0.0 zlib1g unzip p7zip unar
apt-get
-y
--force-yes
install
software-properties-common
add-apt-repository
-y
ppa:beineri/opt-qt
597-trusty
add-apt-repository
-y
ppa:beineri/opt-qt
-5.12.3-xenial
echo
'deb http://download.opensuse.org/repositories/home:/TheAssassin:/AppImageLibraries/xUbuntu_14.04/ /'
>
/etc/apt/sources.list.d/curl-httponly.list
curl
-fsSL
https://download.opensuse.org/repositories/home:TheAssassin:AppImageLibraries/xUbuntu_14.04/Release.key | apt-key add -
apt-get update
-qq
apt-get
-y
--force-yes
install
build-essential mesa-common-dev libglu1-mesa-dev qt5
9
base qt5
9
websockets
apt-get
-y
--force-yes
install
build-essential mesa-common-dev libglu1-mesa-dev qt5
12
base qt5
12
websockets
curl
-fsSL
https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3-Linux-x86_64.tar.gz |
tar
-xz
--strip-components
=
1
-C
/
apt-get
-y
--force-yes
install
automake libtool pkg-config wget desktop-file-utils libglib2.0-dev libcairo2-dev libssl-dev libcurl3 libcurl4-openssl-dev libxpm-dev
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment