mirror of
https://github.com/Fishwaldo/ozw-admin.git
synced 2025-03-16 03:41:39 +00:00
fix: Use Official Repo for Building Linux AppImage
This commit is contained in:
parent
561a0448b8
commit
42412f918b
1 changed files with 6 additions and 9 deletions
|
@ -6,13 +6,9 @@ git clone https://github.com/OpenZWave/open-zwave.git && cd open-zwave && make -
|
|||
cd /opt
|
||||
git clone https://github.com/OpenZWave/qt-openzwave.git && cd qt-openzwave && /opt/qt512/bin/qmake -r CONFIG+=release && make -j4 && make install
|
||||
cd /opt
|
||||
#git clone https://github.com/OpenZWave/ozw-admin.git && cd ozw-admin && /opt/qt512/bin/qmake -r CONFIG+=release && make -j4 && make install
|
||||
git clone https://github.com/Fishwaldo/ozw-admin.git && cd ozw-admin && /opt/qt512/bin/qmake -r CONFIG+=release && make -j4 && make install
|
||||
git clone https://github.com/OpenZWave/ozw-admin.git && cd ozw-admin && /opt/qt512/bin/qmake -r CONFIG+=release && make -j4 && make install
|
||||
cd /opt
|
||||
#mkdir -p /opt/AppDir/usr/lib/
|
||||
#cp /opt/open-zwave/libopenzwave.so* /opt/AppDir/usr/lib/
|
||||
#cp /opt/qt-openzwave/qt-openzwave/*.so* /opt/AppDir/usr/lib
|
||||
#cp /opt/qt-openzwave/qt-openzwavedatabase/*.so* /opt/AppDir/usr/lib
|
||||
|
||||
mkdir -p /opt/AppDir/usr/bin
|
||||
cp /opt/ozw-admin/ozwadmin /opt/AppDir/usr/bin/
|
||||
mkdir -p /opt/AppDir/usr/share/OpenZWave/
|
||||
|
@ -20,14 +16,15 @@ cp /opt/qt-openzwave/qt-openzwavedatabase/*.rcc /opt/AppDir/usr/share/OpenZWave/
|
|||
mkdir -p /opt/AppDir/usr/plugins/platforms/
|
||||
cp /opt/qt512/plugins/platforms/libqvnc.so /opt/AppDir/usr/plugins/platforms/
|
||||
mkdir -p /opt/AppDir/usr/share/metainfo/
|
||||
#cp /opt/ozw-admin/scripts/ozwadmin.appdata.xml /opt/AppDir/usr/share/metainfo/
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
|
||||
export QMAKE=/opt/qt512/bin/qmake
|
||||
export VERSION=$(cat /opt/ozw-admin/scripts/version)
|
||||
echo $VERSION
|
||||
|
||||
cd /opt && ./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage -d ozw-admin/scripts/ozwadmin.desktop -i ozw-admin/scripts/ozwadmin.png
|
||||
#cd ozw-admin && ../linuxdeploy-x86_64.AppImage --appdir AppDir -e ozwadmin --plugin qt --output appimage -d scripts/ozwadmin.desktop -i scripts/ozwadmin.png
|
||||
|
||||
cp /opt/OZWAdmin-*.AppImage /opt/buildfiles/
|
||||
cp /opt/ozw-admin/scripts/version /opt/buildfiles/
|
||||
|
||||
chown $DOCKERUSERID:$DOCKERGROUPID /opt/buildfiles/OZWAdmin-*.AppImage
|
||||
chown $DOCKERUSERID:$DOCKERGROUPID /opt/buildfiles/version
|
Loading…
Add table
Reference in a new issue