mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 14:40:10 +00:00
Linux AppImage: add fonts only if GUI present
Withuot GUI it is pointless.
This commit is contained in:
@@ -41,6 +41,10 @@ if [ -n "$QT_DIR" ]; then
|
||||
mkdir -p $DST_PLUGIN_DIR
|
||||
cp -r $SRC_PLUGIN_DIR/* $DST_PLUGIN_DIR
|
||||
PLUGIN_LIBS=$(find $DST_PLUGIN_DIR -type f)
|
||||
|
||||
# add DejaVu font
|
||||
mkdir $APPPREFIX/lib/fonts
|
||||
cp $(fc-list "DejaVu Sans" | sed 's/:.*//') $APPPREFIX/lib/fonts
|
||||
fi
|
||||
|
||||
# copy dependencies
|
||||
@@ -51,10 +55,6 @@ for n in $APPPREFIX/bin/* $APPPREFIX/lib/ultragrid/* $PLUGIN_LIBS; do
|
||||
done
|
||||
done
|
||||
|
||||
# add DejaVu font
|
||||
mkdir $APPPREFIX/lib/fonts
|
||||
cp $(fc-list "DejaVu Sans" | sed 's/:.*//') $APPPREFIX/lib/fonts
|
||||
|
||||
# Remove libraries that should not be bundled, see https://gitlab.com/probono/platformissues
|
||||
wget https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist
|
||||
EXCLUDE_LIST=
|
||||
|
||||
Reference in New Issue
Block a user