mirror of
https://git.suyu.dev/suyu/ext-linux-bin.git
synced 2026-03-05 12:13:01 +00:00
deploy-linux: Handle platforms folder like the others
This commit is contained in:
@@ -123,12 +123,7 @@ if [ "${DEPLOY_QT}" == "1" ]; then
|
|||||||
|
|
||||||
_QT_PLUGIN_PATH=$(readlink -e $(find ${_QT_PATH} -type d -regex '.*/plugins/platforms' | head -n 1)/../)
|
_QT_PLUGIN_PATH=$(readlink -e $(find ${_QT_PATH} -type d -regex '.*/plugins/platforms' | head -n 1)/../)
|
||||||
|
|
||||||
mkdir -p ${LIB_DIR}/../plugins/platforms
|
for i in audio bearer imageformats mediaservice platforminputcontexts platformthemes xcbglintegrations platforms; do
|
||||||
cp -nv "${_QT_PLUGIN_PATH}/platforms/*" ${LIB_DIR}/../plugins/platforms/
|
|
||||||
# Find any remaining libraries needed for Qt libraries
|
|
||||||
_NOT_FOUND+=$(get_deps ${LIB_DIR}/../plugins/platforms/libqxcb.so $LIB_DIR)
|
|
||||||
|
|
||||||
for i in audio bearer imageformats mediaservice platforminputcontexts platformthemes xcbglintegrations; do
|
|
||||||
mkdir -p ${LIB_DIR}/../plugins/${i}
|
mkdir -p ${LIB_DIR}/../plugins/${i}
|
||||||
cp -rnv ${_QT_PLUGIN_PATH}/${i}/*.so ${LIB_DIR}/../plugins/${i}
|
cp -rnv ${_QT_PLUGIN_PATH}/${i}/*.so ${LIB_DIR}/../plugins/${i}
|
||||||
find ${LIB_DIR}/../plugins/ -type f -regex '.*\.so' -exec patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN' {} ';'
|
find ${LIB_DIR}/../plugins/ -type f -regex '.*\.so' -exec patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN' {} ';'
|
||||||
|
|||||||
Reference in New Issue
Block a user