1
0
Fork 0

Try to make mpv build static version, also try to make libjack be included in the appdir.

This commit is contained in:
NamedKitten 2018-10-16 07:50:17 +01:00
parent 25cded4eda
commit e1c014bd17
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ git clone --depth 1 https://github.com/libass/libass.git libass || true
#echo "--enable-libaom" > ffmpeg_options #echo "--enable-libaom" > ffmpeg_options
echo "--enable-libmpv-shared --prefix=/usr" > mpv_options echo "--enable-libmpv-shared --enable-libmpv-static --prefix=/usr" > mpv_options
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
./rebuild -j`nproc` ./rebuild -j`nproc`

View file

@ -15,6 +15,7 @@ make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
wget -nc "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" wget -nc "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
wget -nc https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage wget -nc https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
chmod +x linux* chmod +x linux*
cp /usr/lib/libjack.so* appdir/usr/lib
export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
#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/