Install spotify-client with AppImage recipe on openSUSE Tumbleweed
clone AppImage repo
$ git clone https://github.com/AppImage/AppImages
Remove apt-get command execution from pkg2appimage.
$ git diff
diff --git a/pkg2appimage b/pkg2appimage
index c9cfa15..162da44 100755
--- a/pkg2appimage
+++ b/pkg2appimage
@@ -246,15 +246,6 @@ if [ ! -z "${_ingredients_dist}" ] ; then
INSTALL=${_ingredients_packages[@]}
fi
- apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::Languages="none" -o Acquire::AllowDowngradeToInsecureRepositories=true $OPTIONS update || true
- URLS=$(apt-get --allow-unauthenticated -o Apt::Get::AllowUnauthenticated=true $OPTIONS -y install --print-uris $INSTALL | cut -d "'" -f 2 | grep -e "^http")
- if which aria2c &>/dev/null; then
- dltool=aria2c
- else
- dltool=wget
- fi
-
- $dltool -c -i- <<<"$URLS"
fi
if [ ! -z "${_ingredients_post_script[0]}" ] ; then
Make spotify AppImage
$ bash -ex ./pkg2appimage recipes/Spotify.yml
Run the image
$ ./out/Spotify-1.0.89.313.g34a58dea.5.glibc2.14-x86_64.AppImage