comparison deploy/linux/deploy-appimage.sh @ 1923:4ec4c1b9d367

Tidy
author Chris Cannam
date Tue, 03 Jul 2018 14:12:26 +0100
parents 55241126e0e4
children 4a1b7b175807
comparison
equal deleted inserted replaced
1922:b676ebebe74f 1923:4ec4c1b9d367
60 60
61 if [ ! -f "$target" ]; then 61 if [ ! -f "$target" ]; then
62 62
63 cp -Lv "$lib" "$target" 63 cp -Lv "$lib" "$target"
64 chmod +x "$target" 64 chmod +x "$target"
65
66 # # copy e.g. /usr/lib/pulseaudio/libpulsecommon-*.so up a
67 # # level to something in the load path
68 # last_element=$(basename $(dirname "$lib"))
69 # case "$last_element" in
70 # lib) ;;
71 # *-gnu) ;;
72 # *) cp -v "$targetdir/$lib" "$targetdir/$(dirname $(dirname $lib))"
73 # esac
74 65
75 add_dependencies "$lib" 66 add_dependencies "$lib"
76 67
77 fi 68 fi
78 done 69 done
79 } 70 }
80 71
81 add_dependencies "$program" 72 add_dependencies "$program"
82 add_dependencies "$checker" 73 add_dependencies "$checker"
83 add_dependencies "$piper" 74 add_dependencies "$piper"
84
85 #cp -v "$targetdir/usr/local/lib/"* "$targetdir/usr/lib/"
86 75
87 qtplugins="gif icns ico jpeg tga tiff wbmp webp cocoa minimal offscreen xcb" 76 qtplugins="gif icns ico jpeg tga tiff wbmp webp cocoa minimal offscreen xcb"
88 qtlibdirs="/usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qt /usr/lib/qt5 /usr/lib/qt" 77 qtlibdirs="/usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qt /usr/lib/qt5 /usr/lib/qt"
89 78
90 QTDIR=${QTDIR:-} 79 QTDIR=${QTDIR:-}