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
365e180d
Commit
365e180d
authored
Aug 29, 2019
by
azubieta
Browse files
Merge branch 'fix_build' into 'master'
fix build See merge request
!2
parents
36c517ae
dafc4a54
Pipeline
#903
passed with stage
in 5 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/package
View file @
365e180d
#!/bin/bash
set
-e
PKGNAME
=
'ocs-manager'
PKGUSER
=
'pkgbuilder'
...
...
@@ -17,21 +19,21 @@ appimage() { # docker-image: ubuntu:14.04
}
install_build_deps_appimage
()
{
apt update
-qq
apt
--force-yes
install
curl git
apt
-get
update
-qq
apt
-get
-y
--force-yes
install
curl git
#apt install build-essential qt5-default libqt5websockets5-dev
#apt -y install cmake automake libtool pkg-config wget desktop-file-utils libglib2.0-dev libcairo2-dev libssl-dev libcurl3 libcurl4-openssl-dev libxpm-dev
apt
--force-yes
install
libfontconfig1 libfreetype6 libssl1.0.0 zlib1g unzip p7zip unar
apt
-get
-y
--force-yes
install
libfontconfig1 libfreetype6 libssl1.0.0 zlib1g unzip p7zip unar
apt
--force-yes
install
software-properties-common
apt
-get
-y
--force-yes
install
software-properties-common
add-apt-repository
-y
ppa:beineri/opt-qt597-trusty
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 update
-qq
apt
-get
update
-qq
apt
--force-yes
install
build-essential mesa-common-dev libglu1-mesa-dev qt59base qt59websockets
apt
-get
-y
--force-yes
install
build-essential mesa-common-dev libglu1-mesa-dev qt59base qt59websockets
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
--force-yes
install
automake libtool pkg-config wget desktop-file-utils libglib2.0-dev libcairo2-dev libssl-dev libcurl3 libcurl4-openssl-dev libxpm-dev
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
}
build_appimage
()
{
...
...
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