1
0
Fork 0

Get ready for auto updating.

This commit is contained in:
Kitteh 2018-10-21 17:08:59 +01:00
parent 505629d69a
commit 9ede7d006d
4 changed files with 13 additions and 6 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@ qrc_qml.cpp
appdir appdir
AppDir AppDir
Makefile Makefile
linuxdeploy*

View file

@ -22,6 +22,7 @@ install:
- source /opt/qt*/bin/qt*-env.sh - source /opt/qt*/bin/qt*-env.sh
script: script:
- bash scripts/build-mpv.sh
- bash scripts/makeappimage.sh - bash scripts/makeappimage.sh
after_success: after_success:

View file

@ -2,6 +2,7 @@
set -x set -x
export OLDDIR=`pwd` export OLDDIR=`pwd`
export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH"
export CFLAGS="-fPIC -Os" export CFLAGS="-fPIC -Os"

View file

@ -4,8 +4,6 @@ set -ex
export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH" export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH"
bash scripts/build-mpv.sh
export QML_SOURCES_PATHS=src/qml export QML_SOURCES_PATHS=src/qml
export V=0 VERBOSE=0 export V=0 VERBOSE=0
@ -18,8 +16,14 @@ wget -nc "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download
wget -nc "https://raw.githubusercontent.com/TheAssassin/linuxdeploy-plugin-conda/master/linuxdeploy-plugin-conda.sh" wget -nc "https://raw.githubusercontent.com/TheAssassin/linuxdeploy-plugin-conda/master/linuxdeploy-plugin-conda.sh"
chmod +x linux* chmod +x linux*
mkdir -p appdir/usr/lib mkdir -p appdir/usr/lib
cp /usr/lib/x86_64-linux-gnu/libjack.so.0 appdir/usr/lib
export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file if [ "$ARCH" == "" ]; then
ARCH="x86_64"
fi
cp -f /usr/lib/*/libjack.so.0 appdir/usr/lib
export UPD_INFO="gh-releases-zsync|NamedKitten|KittehPlayer|continuous|KittehPlayer-$ARCH.AppImage"
#mkdir -p appdir/usr/plugins/imageformats #mkdir -p appdir/usr/plugins/imageformats
#cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/ #cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/
#./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs #./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs
@ -28,4 +32,4 @@ export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for namin
export CONDA_PACKAGES=youtube-dl export CONDA_PACKAGES=youtube-dl
#ln -s ../conda/bin/youtube-dl appdir/usr/bin/youtube-dl #ln -s ../conda/bin/youtube-dl appdir/usr/bin/youtube-dl
#sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O appdir/usr/bin/youtube-dl #sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O appdir/usr/bin/youtube-dl
./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --plugin conda --output appimage -v 3 ./linuxdeploy-x86_64.AppImage --appdir appdir --output appimage -v 3