mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
2
Makefile
2
Makefile
@@ -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)"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user