Bring the AppImage tools into the repo so we don't have to download them from unreliable external locations
This commit is contained in:
parent
940a71931d
commit
ad2bad17e8
6 changed files with 10 additions and 22 deletions
|
|
@ -54,26 +54,20 @@ qmake "$REPO_ROOT"
|
|||
make -j$(nproc)
|
||||
make install INSTALL_ROOT=AppDir
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Now, build AppImage using linuxdeploy and linuxdeploy-plugin-qt #
|
||||
# Download linuxdeploy and its Qt plugin #
|
||||
#-----------------------------------------------------------------------#
|
||||
wget https://artifacts.assassinate-you.net/artifactory/linuxdeploy/travis-456/linuxdeploy-i386.AppImage
|
||||
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-i386.AppImage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Make them executable #
|
||||
#-----------------------------------------------------------------------#
|
||||
chmod +x linuxdeploy*.AppImage
|
||||
chmod +x "$REPO_ROOT"/scripts/tools/linuxdeploy*.AppImage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Make sure Qt plugin finds QML sources so it can deploy the imported #
|
||||
# files #
|
||||
#-----------------------------------------------------------------------#
|
||||
export QML_SOURCES_PATHS="$REPO_ROOT"/src
|
||||
|
||||
./linuxdeploy-i386.AppImage --appimage-extract-and-run --appdir AppDir -e OpenRGB -i "$REPO_ROOT"/qt/OpenRGB.png -d "$REPO_ROOT"/qt/OpenRGB.desktop
|
||||
./linuxdeploy-plugin-qt-i386.AppImage --appimage-extract-and-run --appdir AppDir
|
||||
./linuxdeploy-i386.AppImage --appimage-extract-and-run --appdir AppDir --output appimage
|
||||
"$REPO_ROOT"/scripts/tools//linuxdeploy-i386.AppImage --appimage-extract-and-run --appdir AppDir -e OpenRGB -i "$REPO_ROOT"/qt/OpenRGB.png -d "$REPO_ROOT"/qt/OpenRGB.desktop
|
||||
"$REPO_ROOT"/scripts/tools//linuxdeploy-plugin-qt-i386.AppImage --appimage-extract-and-run --appdir AppDir
|
||||
"$REPO_ROOT"/scripts/tools//linuxdeploy-i386.AppImage --appimage-extract-and-run --appdir AppDir --output appimage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Move built AppImage back into original CWD #
|
||||
|
|
|
|||
|
|
@ -54,26 +54,20 @@ qmake "$REPO_ROOT"
|
|||
make -j$(nproc)
|
||||
make install INSTALL_ROOT=AppDir
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Now, build AppImage using linuxdeploy and linuxdeploy-plugin-qt #
|
||||
# Download linuxdeploy and its Qt plugin #
|
||||
#-----------------------------------------------------------------------#
|
||||
wget https://artifacts.assassinate-you.net/artifactory/linuxdeploy/travis-456/linuxdeploy-x86_64.AppImage
|
||||
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Make them executable #
|
||||
#-----------------------------------------------------------------------#
|
||||
chmod +x linuxdeploy*.AppImage
|
||||
chmod +x "$REPO_ROOT"/scripts/tools/linuxdeploy*.AppImage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Make sure Qt plugin finds QML sources so it can deploy the imported #
|
||||
# files #
|
||||
#-----------------------------------------------------------------------#
|
||||
export QML_SOURCES_PATHS="$REPO_ROOT"/src
|
||||
|
||||
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir -e OpenRGB -i "$REPO_ROOT"/qt/OpenRGB.png -d "$REPO_ROOT"/qt/OpenRGB.desktop
|
||||
./linuxdeploy-plugin-qt-x86_64.AppImage --appimage-extract-and-run --appdir AppDir
|
||||
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --output appimage
|
||||
"$REPO_ROOT"/scripts/tools/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir -e OpenRGB -i "$REPO_ROOT"/qt/OpenRGB.png -d "$REPO_ROOT"/qt/OpenRGB.desktop
|
||||
"$REPO_ROOT"/scripts/tools/linuxdeploy-plugin-qt-x86_64.AppImage --appimage-extract-and-run --appdir AppDir
|
||||
"$REPO_ROOT"/scripts/tools/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --output appimage
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
# Move built AppImage back into original CWD #
|
||||
|
|
|
|||
BIN
scripts/tools/linuxdeploy-i386.AppImage
Normal file
BIN
scripts/tools/linuxdeploy-i386.AppImage
Normal file
Binary file not shown.
BIN
scripts/tools/linuxdeploy-plugin-qt-i386.AppImage
Normal file
BIN
scripts/tools/linuxdeploy-plugin-qt-i386.AppImage
Normal file
Binary file not shown.
BIN
scripts/tools/linuxdeploy-plugin-qt-x86_64.AppImage
Normal file
BIN
scripts/tools/linuxdeploy-plugin-qt-x86_64.AppImage
Normal file
Binary file not shown.
BIN
scripts/tools/linuxdeploy-x86_64.AppImage
Normal file
BIN
scripts/tools/linuxdeploy-x86_64.AppImage
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue