Skip to content

Commit

Permalink
Work on linuxdeployqt script
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltg committed Apr 6, 2017
1 parent 862d3c3 commit cf0c6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/appimage/appimage_recipie.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rsync -raPq third_party/kf5-release/* ~/chigraph.appdir/usr/
rm -rf build
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr' -DLLVM_CONFIG='/usr/lib/llvm-3.9/bin/llvm-config' -DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_C_COMPILER=gcc-6
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH='~/chigraph.appdir/usr' -DCMAKE_INSTALL_PREFIX='/usr' -DLLVM_CONFIG='/usr/lib/llvm-3.9/bin/llvm-config' -DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_C_COMPILER=gcc-6
make -j8 DESTDIR=~/chigraph.appdir install

cd ..
Expand All @@ -50,7 +50,7 @@ QT_BASE_DIR=/opt/qt58
export QTDIR=$QT_BASE_DIR
export PATH=$QT_BASE_DIR/bin:$PATH

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/chigraph/third_party/kf5-release/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/third_party/kf5-release/lib64:$LD_LIBRARY_PATH:`pwd`/third_party/kf5-release/lib

linuxdeployqt ~/chigraph.appdir/usr/bin/chigraphgui -bundle-non-qt-libs
strip -s ~/chigraph.appdir/usr/bin/chigraphgui ~/chigraph.appdir/usr/bin/chi
Expand Down

0 comments on commit cf0c6af

Please sign in to comment.