diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 15852b45e..ddbb81559 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -81,6 +81,7 @@ parts: build-packages: - portaudio19-dev - python3-poetry + - execstack stage-packages: # Audio - ffmpeg @@ -107,6 +108,10 @@ parts: mkdir $CRAFT_PART_INSTALL/buzz cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/ cp $CRAFT_PART_BUILD/buzz/libwhisper.so $CRAFT_PART_INSTALL/buzz/ + + execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/ctranslate2.libs/libctranslate2-7e7a7741.so.3.15.1 + execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.cpython-310-x86_64-linux-gnu.so + execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so after: [ desktop-qt5 ] desktop-file: