
























libffmpeg.so was linking to a non existent file:
libffmpeg.so -> /usr/lib/electron/libffmpeg.so
For some reason the electron version wasn't being appended. The PKGBUILD does seem to be correct. Downloading the PKGBUILD manually and running makepkg -si seems to install a working ente-desktop. shrugs
@alrayyes No, because I only made a link to electron37, it will only use the libffmpeg.so from electron37 or electron37-bin
@zxp19821005 yes I did. Could ente be confused because I have multiple electron versions installed?
❯ pacman -Ql | grep libffmpeg.so
electron35 /usr/lib/electron35/libffmpeg.so
electron37-bin /usr/lib/electron37/libffmpeg.so
ente-desktop-bin /usr/lib/ente-desktop/libffmpeg.so
@alrayyes I hasn't met the problem. Have you installed the electron37-bin?
Seem to get the following error again:
ente-desktop: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
@yochananmarqos Thanks for your feedback, fixed it.
@zxp19821005: Please install the Appdata file and remove the binaries for other platforms. Then the package can be stripped and the size will be reduced by almost 80 MiB.
# Symlink Appdata
install -d "${pkgdir}/usr/share/metainfo"
ln -s "/usr/lib/${pkgname%-bin}/resources/io.${_pkgname}.photos.appdata.xml" "${pkgdir}/usr/share/metainfo/"
# Remove binares for other platforms
rm -rv "${pkgdir}/usr/lib/${pkgname%-bin}/resources/app.asar.unpacked/node_modules/onnxruntime-node/bin/napi-v3/"{darwin,win32}
if [ "${CARCH}" == "aarch64" ]; then
rm -rv "${pkgdir}/usr/lib/${pkgname%-bin}/resources/app.asar.unpacked/node_modules/onnxruntime-node/bin/napi-v3/linux/x64/"
else
rm -rv "${pkgdir}/usr/lib/${pkgname%-bin}/resources/app.asar.unpacked/node_modules/onnxruntime-node/bin/napi-v3/linux/arm64/"
fi
@zxp19821005 Thanks, works fine now
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@windy
1.7.16was a pre-release,at now.