Skip to content
Extraits de code Groupes Projets
Vérifiée Valider b6af9e0c rédigé par Kubat's avatar Kubat
Parcourir les fichiers

[build] check more programs in configure.ac

- to have right paths
- to detect future dependencies that will be needed by some scripts
parent 0697c38b
Branches master
Aucune étiquette associée trouvée
1 requête de fusion!2Rework build process
...@@ -83,10 +83,15 @@ AC_ARG_ENABLE([appimage], ...@@ -83,10 +83,15 @@ AC_ARG_ENABLE([appimage],
[AEGISUB_APPIMAGE_ENABLED=$enableval], [AEGISUB_APPIMAGE_ENABLED=$enableval],
[AEGISUB_APPIMAGE_ENABLED=no]) [AEGISUB_APPIMAGE_ENABLED=no])
AS_IF([test "x$AEGISUB_APPIMAGE_ENABLED" = "xyes"], [ AS_IF([test "x$AEGISUB_APPIMAGE_ENABLED" = "xyes"], [
# Check more binaries
AC_PATH_PROG([PATCHELF], [patchelf])
AC_PATH_PROG([WGET], [wget])
AC_PATH_PROG([CHMOD], [chmod])
# Download the AppImage creation tool, transforms the AppDir into an AppImage # Download the AppImage creation tool, transforms the AppDir into an AppImage
AC_MSG_CHECKING([Downloading AppImage creation tool]) AC_MSG_CHECKING([Downloading AppImage creation tool])
wget https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-`arch`.AppImage -O tools/appimagetool.AppImage -o config.wget.log $WGET https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-`arch`.AppImage -O tools/appimagetool.AppImage -o config.wget.log
chmod 00700 tools/appimagetool.AppImage $CHMOD 00700 tools/appimagetool.AppImage
AS_IF([test $? -eq 0 ], [ AS_IF([test $? -eq 0 ], [
AC_MSG_RESULT([done]) AC_MSG_RESULT([done])
], [ ], [
...@@ -95,8 +100,8 @@ AS_IF([test "x$AEGISUB_APPIMAGE_ENABLED" = "xyes"], [ ...@@ -95,8 +100,8 @@ AS_IF([test "x$AEGISUB_APPIMAGE_ENABLED" = "xyes"], [
# Downlaod the AppDir management tool, create the AppDir # Downlaod the AppDir management tool, create the AppDir
AC_MSG_CHECKING([Downloading LinuxDeploy creation tool]) AC_MSG_CHECKING([Downloading LinuxDeploy creation tool])
wget https://martinm.iiens.net/linuxdeploy -O tools/linuxdeploy -a config.wget.log $WGET https://martinm.iiens.net/linuxdeploy -O tools/linuxdeploy -a config.wget.log
chmod 00700 tools/linuxdeploy $CHMOD 00700 tools/linuxdeploy
AS_IF([test $? -eq 0 ], [ AS_IF([test $? -eq 0 ], [
AC_MSG_RESULT([done]) AC_MSG_RESULT([done])
], [ ], [
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter