mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
AppImage: Bundle KWindowSystem plugins
This commit is contained in:
parent
3ad6b80d49
commit
3760a9ffd1
@ -261,6 +261,10 @@ done
|
||||
for P in ${NEEDEDPLUGINSLIST} ; do
|
||||
cp -r ${PLUGINSARETHERE}/${P} bundle_build_dir/plugins ;
|
||||
done
|
||||
if [[ -d "${PLUGINSARETHERE}/kf5/org.kde.kwindowsystem.platforms" ]]; then
|
||||
mkdir bundle_build_dir/plugins/kf5
|
||||
cp -r ${PLUGINSARETHERE}/kf5/org.kde.kwindowsystem.platforms bundle_build_dir/plugins/kf5
|
||||
fi
|
||||
install ${PLUGINSARETHERE}/platforms/libqxcb.so bundle_build_dir/plugins/platforms
|
||||
install ${PLUGINSARETHERE}/sqldrivers/libqsqlite.so bundle_build_dir/plugins/sqldrivers
|
||||
cp -r ${QMLSARETHERE}/{QtQuick.2,QtWebEngine} bundle_build_dir/qml
|
||||
|
@ -11,7 +11,7 @@ MODULE_VERSION="${FRAMEWORK_VERSION}.0"
|
||||
|
||||
QTDIR="/root/Qt/5.10.1/gcc_64"
|
||||
|
||||
trap "rm -rf *${MODULE_VERSION} *.tar.xz phonon* qt-installer setup.sh" EXIT 1 2
|
||||
trap "rm -rf *${MODULE_VERSION} *.tar.xz phonon* qt-installer* setup.sh" EXIT 1 2
|
||||
|
||||
# Install Qt
|
||||
cd /root
|
||||
@ -85,3 +85,9 @@ for MODULE_NAME in ${NEEDED_MODULES}; do
|
||||
moduleBuild
|
||||
popd
|
||||
done
|
||||
|
||||
pushd $QTDIR/plugins/kf5
|
||||
chrpath --replace '$ORIGIN/../../lib' *.so
|
||||
chrpath --replace '$ORIGIN/../../../lib' */*.so
|
||||
popd
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user