File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed
Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# This script builds the AppImage for the application.
3- # Run it from the root of the repository.
4- # meson setup must have been given the --prefix=/usr option.
3+ # Run it from the root of the repository:
4+ # ./build-aux/appimage/build_appimage.sh <build_dir> <app_dir>
5+
6+ build_dir=$1
7+ app_dir=$2
58
69if [ ! -f " linuxdeploy-x86_64.AppImage" ]; then
710 curl -L https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20250213-2/linuxdeploy-x86_64.AppImage -o linuxdeploy-x86_64.AppImage
811 chmod +x linuxdeploy-x86_64.AppImage
912fi
1013
11- if [ -d " AppDir" ]; then
12- rm -rf " AppDir"
14+ if [ -d " ${build_dir} " ]; then
15+ rm -rf " ${build_dir} "
16+ fi
17+
18+ if [ -d " ${app_dir} " ]; then
19+ rm -rf " ${app_dir} "
1320fi
1421
15- cd buildDir
16- meson install --no-rebuild --destdir ../AppDir
22+ meson setup " ${build_dir} " --prefix=/usr --buildtype release
23+ cd " ${build_dir} " || exit 1
24+ meson install --destdir ../" ${app_dir} "
1725
18- cd ../AppDir
19- rm usr/bin/gorfector-tests
26+ cd ../" ${app_dir} " || exit
27+ rm -f usr/bin/gorfector-tests
2028mv usr/share/metainfo/com.patrickfournier.gorfector.metainfo.xml usr/share/metainfo/com.patrickfournier.gorfector.appdata.xml
2129
2230cd ..
23- ./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
24-
31+ ./linuxdeploy-x86_64.AppImage --appdir " ${app_dir} " --output appimage
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : gorfector master\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2025-05-23 11:18 -0400\n "
10+ "POT-Creation-Date : 2025-05-23 17:34 -0400\n "
1111"PO-Revision-Date : 2025-05-20 11:34-0400\n "
1212"Last-Translator : Patrick Fournier <>\n "
1313"Language-Team : French - Canada\n "
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2025-05-23 11:18 -0400\n "
11+ "POT-Creation-Date : 2025-05-23 17:34 -0400\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"
Language-Team :
LANGUAGE <[email protected] >\n "
You can’t perform that action at this time.
0 commit comments