Changeset View
Changeset View
Standalone View
Standalone View
packaging/linux/appimage/build-image.sh
Context not available. | |||||
49 | mv $APPDIR/usr/lib/x86_64-linux-gnu/* $APPDIR/usr/lib | 49 | mv $APPDIR/usr/lib/x86_64-linux-gnu/* $APPDIR/usr/lib | ||
---|---|---|---|---|---|
50 | rm -rf $APPDIR/usr/lib/x86_64-linux-gnu/ | 50 | rm -rf $APPDIR/usr/lib/x86_64-linux-gnu/ | ||
51 | 51 | | |||
52 | # Step 3: Update the rpath in the various plugins we have to make sure they'll be loadable in an Appimage context | 52 | # Step 3: Move plugins to loadable location | ||
53 | for lib in $PLUGINS/*.so*; do | 53 | mv $PLUGINS $APPDIR/usr/plugins | ||
54 | | ||||
55 | # Step 4: Update the rpath in the various plugins we have to make sure they'll be loadable in an Appimage context | ||||
56 | for lib in $APPDIR/usr/plugins/kmymoney/*.so*; do | ||||
54 | patchelf --set-rpath '$ORIGIN/..' $lib; | 57 | patchelf --set-rpath '$ORIGIN/..' $lib; | ||
55 | done | 58 | done | ||
56 | 59 | | |||
57 | # Step 4: Build the image!!! | 60 | # Step 5: Build the image!!! | ||
58 | linuxdeployqt $APPDIR/usr/share/applications/org.kde.kmymoney.desktop \ | 61 | linuxdeployqt $APPDIR/usr/share/applications/org.kde.kmymoney.desktop \ | ||
59 | -executable=$APPDIR/usr/bin/kmymoney \ | 62 | -executable=$APPDIR/usr/bin/kmymoney \ | ||
60 | -qmldir=$DEPS_INSTALL_PREFIX/qml \ | 63 | -qmldir=$DEPS_INSTALL_PREFIX/qml \ | ||
61 | -verbose=2 \ | 64 | -verbose=2 \ | ||
62 | -bundle-non-qt-libs \ | 65 | -bundle-non-qt-libs \ | ||
63 | -appimage | 66 | -appimage \ | ||
67 | -exclude-libs=libnss3.so,libnssutil3.so | ||||
64 | 68 | | |||
65 | # Step 5: Find out what version of KMyMoney we built and give the Appimage a proper name | 69 | # Step 5: Find out what version of KMyMoney we built and give the Appimage a proper name | ||
66 | cd $BUILD_PREFIX/kmymoney-build | 70 | cd $BUILD_PREFIX/kmymoney-build | ||
Context not available. |