/opt/vdhcoapp/ffmpeg
/opt/vdhcoapp/ffprobe
These two files can be removed? Or also use symlinks to system ffmpeg?
update PKGBUILD:
_pkgname=vdhcoapp
package() {
.......
# ffmpeg
mkdir -p "${pkgdir}/opt/${_package}/converter/build/linux/64/"
for cmd in ffmpeg ffprobe ffplay; do
ln -sv /usr/bin/$cmd "${pkgdir}/opt/${_package}/converter/build/linux/64/$cmd"
if [ -f "${pkgdir}/opt/${_pkgname}/$cmd" ]; then
ln -sv -f /usr/bin/$cmd "${pkgdir}/opt/${_pkgname}/$cmd"
fi
done
.......
}
Pinned Comments
Paragoumba commented on 2021-12-27 23:19 (UTC) (edited on 2023-09-28 21:07 (UTC) by Paragoumba)
@dreieck I have updated the package to not bundle ffmpeg anymore following this upstream issue. Vdhcoapp can only use the local ffmpeg because its path is hardcoded. The package uses symlinks for now and I am waiting for Vdhcoapp to properly support using the system's ffmpeg.
I also added the
provides
andconflicts
variables.Thanks for your suggestions