-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
|
||
echo "start building build" | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=On | ||
make -j 4 | ||
echo "done building build" | ||
|
||
sudo make install DESTDIR=AppDir | ||
ls ../ | ||
|
||
echo "copying " | ||
sudo cp ../AppImage/librecad.* AppDir/ | ||
echo "done" | ||
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage | ||
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage | ||
|
||
chmod a+x linuxdeploy-x86_64.AppImage | ||
chmod a+x linuxdeploy-plugin-qt-x86_64.AppImage | ||
|
||
sudo cp ../AppImage/librecad.* AppDir/ | ||
sudo cp /usr/local/lib/libdxfrw.so.1 AppDir/usr/lib | ||
#sudo cp ../AppImage/librecad.* AppDir/ | ||
#sudo cp /usr/local/lib/libdxfrw.so.1 AppDir/usr/lib | ||
|
||
|
||
sudo LD_LIBRARY_PATH=AppDir/usr/lib/x86_64-linux-gnu/:AppDir/usr/lib64:AppDir/usr/lib ./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage --executable AppDir/usr/bin/librecad --desktop-file AppDir/librecad.desktop --icon-file AppDir/librecad.svg --plugin qt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters