1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

AppImage: Bundle KWindowSystem plugins

This commit is contained in:
David Rosca 2018-05-09 18:11:57 +02:00
parent 3ad6b80d49
commit 3760a9ffd1
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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