Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cust
kom-in
qDaisy
Commits
f6ed72d3
Commit
f6ed72d3
authored
May 31, 2022
by
Tim Shirley
🖥
Browse files
Build AppImage from source
parent
e39ad1c8
Pipeline
#366
passed with stages
in 4 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f6ed72d3
...
...
@@ -9,6 +9,7 @@ build qDaisy:
stage
:
build
before_script
:
# install dependencies
-
apt-get update
-
apt-get install -yqq libxml2-dev libvlc-dev unzip
script
:
# install libduck from latest package job
...
...
@@ -24,6 +25,7 @@ package-qDaisy:
stage
:
package
before_script
:
# install dependencies
-
apt-get update
-
apt-get install -yqq libxml2-dev libvlc-dev unzip
script
:
# install libduck from latest package job
...
...
@@ -41,11 +43,20 @@ package-qDaisy:
appimage-qDaisy
:
stage
:
package
image
:
appimagecrafters/appimage-builder
before_script
:
# install dependencies
-
apt-get update
-
apt-get install -yqq curl libxml2-dev libvlc-dev unzip qt5-default qtbase5-dev qttools5-dev-tools
-
apt-get install -yqq curl libxml2-dev libvlc-dev unzip wget
# get linuxdeploy and Qt plugin
-
'
wget
https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage'
-
'
wget
https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage'
# make AppImages executable
-
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
# extract and rename AppImages (FUSE not available here)
-
./linuxdeploy-x86_64.AppImage --appimage-extract
-
mv squashfs-root linuxdeploy.AppDir
-
./linuxdeploy-plugin-qt-x86_64.AppImage --appimage-extract
-
mv squashfs-root linuxdeploy-plugin-qt.AppDir
script
:
# install libduck from latest package job
-
'
curl
--location
--output
artifacts.zip
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
"https://$GIT_HOST/api/v4/projects/$PROJECT_ID/jobs/artifacts/main/download?job=package-libduck"'
...
...
@@ -56,7 +67,15 @@ appimage-qDaisy:
-
./configure --prefix=/usr
-
make install DESTDIR=../AppDir
# create AppImage
-
appimage-builder --skip-test
-
cd linuxdeploy.AppDir
-
./AppRun --appdir ../AppDir
# run linuxdeploy Qt plugin
-
cd ../linuxdeploy-plugin-qt.AppDir
-
./AppRun --appdir ../AppDir
# create AppImage
-
cd ../linuxdeploy.AppDir
-
./AppRun --appdir ../AppDir --output appimage
-
mv qDaisy*.AppImage ../
artifacts
:
paths
:
-
'
*.AppImage
*
'
-
'
qDaisy
*.AppImage'
haggl
@haggl
mentioned in commit
4aaf702a
·
Jul 21, 2022
mentioned in commit
4aaf702a
mentioned in commit 4aaf702ab20d5a5ea91f191c5e0729e34d900bba
Toggle commit list
haggl
@haggl
mentioned in commit
dfb85d03
·
Jul 21, 2022
mentioned in commit
dfb85d03
mentioned in commit dfb85d03b8c41054cad869f1051242bec6b82f0c
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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