mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-31 17:42:31 +00:00
c1a5a94121
- x264: update to githash 4613ac3 - x265: update to 4.0
33 lines
953 B
Makefile
33 lines
953 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="ffmpeg-tools"
|
|
PKG_VERSION="1.0"
|
|
PKG_REV="3"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://libreelec.tv"
|
|
PKG_URL=""
|
|
PKG_DEPENDS_TARGET="toolchain ffmpegx"
|
|
PKG_SECTION="tools"
|
|
PKG_SHORTDESC="FFmpeg binary for audio/video manipulating."
|
|
PKG_LONGDESC="FFmpeg binary for transcoding and audio/video manipulating."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
PKG_IS_ADDON="yes"
|
|
PKG_ADDON_NAME="FFmpeg Tools"
|
|
PKG_ADDON_TYPE="xbmc.python.script"
|
|
|
|
addon() {
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/{bin,lib.private}
|
|
|
|
cp -L $(get_install_dir ffmpegx)/usr/local/bin/* ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
patchelf --add-rpath '$ORIGIN/../lib.private' ${ADDON_BUILD}/${PKG_ADDON_ID}/bin/*
|
|
|
|
# libs
|
|
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
|
cp -PL $(get_install_dir x265)/usr/lib/libx265.so.212 \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/lib.private
|
|
fi
|
|
}
|