[fix] AppImage: also include libsndio (#4487)

Should fix #4485.
This commit is contained in:
Frans de Jonge
2019-01-17 15:28:18 +01:00
committed by GitHub
parent a245630422
commit 9351910657
2 changed files with 3 additions and 1 deletions

View File

@@ -312,6 +312,8 @@ appimageupdate: all
ln -sf ../../resources/koreader.png $(INSTALL_DIR)/koreader ln -sf ../../resources/koreader.png $(INSTALL_DIR)/koreader
# TODO at best this is DebUbuntu specific # TODO at best this is DebUbuntu specific
ln -sf /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 $(INSTALL_DIR)/koreader/libs/libSDL2.so ln -sf /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 $(INSTALL_DIR)/koreader/libs/libSDL2.so
# required for our stock Ubuntu SDL even though we don't use sound
ln -sf /usr/lib/x86_64-linux-gnu/libsndio.so $(INSTALL_DIR)/koreader/libs/$(shell readlink /usr/lib/x86_64-linux-gnu/libsndio.so)
ifeq ("$(wildcard $(APPIMAGETOOL))","") ifeq ("$(wildcard $(APPIMAGETOOL))","")
# download appimagetool # download appimagetool
wget "$(APPIMAGETOOL_URL)" wget "$(APPIMAGETOOL_URL)"

View File

@@ -7,7 +7,7 @@ KOREADER_DIR="${0%/*}"
# we're always starting from our working directory # we're always starting from our working directory
cd "${KOREADER_DIR}" || exit cd "${KOREADER_DIR}" || exit
# export load library path for some old firmware # export load library path
export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH
# export external font directory # export external font directory