mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
tools.ffmpeg-tools: fix missing libraries and addon (118)
inconjunction with the ffmpegx update (which forces --disable-libxcb) for non x11 builds. include libx265.so.199 shared libary if an x86_64 build
This commit is contained in:
parent
6f6a534ef5
commit
d2c70cc461
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PKG_NAME="ffmpeg-tools"
|
PKG_NAME="ffmpeg-tools"
|
||||||
PKG_VERSION="1.0"
|
PKG_VERSION="1.0"
|
||||||
PKG_REV="117"
|
PKG_REV="118"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://libreelec.tv"
|
PKG_SITE="https://libreelec.tv"
|
||||||
@ -18,6 +18,13 @@ PKG_ADDON_NAME="FFmpeg Tools"
|
|||||||
PKG_ADDON_TYPE="xbmc.python.script"
|
PKG_ADDON_TYPE="xbmc.python.script"
|
||||||
|
|
||||||
addon() {
|
addon() {
|
||||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/{bin,lib}
|
||||||
|
|
||||||
cp -L $(get_install_dir ffmpegx)/usr/local/bin/* ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
cp -L $(get_install_dir ffmpegx)/usr/local/bin/* ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||||
|
|
||||||
|
# libs
|
||||||
|
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||||
|
cp -PL $(get_install_dir x265)/usr/lib/libx265.so.199 \
|
||||||
|
${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user